Difference between revisions of "WinSCP"
From WPKG | Open Source Software Deployment and Distribution
m |
|||
Line 1: | Line 1: | ||
+ | == WinSCP 4 == | ||
+ | |||
+ | Use the following XML file for silent installation: | ||
+ | <pre> | ||
+ | <?xml version="1.0" encoding="utf-8" ?> | ||
+ | <packages> | ||
+ | |||
+ | <package id='WinSCP' name='WinSCP' revision='404' priority='50' reboot='false' > | ||
+ | <!-- Win-Secure-Copy --> | ||
+ | <check type='uninstall' condition='exists' path='WinSCP 4.0.4' /> | ||
+ | <install cmd='cmd /C copy /Y "%SOFTWARE%\WinSCP v.4.0.4\default.inf" "%TEMP%"' /> | ||
+ | <install cmd='"%SOFTWARE%\WinSCP v.4.0.4\winscp404setup.exe" /VERYSILENT /NORESTART /LOADINF="%TEMP%\default.inf"' /> | ||
+ | <install cmd='cmd /C del "%TEMP%\default.inf"' /> | ||
+ | <remove cmd='"%ProgramFiles%\WinSCP\unins000.exe" /SILENT' /> | ||
+ | <upgrade cmd='cmd /C copy /Y "%SOFTWARE%\WinSCP v.4.0.4\default.inf" "%TEMP%"' /> | ||
+ | <upgrade cmd='"%SOFTWARE%\WinSCP v.4.0.4\winscp404setup.exe" /VERYSILENT /NORESTART /LOADINF="%TEMP%\default.inf"' /> | ||
+ | <upgrade cmd='cmd /C del "%TEMP%\default.inf"' /> | ||
+ | </package> | ||
+ | |||
+ | </packages> | ||
+ | </pre> | ||
+ | |||
+ | 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> | ||
+ | winscp404setup.exe /SAVEINF="default.inf" | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | == WinSCP 3 == | ||
+ | |||
This is a silent installer and uninstaller for WinSCP. | This is a silent installer and uninstaller for WinSCP. | ||
Revision as of 23:12, 6 November 2007
WinSCP 4
Use the following XML file for silent installation:
<?xml version="1.0" encoding="utf-8" ?> <packages> <package id='WinSCP' name='WinSCP' revision='404' priority='50' reboot='false' > <!-- Win-Secure-Copy --> <check type='uninstall' condition='exists' path='WinSCP 4.0.4' /> <install cmd='cmd /C copy /Y "%SOFTWARE%\WinSCP v.4.0.4\default.inf" "%TEMP%"' /> <install cmd='"%SOFTWARE%\WinSCP v.4.0.4\winscp404setup.exe" /VERYSILENT /NORESTART /LOADINF="%TEMP%\default.inf"' /> <install cmd='cmd /C del "%TEMP%\default.inf"' /> <remove cmd='"%ProgramFiles%\WinSCP\unins000.exe" /SILENT' /> <upgrade cmd='cmd /C copy /Y "%SOFTWARE%\WinSCP v.4.0.4\default.inf" "%TEMP%"' /> <upgrade cmd='"%SOFTWARE%\WinSCP v.4.0.4\winscp404setup.exe" /VERYSILENT /NORESTART /LOADINF="%TEMP%\default.inf"' /> <upgrade cmd='cmd /C del "%TEMP%\default.inf"' /> </package> </packages>
It is using InnoSetup. The installation is described on their Homepage. Basically you need to execute
winscp404setup.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>