Changes

Jump to: navigation, search

WinSCP

165 bytes added, 22:36, 4 February 2008
m
Use new syntax highlighting plugin for package xml and standardize the xml layout.
Use the following XML file for silent installation:
<presource lang="xml">
<?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'/>
<package idinstall cmd='WinSCP' name%SOFTWARE%\winscp\winscp406setup.exe /VERYSILENT /NORESTART /LOADINF='WinSCP' revision='406' priority='0' reboot='false'> <check type='uninstall' condition='exists' path='WinSCP 4.0"%SOFTWARE%\winscp\default.6ini"'/>
<install upgrade 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>
</package>
</packages>
</presource>
It is using InnoSetup. The installation is described on their [http://winscp.net/eng/docs/installation#automating_installation Homepage]. Basically you need to execute
This is a silent installer and uninstaller for WinSCP.
<source lang="xml"><?xml version="1.0" encoding="utf-8"?> <packages> <package id="winscp3" name="WinSCP (SCP/SSH client)v3" revision="13560" 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></packages></source>
[[category:Silent Installers]]
29
edits

Navigation menu