Changes

Jump to: navigation, search

XnView

303 bytes removed, 23:15, 7 February 2012
Used 'architecture' keyword for XML cleanup
reboot="false"
priority="10">
 
<variable name="PKG_VERSION" value="1.98.5" />
 
<variable name="PKG_DESTINATION" value="%ProgramFiles%\XnView" architecture="x86"/>
<variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\XnView" architecture="x64"/>
<check type="uninstall" condition="exists" path="XnView 1.97.8+" value="%PKG_VERSION%" />
<install cmd='%SOFTWARE%\XnView\XnView-win-%PKG_VERSION%.exe /norestart /verysilent' />
<upgrade cmd='%ComSpec% /c if exist "%ProgramFilesPKG_DESTINATION%\XnView\unins000.exe" "%ProgramFilesPKG_DESTINATION%\XnView\unins000.exe /verysilent"' >
<exit code="1" reboot="false"/>
</upgrade>
<upgrade cmd='%ComSpec% /c if exist "%ProgramFiles(x86)PKG_DESTINATION%\XnView\unins000.exe" "%ProgramFiles(x86)%\XnView\unins000.exe /verysilent"' > <exit code="1" reboot="false"/> </upgrade> <upgrade cmd='%ComSpec% /c if exist "%ProgramFiles%\XnView" del /Q "%PROGRAMFILESPKG_DESTINATION%\XnView"' /> <upgrade cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\XnView" del /Q "%PROGRAMFILES(x86)%\XnView"' /> <upgrade cmd='%SOFTWARE%\XnView\XnView-win-%PKG_VERSION%.exe /norestart /verysilent' />
<remove cmd='%ComSpec% /c if exist "%ProgramFilesPKG_DESTINATION%\XnView\unins000.exe" "%ProgramFilesPKG_DESTINATION%\XnView\unins000.exe /verysilent"' > <exit code="1" reboot="false"/> </remove> <remove cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\XnView\unins000.exe" "%ProgramFiles(x86)%\XnView\unins000.exe /verysilent"' >
<exit code="1" reboot="false"/>
</remove>
<remove cmd='%ComSpec% /c if exist "%ProgramFilesPKG_DESTINATION%\XnView" del /Q "%PROGRAMFILESPKG_DESTINATION%\XnView"' /> <remove cmd='%ComSpec% /c if exist "%ProgramFiles(x86)%\XnView" del /Q "%PROGRAMFILES(x86)%\XnView"' />
</package>
1
edit

Navigation menu