|
|
|
@ -148,6 +148,15 @@ goto :EOF |
|
|
|
|
:previous |
|
|
|
|
goto :loop |
|
|
|
|
|
|
|
|
|
:check |
|
|
|
|
IF %ADMIN% NEQ 1 goto later |
|
|
|
|
SET watext=%L_CHECKING_UPDATES% |
|
|
|
|
start /w %SystemDrive%\FWSUpdates\bin\wizapp.exe PB OPEN NOBACK NOCANCEL |
|
|
|
|
start /w %SystemDrive%\FWSUpdates\bin\wizapp.exe PB UPDATE 10 |
|
|
|
|
CALL %~dp0\sync.bat |
|
|
|
|
start /w %SystemDrive%\FWSUpdates\bin\wizapp.exe PB CLOSE |
|
|
|
|
goto begin |
|
|
|
|
|
|
|
|
|
:later |
|
|
|
|
reg del "HKLM\Software\FWS\Updates\User" /v RunOnShutdown /f 1>NUL 2>NUL |
|
|
|
|
IF %ADMIN% EQU 1 reg del "HKLM\Software\FWS\Updates" /v RunOnShutdown /f 1>NUL 2>NUL |
|
|
|
@ -176,13 +185,6 @@ SET watext=%L_UPDATES_FINISHED% |
|
|
|
|
start /w %SystemDrive%\FWSUpdates\bin\wizapp.exe FINISH NOBACK NOCANCEL TB |
|
|
|
|
goto :loop |
|
|
|
|
|
|
|
|
|
:check |
|
|
|
|
IF %ADMIN% NEQ 1 goto later |
|
|
|
|
SET watext=%L_CHECKING_UPDATES% |
|
|
|
|
start /w %SystemDrive%\FWSUpdates\bin\wizapp.exe PB OPEN NOBACK NOCANCEL |
|
|
|
|
start /w %SystemDrive%\FWSUpdates\bin\wizapp.exe PB UPDATE 10 |
|
|
|
|
CALL %~dp0\sync.bat |
|
|
|
|
start /w %SystemDrive%\FWSUpdates\bin\wizapp.exe PB CLOSE |
|
|
|
|
goto begin |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|