Difference between revisions of "WinSCP"
From WPKG | Open Source Software Deployment and Distribution
(→WinSCP 4: Simplify package definition and bump to v4.0.6) |
|||
Line 3: | Line 3: | ||
Use the following XML file for silent installation: | Use the following XML file for silent installation: | ||
<pre> | <pre> | ||
− | <?xml version="1.0" encoding="utf-8" ?> | + | <?xml version="1.0" encoding="utf-8"?> |
<packages> | <packages> | ||
− | <package id='WinSCP' name='WinSCP' revision=' | + | <package id='WinSCP' name='WinSCP' revision='406' priority='0' reboot='false'> |
− | + | <check type='uninstall' condition='exists' path='WinSCP 4.0.6'/> | |
− | <check type='uninstall' condition='exists' path='WinSCP 4.0. | + | |
− | + | <install cmd='%SOFTWARE%\winscp\winscp406setup.exe /VERYSILENT /NORESTART /LOADINF="%SOFTWARE%\winscp\default.ini"'/> | |
− | <install cmd=' | + | |
− | + | <upgrade cmd='%SOFTWARE%\winscp\winscp406setup.exe /VERYSILENT /NORESTART /LOADINF="%SOFTWARE%\winscp\default.ini"'/> | |
− | < | + | |
− | + | <remove cmd='"%ProgramFiles%\WinSCP\unins000.exe" /VERYSILENT'/> | |
− | < | + | |
− | + | ||
</package> | </package> | ||
Line 23: | Line 21: | ||
It is using InnoSetup. The installation is described on their [http://winscp.net/eng/docs/installation#automating_installation Homepage]. Basically you need to execute | It is using InnoSetup. The installation is described on their [http://winscp.net/eng/docs/installation#automating_installation Homepage]. Basically you need to execute | ||
<pre> | <pre> | ||
− | + | winscp406setup.exe /SAVEINF="default.inf" | |
</pre> | </pre> | ||
− | |||
== WinSCP 3 == | == WinSCP 3 == |
Revision as of 23:44, 28 January 2008
WinSCP 4
Use the following XML file for silent installation:
<?xml version="1.0" encoding="utf-8"?> <packages> <package id='WinSCP' name='WinSCP' revision='406' priority='0' reboot='false'> <check type='uninstall' condition='exists' path='WinSCP 4.0.6'/> <install cmd='%SOFTWARE%\winscp\winscp406setup.exe /VERYSILENT /NORESTART /LOADINF="%SOFTWARE%\winscp\default.ini"'/> <upgrade cmd='%SOFTWARE%\winscp\winscp406setup.exe /VERYSILENT /NORESTART /LOADINF="%SOFTWARE%\winscp\default.ini"'/> <remove cmd='"%ProgramFiles%\WinSCP\unins000.exe" /VERYSILENT'/> </package> </packages>
It is using InnoSetup. The installation is described on their Homepage. Basically you need to execute
winscp406setup.exe /SAVEINF="default.inf"
WinSCP 3
This is a silent installer and uninstaller for WinSCP.
<package id="winscp3" name="WinSCP (SCP/SSH client)" revision="1" priority="0" reboot="false"> <check type="uninstall" condition="exists" path="WinSCP 3.5.6" /> <install cmd='%SOFTWARE%\winscp\winscp356setup.exe /sp- /silent /norestart' /> <remove cmd='"%PROGRAMFILES%\WinSCP3\unins000.exe" /sp- /silent /norestart' /> </package>