577
edits
Changes
WPKG
,→Deploying WPKG Client using WPKG: /norestart has to come after the .msi, not before. Removed empty settings package 'remove' line. Changed installer directory to 'WPKG-Client' rather than 'WPKG'.
<variable name="version" value="1.3.14" />
<check type="uninstall" condition="versionequalto" path="WPKG" value="%version%"/>
<install cmd='msiexec /norestart /qn /i "%SOFTWARE%\WPKG-Client\WPKG Client %version%-x32.msi" ALLUSERS=1 SETTINGSFILE="%SOFTWARE%\WPKG-Client\settings.xml"/norestart'>
<exit code="3010" reboot="false" />
</install>
<upgrade cmd='msiexec /norestart /qn /i "%SOFTWARE%\WPKG-Client\WPKG Client %version%-x32.msi" ALLUSERS=1 SETTINGSFILE="%SOFTWARE%\WPKG-Client\settings.xml"/norestart'>
<exit code="3010" reboot="false" />
</upgrade>
<depends package-id="wpkg"/>
<install cmd='"%PROGRAMFILES%\WPKG\wpkginst.exe" --SETTINGSFILE=%SOFTWARE%\WPKG\settings.xml' /> <upgrade cmd='"%PROGRAMFILES%\WPKG\wpkginst.exe" --SETTINGSFILE=%SOFTWARE%\WPKGClient\settings.xml' />
<remove upgrade cmd='echo "nothing%PROGRAMFILES%\WPKG\wpkginst.exe"--SETTINGSFILE=%SOFTWARE%\WPKG-Client\settings.xml' />
</package>
</source>