migrate to advanced installer!
This commit is contained in:
26
README.md
26
README.md
@@ -39,7 +39,7 @@ If you are interested, you can read my original write up on discovering the CPU
|
||||
|
||||
## How it works
|
||||
|
||||
Basically, inside a file called `wuaueng.dll` there are two functions: [`IsDeviceServiceable(void)`](https://gist.github.com/zeffy/e5ec266952932bc905eb0cbc6ed72185) and [`IsCPUSupported(void)`](https://gist.github.com/zeffy/1a8f8984d2bec97ae24af63a76278694). `IsDeviceServiceable(void)` is essentially a wrapper around `IsCPUSupported(void)` that caches the result it receives and recycles it on subsequent calls.
|
||||
Basically, inside a file called `wuaueng.dll` there are two functions: [`IsDeviceServiceable(void)`](https://gist.github.com/zeffy/e5ec266952932bc905eb0cbc6ed72185) and [`IsCPUSupported(void)`](https://gist.github.com/zeffy/1a8f8984d2bec97ae24af63a76278694). `IsDeviceServiceable(void)` is essentially a wrapper around `IsCPUSupported(void)` that caches the result it receives and recycles it on subsequent calls.
|
||||
|
||||
My patch takes advantage of this result caching behavior by setting the "first run" value to `FALSE` and the cached result to `TRUE`.
|
||||
|
||||
@@ -51,26 +51,6 @@ My patch takes advantage of this result caching behavior by setting the "first r
|
||||
### Several improvements over my batchfile method:
|
||||
|
||||
- **No system files are modified!**
|
||||
- Heuristic-based patching, which means it will usually keep working even after new updates come out.
|
||||
- C is best language.
|
||||
- Heuristic-based patching, which means it will usually keep working even after new updates come out.
|
||||
- C is best language!
|
||||
- No external dependencies.
|
||||
|
||||
## Q & A
|
||||
|
||||
### How to install/uninstall?
|
||||
|
||||
Just download the [latest release](../../releases/latest), and extract the `wufuc` folder to a permanent location (like `C:\Program Files\wufuc`) and then run `install_wufuc.bat` as administrator.
|
||||
|
||||
To uninstall run `uninstall_wufuc.bat` as administrator.
|
||||
|
||||
### How to update when a new version comes out?
|
||||
|
||||
Unless otherwise noted, you should only have to:
|
||||
|
||||
- Run `uninstall_wufuc.bat` as administrator.
|
||||
- Copy the new files into the install folder, overwriting the old ones.
|
||||
- Run the new `install_wufuc.bat` as administrator.
|
||||
|
||||
### How do I remove your old patch and use this instead?
|
||||
|
||||
I've included a utility script called `repair_wuaueng.dll.bat`. When you run it, it will initiate an `sfc` scan and revert any changes made to `wuaueng.dll`.
|
||||
|
Reference in New Issue
Block a user