|
|
@ -6,7 +6,7 @@ |
|
|
|
reboot="false" |
|
|
|
reboot="false" |
|
|
|
priority="95"> |
|
|
|
priority="95"> |
|
|
|
|
|
|
|
|
|
|
|
<variable name="PKG_VERSION" value="1.7" /> |
|
|
|
<variable name="PKG_VERSION" value="1.8" /> |
|
|
|
|
|
|
|
|
|
|
|
<check type="registry" condition="equals" path="HKLM\Software\FWS\Updates\ClientVersion" value="%PKG_VERSION%" /> |
|
|
|
<check type="registry" condition="equals" path="HKLM\Software\FWS\Updates\ClientVersion" value="%PKG_VERSION%" /> |
|
|
|
|
|
|
|
|
|
|
@ -38,7 +38,7 @@ |
|
|
|
<install cmd='schtasks.exe /Create /tn "sync_wpkg" /sc hourly /mo 3 /ru "SYSTEM" /tr "%SystemDrive%\FWSUpdates\bin\delayed_sync.bat" /f' /> |
|
|
|
<install cmd='schtasks.exe /Create /tn "sync_wpkg" /sc hourly /mo 3 /ru "SYSTEM" /tr "%SystemDrive%\FWSUpdates\bin\delayed_sync.bat" /f' /> |
|
|
|
<install cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /v WPKGUpgrade /t REG_SZ /d "cmd.exe /c \"%SystemDrive%\FWSUpdates\offline_upgrade.bat\"" /f' /> |
|
|
|
<install cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /v WPKGUpgrade /t REG_SZ /d "cmd.exe /c \"%SystemDrive%\FWSUpdates\offline_upgrade.bat\"" /f' /> |
|
|
|
<install cmd='%COMSPEC% /C echo reg add "HKLM\Software\FWS\Updates" /v "ClientVersion" /t REG_SZ /d "%PKG_VERSION%" /f >> %SystemDrive%\FWSUpdates\offline_upgrade.bat' /> |
|
|
|
<install cmd='%COMSPEC% /C echo reg add "HKLM\Software\FWS\Updates" /v "ClientVersion" /t REG_SZ /d "%PKG_VERSION%" /f >> %SystemDrive%\FWSUpdates\offline_upgrade.bat' /> |
|
|
|
<install cmd='%COMSPEC% /C echo cscript "%SOFTWARE%\fwsupdates\repository\wpkg.js" /nonotify /upgrade:fwsupdates >> %SystemDrive%\FWSUpdates\offline_upgrade.bat' /> |
|
|
|
<install cmd='%COMSPEC% /C echo cscript "%SystemDrive%\FWSUpdates\repository\wpkg.js" /nonotify /upgrade:fwsupdates >> %SystemDrive%\FWSUpdates\offline_upgrade.bat' /> |
|
|
|
|
|
|
|
|
|
|
|
<upgrade include='install' /> |
|
|
|
<upgrade include='install' /> |
|
|
|
|
|
|
|
|
|
|
|