You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.1 KiB
25 lines
1.1 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<packages>
|
|
<package id="putty"
|
|
name="Client SSH PuTTY"
|
|
revision="2"
|
|
priority="10"
|
|
reboot="false">
|
|
|
|
<variable name="PKG_VERSION" value="0.67" />
|
|
<variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%\PuTTY" />
|
|
<variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%\PuTTY" />
|
|
|
|
<check type="uninstall" condition="versiongreaterorequal" path="PuTTY release %PKG_VERSION%" value="%PKG_VERSION%"/>
|
|
|
|
<install cmd='%SOFTWARE%\putty\putty-%PKG_VERSION%-installer.exe /sp- /verysilent' />
|
|
|
|
<upgrade cmd='%SOFTWARE%\putty\putty-%PKG_VERSION%-installer.exe /sp- /verysilent' />
|
|
|
|
<remove cmd='%COMSPEC% /c copy "%SYSTEMROOT%\system32\print.exe" "%INSTALL_PATH%\putty.exe"' />
|
|
<remove cmd='"%INSTALL_PATH%\unins000.exe" /sp- /verysilent /norestart' >
|
|
<exit code="1" />
|
|
</remove>
|
|
<remove cmd='%COMSPEC% /c rmdir /s /q "%INSTALL_PATH%"' />
|
|
</package>
|
|
</packages>
|
|
|