Changes

WinSCP

69 bytes added, 17:28, 7 October 2011
WinSCP 4.2.x: Tidy up + updated for 4.3.5
This is a silent installer and uninstaller for WinSCP ([http://winscp.net/ http://winscp.net/]), an FTP, SFTP and SCP client.
== WinSCP 4.23.x ==
<source lang="xml">
<package
id="winscp" name="WinSCP" revision="2009122812" reboot priority="false10" priority reboot="10false">
<check type="uninstall" condition="exists" path="WinSCP 4.23.5" />
<install cmd='"%SOFTWARE%\winscp\winscp425setupwinscp435setup.exe" /NOCANDY sp- /LOADINF="%SOFTWARE%\winscp\winscp.inf" silent /VERYSILENT nocancel /NORESTART' norestart /nocandy /log" />
<upgrade cmd='"%SOFTWARE%\winscp\winscp425setupwinscp435setup.exe" /NOCANDY sp- /LOADINF="%SOFTWARE%\winscp\winscp.inf" silent /VERYSILENT nocancel /NORESTART' norestart />  <remove cmd='nocandy /log"%PROGRAMFILES%\WinSCP\unins000.exe" /VERYSILENT /NORESTART' />
<remove
cmd="%PROGRAMFILES%\WinSCP\unins000.exe /silent /log /norestart" />
</package>
 
</source>
The /NOCANDY parameter ensures [http://winscp.net/eng/docs/opencandy OpenCandy], the facility for serving adverts during installation, isn't included. Without it a dialog box containing ''Please choose an option'' text will pop up in versions of the installer that include OpenCandy and halt the whole installation process. Alternatively a version of the installer can be chosen that doesn't include OpenCandy. Note that WinSCP 4.3.5, at least at time of release, didn't include OpenCandy but this isn't the norm.
A ===winscp.inf file ===If you want even more control over installation parameters you can be generated generate a winscp.inf file by running: winscp425setupwinscp435setup.exe /SAVEINF="winscp.inf" Then use /LOADINF="%SOFTWARE%\winscp\winscp.inf" during installation.
After generating the winscp.inf via /SAVEINF, if you use a general installation script (like above), edit the line "DIR=C:\Program Files (x86)\WinSCP" to "DIR=" in order to force the intaller to install into its standard installation directory.
Furthermore the "remove-action" should be edited.
577
edits