Wait before running offline_upgrade so files are unlocked

master
Daniel Berteaud 8 years ago
parent 98aa2bc885
commit b5be746caf
  1. 3
      packages/fwsupdates.xml
  2. 3
      softwares/offline_upgrade.bat

@ -6,7 +6,7 @@
reboot="false"
priority="95">
<variable name="PKG_VERSION" value="1.14" />
<variable name="PKG_VERSION" value="1.15" />
<check type="registry" condition="equals" path="HKLM\Software\FWS\Updates\ClientVersion" value="%PKG_VERSION%" />
@ -42,4 +42,3 @@
</package>
</packages>

@ -2,6 +2,9 @@
REM perform upgrade of WPKG client
REM Wait for files to be unlocked
timeout /t 3
IF EXIST "%SystemDrive%\FWSUpdates\assets.upgrade" (
RMDIR /S /Q "%SystemDrive%\FWSUpdates\assets"
RENAME "%SystemDrive%\FWSUpdates\assets.upgrade" assets

Loading…
Cancel
Save