|
|
@ -164,7 +164,7 @@ IF %CHANGES% GTR 0 ( |
|
|
|
SET /A MAX=%SINCE%+%MAX_REPORT%*86400 |
|
|
|
SET /A MAX=%SINCE%+%MAX_REPORT%*86400 |
|
|
|
) ELSE ( |
|
|
|
) ELSE ( |
|
|
|
FOR /F %%A IN ('reg query "HKLM\Software\FWS\Updates" /v ChangesAvailableSince') DO SET /A SINCE=%%A |
|
|
|
FOR /F %%A IN ('reg query "HKLM\Software\FWS\Updates" /v ChangesAvailableSince') DO SET /A SINCE=%%A |
|
|
|
SET /A MAX=%SINCE%+%MAX_REPORT% |
|
|
|
SET /A MAX=%SINCE%+%MAX_REPORT%*86400 |
|
|
|
IF %NOW% GTR %MAX% add "HKLM\Software\FWS\Updates" /v RunOnShutdown /t REG_DWORD /d 1 /f |
|
|
|
IF %NOW% GTR %MAX% add "HKLM\Software\FWS\Updates" /v RunOnShutdown /t REG_DWORD /d 1 /f |
|
|
|
) |
|
|
|
) |
|
|
|
SET /A DELTA=%NOW%-%SINCE% |
|
|
|
SET /A DELTA=%NOW%-%SINCE% |
|
|
|