29
edits
Changes
WinSCP
,→WinSCP 4: Simplify package definition and bump to v4.0.6
Use the following XML file for silent installation:
<pre>
<?xml version="1.0" encoding="utf-8" ?>
<packages>
<package id='WinSCP' name='WinSCP' revision='404406' priority='500' reboot='false' > <!-- Win-Secure-Copy --> <check type='uninstall' condition='exists' path='WinSCP 4.0.46' /> <install cmd='cmd /C copy /Y "%SOFTWARE%\WinSCP v.4.0.4\default.inf" "%TEMP%"' /> <install cmd='"%SOFTWARE%\WinSCP v.4.0.4winscp\winscp404setupwinscp406setup.exe" /VERYSILENT /NORESTART /LOADINF="%TEMPSOFTWARE%\default.inf"' /> <install cmd='cmd /C del "%TEMP%winscp\default.infini"' /> <remove upgrade cmd='"%ProgramFilesSOFTWARE%\WinSCPwinscp\unins000winscp406setup.exe" /SILENT' VERYSILENT /> <upgrade cmdNORESTART /LOADINF='cmd /C copy /Y "%SOFTWARE%\WinSCP v.4.0.4winscp\default.inf" "%TEMP%ini"' /> <upgrade remove cmd='"%SOFTWAREProgramFiles%\WinSCP v.4.0.4\winscp404setupunins000.exe" /VERYSILENT /NORESTART /LOADINF="%TEMP%\default.inf"' /> <upgrade cmd='cmd /C del "%TEMP%\default.inf"' />
</package>
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>
== WinSCP 3 ==