<?xml version="1.0" encoding="UTF-8"?> <packages> <package id="winscp" name="WinSCP" revision="2" priority="10" reboot="false"> <variable name="PKG_VERSION" value="4.3.7" /> <variable name="SETUP_FILE" value="winscp437setup.exe" /> <variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%\WinSCP\" /> <variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%\WinSCP\" /> <check type="uninstall" condition="exists" path="WinSCP %PKG_VERSION%" /> <install cmd="%SOFTWARE%\winscp\%SETUP_FILE% /sp- /silent /nocancel /norestart /nocandy /log" /> <upgrade include="install" /> <downgrade include="install" /> <remove cmd="%INSTALL_PATH%\unins000.exe /silent /log /norestart" /> </package> </packages>