|
|
@ -96,7 +96,8 @@ SET /A CAN_REPORT=0 |
|
|
|
IF %NOW% LEQ %MAX% SET /A CAN_REPORT=1 |
|
|
|
IF %NOW% LEQ %MAX% SET /A CAN_REPORT=1 |
|
|
|
IF %ADMIN% EQU 1 SET /A CAN_REPORT=1 |
|
|
|
IF %ADMIN% EQU 1 SET /A CAN_REPORT=1 |
|
|
|
|
|
|
|
|
|
|
|
IF %CHANGES% LSS 1 IF %ADMIN% EQU 1 ( |
|
|
|
IF %CHANGES% LSS 1 ( |
|
|
|
|
|
|
|
IF %ADMIN% EQU 1 ( |
|
|
|
SET watext=%L_NO_UPDATE_AVAILABLE% %L_FOR_YOUR_SYSTEM%. |
|
|
|
SET watext=%L_NO_UPDATE_AVAILABLE% %L_FOR_YOUR_SYSTEM%. |
|
|
|
SET wainput= %L_CHECK_ONLINE_FOR_UPDATES% |
|
|
|
SET wainput= %L_CHECK_ONLINE_FOR_UPDATES% |
|
|
|
SET waoutnum=0 |
|
|
|
SET waoutnum=0 |
|
|
@ -104,8 +105,8 @@ IF %CHANGES% LSS 1 IF %ADMIN% EQU 1 ( |
|
|
|
IF errorlevel 2 goto cancel_no_update |
|
|
|
IF errorlevel 2 goto cancel_no_update |
|
|
|
IF errorlevel 1 goto previous |
|
|
|
IF errorlevel 1 goto previous |
|
|
|
IF !waoutnum! EQU 0 goto check |
|
|
|
IF !waoutnum! EQU 0 goto check |
|
|
|
) |
|
|
|
) |
|
|
|
ELSE ( |
|
|
|
) ELSE ( |
|
|
|
IF %CAN_REPORT% EQU 1 ( |
|
|
|
IF %CAN_REPORT% EQU 1 ( |
|
|
|
SET watext=%INTRO% %L_FOR_YOUR_SYSTEM%.~~%L_YOU_CAN_SCHEDULE%.~~%L_INSTALL_FORCED_IN% %REMAINING% %L_DAYS% |
|
|
|
SET watext=%INTRO% %L_FOR_YOUR_SYSTEM%.~~%L_YOU_CAN_SCHEDULE%.~~%L_INSTALL_FORCED_IN% %REMAINING% %L_DAYS% |
|
|
|
SET wainput= %L_SCHEDULE_ON_SHUTDOWN%; %L_REPORT%; %L_DISPLAY_AVAILABLE_UPDATES% |
|
|
|
SET wainput= %L_SCHEDULE_ON_SHUTDOWN%; %L_REPORT%; %L_DISPLAY_AVAILABLE_UPDATES% |
|
|
@ -184,3 +185,4 @@ CALL %~dp0\sync.bat |
|
|
|
start /w %SystemDrive%\FWSUpdates\bin\wizapp.exe PB CLOSE |
|
|
|
start /w %SystemDrive%\FWSUpdates\bin\wizapp.exe PB CLOSE |
|
|
|
goto begin |
|
|
|
goto begin |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|