Changes

FileZilla

1,900 bytes removed, 20:51, 16 January 2014
Clear out really old version 2 info and simplify architecture-specific commands
This is a silent installer for [http://filezilla-project.org/ FileZilla Client], a free FTP client.
== FileZilla Client 3.xx ==
=== Simple FileZilla Client 3.xx installation ===
<source lang="xml">
reboot="false">
<variable architecture="x86" name="PROGFILES" value="%PROGRAMFILES%" /> <!-- This is a 32-bit program --> <variable architecture="x64" name="PROGFILES" value="%PROGRAMFILES(X86)%" />  <variable name="version" value="3.5.0" />  <check type="file" condition="versiongreaterorequal" path="%PROGFILES%\FileZilla FTP Client\filezilla.exe" value="%version%" />
<!-- User can upgrade their version we have to check the binary version and take care of 32/64bit differences --> <check type="logical" condition="or"> <check type="file" condition="versiongreaterorequal" pathinstall cmd="'%PROGRAMFILESSOFTWARE%\FileZilla FTP Clientfilezilla\filezilla.exe" value="FileZilla_%version%" /> <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES(x86)%\FileZilla FTP Client\filezilla_win32-setup.exe" value="%version%" /> <S' /check>
<install upgrade cmd='%SOFTWARE%\filezilla\FileZilla_%version%_win32-setup.exe /S' />
<upgrade remove cmd='%SOFTWARECOMSPEC% /c if exist "%PROGFILES%\filezillaFileZilla FTP Client\FileZilla_uninstall.exe" "%versionPROGFILES%_win32-setup\FileZilla FTP Client\uninstall.exe " /S' />
<remove cmd='%COMSPEC% /c if exist "%PROGRAMFILES%\FileZilla FTP Client\uninstall.exe" "%PROGRAMFILES%\FileZilla FTP Client\uninstall.exe" /S' /> <remove cmd='%COMSPEC% /c if exist "%PROGRAMFILES(x86)%\FileZilla FTP Client\uninstall.exe" "%PROGRAMFILES(x86)%\FileZilla FTP Client\uninstall.exe" /S' /> </package>
</packages>
</source>
=== FileZilla Client 3.xx with defaults ===
>
<variable architecture="x86" name="PROGFILES" value="%PROGRAMFILES%" /> <!-- This is a 32-bit program --> <variable architecture="x64" name="PROGFILES" value="%PROGRAMFILES(X86)%" />  <variable name="version" value="3.5.0" />
<!-- User can upgrade their version we have to check the binary version and take care of 32/64bit differences --> <check type="logical" condition="or"> <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILESPROGFILES%\FileZilla FTP Client\filezilla.exe" value="%version%" /> <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES(x86)%\FileZilla FTP Client\filezilla.exe" value="%version%" /> </check>
<install cmd='%SOFTWARE%\filezilla\FileZilla_%version%_win32-setup.exe /S' /> <install cmd='%COMSPEC% /c if exist "%PROGRAMFILES%\FileZilla FTP Client" copy /y /v "%SOFTWARE%\filezilla\fzdefaults.xml" "%PROGRAMFILES%\FileZilla FTP Client\"' /> <install cmd='%COMSPEC% /c if exist "%PROGRAMFILES(x86)PROGFILES%\FileZilla FTP Client" copy /y /v "%SOFTWARE%\filezilla\fzdefaults.xml" "%PROGRAMFILESPROGFILES(x86)%\FileZilla FTP Client\"' />
<upgrade cmd='%SOFTWARE%\filezilla\FileZilla_%version%_win32-setup.exe /S' />
<upgrade cmd='%COMSPEC% /c if exist "%PROGRAMFILES%\FileZilla FTP Client" copy /y /v "%SOFTWARE%\filezilla\fzdefaults.xml" "%PROGRAMFILES%\FileZilla FTP Client\"' />
<upgrade cmd='%COMSPEC% /c if exist "%PROGRAMFILES(x86)%\FileZilla FTP Client" copy /y /v "%SOFTWARE%\filezilla\fzdefaults.xml" "%PROGRAMFILES%\FileZilla FTP Client\"' />
<remove cmd='%COMSPEC% /c if exist "%PROGRAMFILES%\FileZilla FTP Client\uninstall.exe" "%PROGRAMFILES%\FileZilla FTP Client\uninstall.exe" /S' />
<remove cmd='%COMSPEC% /c if exist "%PROGRAMFILES(x86)%\FileZilla FTP Client\uninstall.exe" "%PROGRAMFILES(x86)%\FileZilla FTP Client\uninstall.exe" /S' />
<upgrade cmd='%COMSPEC% /c if exist "%PROGFILES%\FileZilla FTP Client" copy /y /v "%SOFTWARE%\filezilla\fzdefaults.xml" "%PROGFILES%\FileZilla FTP Client\"' />
 
<remove cmd='%COMSPEC% /c if exist "%PROGFILES%\FileZilla FTP Client\uninstall.exe" "%PROGFILES%\FileZilla FTP Client\uninstall.exe" /S' />
</package>
</packages>
</source>
 
== FileZilla 2.xx ==
 
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
 
<packages>
 
<package
id="filezilla"
name="FileZilla"
revision="2230a01"
priority="1">
 
 
<check type="uninstall" condition="exists" path="FileZilla (remove only)" />
 
<install cmd='%SOFTWARE%\filezilla\FileZilla_2_2_30a_setup.exe /S' />
<install cmd='cmd /C copy /y %SOFTWARE%\filezilla\Filezilla.lnk "%ALLUSERSPROFILE%\Desktop"' />
<upgrade cmd='%SOFTWARE%\filezilla\FileZilla_2_2_30a_setup.exe /S' />
<upgrade cmd='cmd /C copy /y %SOFTWARE%\filezilla\Filezilla.lnk "%ALLUSERSPROFILE%\Desktop"' />
 
<remove cmd='' />
 
</package>
 
</packages>
</source>
[[Category: Silent Installers]]
577
edits