minor changes
This commit is contained in:
@@ -31,7 +31,7 @@ My patch takes advantage of this result caching behavior by setting the "hasn't
|
|||||||
|
|
||||||
### Several improvements over my script-based approach:
|
### Several improvements over my script-based approach:
|
||||||
- **No system files are modified!**
|
- **No system files are modified!**
|
||||||
- Heuristic byte signature patching persists over new updates.
|
- Heuristic-based patching, which means it will usually keep working even after updates.
|
||||||
- C is best language.
|
- C is best language.
|
||||||
- No external dependencies except for Microsoft Visual C++ 2015 Redistributable.
|
- No external dependencies except for Microsoft Visual C++ 2015 Redistributable.
|
||||||
|
|
||||||
@@ -45,4 +45,4 @@ To temporarily disable the patch, just go to the Task Scheduler and disable the
|
|||||||
|
|
||||||
### How do I remove your old patch and use this instead?
|
### How do I remove your old patch and use this instead?
|
||||||
|
|
||||||
I've included a utility script called `repair_wuaueng.dll.bat` that will initiate an sfc scan and attempt to automatically revert any changes made to `wuaueng.dll`.
|
I've included a utility script called `repair_wuaueng.dll.bat` that will initiate an sfc scan and revert any changes made to `wuaueng.dll`.
|
||||||
|
@@ -15,7 +15,7 @@ title wufuc installer - v0.6
|
|||||||
:: You should have received a copy of the GNU General Public License
|
:: You should have received a copy of the GNU General Public License
|
||||||
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
|
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
echo Copyright (C) 2017 zeffy
|
echo Copyright ^(C^) 2017 zeffy
|
||||||
echo This program comes with ABSOLUTELY NO WARRANTY.
|
echo This program comes with ABSOLUTELY NO WARRANTY.
|
||||||
echo This is free software, and you are welcome to redistribute it
|
echo This is free software, and you are welcome to redistribute it
|
||||||
echo under certain conditions; see COPYING.txt for details.
|
echo under certain conditions; see COPYING.txt for details.
|
||||||
@@ -76,7 +76,7 @@ goto :die
|
|||||||
for %%a in (%SUPPORTED_HOTFIXES%) do (
|
for %%a in (%SUPPORTED_HOTFIXES%) do (
|
||||||
wmic /output:stdout qfe get hotfixid | find "%%a" >nul && (
|
wmic /output:stdout qfe get hotfixid | find "%%a" >nul && (
|
||||||
set "INSTALLED_HOTFIX=%%a"
|
set "INSTALLED_HOTFIX=%%a"
|
||||||
echo Detected installed supported update: %%a
|
echo Detected supported installed update: %%a
|
||||||
goto :confirmation
|
goto :confirmation
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@@ -84,8 +84,15 @@ for %%a in (%SUPPORTED_HOTFIXES%) do (
|
|||||||
echo.
|
echo.
|
||||||
echo WARNING - Detected that no supported updates are installed!
|
echo WARNING - Detected that no supported updates are installed!
|
||||||
echo.
|
echo.
|
||||||
echo This can be a false warning, if you are certain that need wufuc then you
|
echo This can be a false warning, sometimes it is caused by the WMI
|
||||||
echo can continue (there will be no side effects even if you don't need it)
|
echo Win32_QuickFixEngineering class being broken. If you are certain
|
||||||
|
echo that you need wufuc, then you can continue ^(there should be no
|
||||||
|
echo side effects even if you don't need it^).
|
||||||
|
echo.
|
||||||
|
echo This warning could also mean that a new update came out and the
|
||||||
|
echo installer script's list of updates hasn't been updated yet. If
|
||||||
|
echo this is the case and you know which update it is, feel free to
|
||||||
|
echo create an issue. https://github.com/zeffy/wufuc/issues
|
||||||
|
|
||||||
set /p CONTINUE=Enter 'Y' if you still want to continue:
|
set /p CONTINUE=Enter 'Y' if you still want to continue:
|
||||||
if /I not "%CONTINUE%"=="Y" goto :cancel
|
if /I not "%CONTINUE%"=="Y" goto :cancel
|
||||||
@@ -123,7 +130,9 @@ rundll32 "%wufuc_dll%",Rundll32Unload
|
|||||||
schtasks /Run /TN "%wufuc_task%"
|
schtasks /Run /TN "%wufuc_task%"
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo Installed and started wufuc!
|
echo Installed and started wufuc, you can now continue installing updates! :^)
|
||||||
|
echo.
|
||||||
|
echo To uninstall, run uninstall_wufuc.bat as administrator.
|
||||||
goto :die
|
goto :die
|
||||||
|
|
||||||
:die
|
:die
|
||||||
|
@@ -15,7 +15,7 @@ title install wufuc ^(repair wuaueng.dll^) - v0.6
|
|||||||
:: You should have received a copy of the GNU General Public License
|
:: You should have received a copy of the GNU General Public License
|
||||||
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
|
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
echo Copyright (C) 2017 zeffy
|
echo Copyright ^(C^) 2017 zeffy
|
||||||
echo This program comes with ABSOLUTELY NO WARRANTY.
|
echo This program comes with ABSOLUTELY NO WARRANTY.
|
||||||
echo This is free software, and you are welcome to redistribute it
|
echo This is free software, and you are welcome to redistribute it
|
||||||
echo under certain conditions; see COPYING.txt for details.
|
echo under certain conditions; see COPYING.txt for details.
|
||||||
|
@@ -15,7 +15,7 @@ title wufuc uninstaller - v0.6
|
|||||||
:: You should have received a copy of the GNU General Public License
|
:: You should have received a copy of the GNU General Public License
|
||||||
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
|
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
echo Copyright (C) 2017 zeffy
|
echo Copyright ^(C^) 2017 zeffy
|
||||||
echo This program comes with ABSOLUTELY NO WARRANTY.
|
echo This program comes with ABSOLUTELY NO WARRANTY.
|
||||||
echo This is free software, and you are welcome to redistribute it
|
echo This is free software, and you are welcome to redistribute it
|
||||||
echo under certain conditions; see COPYING.txt for details.
|
echo under certain conditions; see COPYING.txt for details.
|
||||||
@@ -56,7 +56,7 @@ rundll32 "%wufuc_dll%",Rundll32Unload
|
|||||||
schtasks /Delete /TN "%wufuc_task%" /F
|
schtasks /Delete /TN "%wufuc_task%" /F
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo Unloaded and uninstalled wufuc!
|
echo Unloaded and uninstalled wufuc. :^(
|
||||||
|
|
||||||
:die
|
:die
|
||||||
echo.
|
echo.
|
||||||
|
Binary file not shown.
Reference in New Issue
Block a user