Difference between revisions of "WinSCP"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(new version winscp415setup.exe)
Line 11: Line 11:
 
     id='WinSCP'
 
     id='WinSCP'
 
     name='WinSCP'
 
     name='WinSCP'
     revision='406'
+
     revision='415'
 
     priority='0'
 
     priority='0'
 
     reboot='false'>
 
     reboot='false'>
 
    
 
    
     <check type='uninstall' condition='exists' path='WinSCP 4.0.6'/>
+
     <check type='uninstall' condition='exists' path='WinSCP 4.1.5'/>
  
     <install cmd='%SOFTWARE%\winscp\winscp406setup.exe /VERYSILENT /NORESTART /LOADINF="%SOFTWARE%\winscp\default.ini"'/>
+
     <install cmd='%SOFTWARE%\winscp\winscp415setup.exe /VERYSILENT /NORESTART /LOADINF="%SOFTWARE%\winscp\default.ini"'/>
  
     <upgrade cmd='%SOFTWARE%\winscp\winscp406setup.exe /VERYSILENT /NORESTART /LOADINF="%SOFTWARE%\winscp\default.ini"'/>
+
     <upgrade cmd='%SOFTWARE%\winscp\winscp415setup.exe /VERYSILENT /NORESTART /LOADINF="%SOFTWARE%\winscp\default.ini"'/>
  
 
     <remove cmd='"%ProgramFiles%\WinSCP\unins000.exe" /VERYSILENT'/>
 
     <remove cmd='"%ProgramFiles%\WinSCP\unins000.exe" /VERYSILENT'/>

Revision as of 08:55, 22 July 2008

This is a silent installer and uninstaller for WinSCP.

WinSCP 4

Use the following XML file for silent installation:

<?xml version="1.0" encoding="utf-8"?>

<packages>
  <package
    id='WinSCP'
    name='WinSCP'
    revision='415'
    priority='0'
    reboot='false'>
  
    <check type='uninstall' condition='exists' path='WinSCP 4.1.5'/>

    <install cmd='%SOFTWARE%\winscp\winscp415setup.exe /VERYSILENT /NORESTART /LOADINF="%SOFTWARE%\winscp\default.ini"'/>

    <upgrade cmd='%SOFTWARE%\winscp\winscp415setup.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

<?xml version="1.0" encoding="utf-8"?>

<packages>
  <package
    id="winscp3"
    name="WinSCP v3"
    revision="3560"
    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>