Changes

FileZilla

1,899 bytes added, 15:46, 15 December 2009
new version 3.3.0.1 + adaptation to mixed 32bit/64bit environnment
This is a silent installer for [http://filezilla-project.org/ FileZilla Client], a free FTP client. == FileZilla 3.xx == === Simple FileZilla 3.xx installation === <source lang="xml"><packages><package id="filezilla" name="FileZilla" revision="03030001" priority="1" reboot="false" > <!-- 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="%PROGRAMFILES%\FileZilla FTP Client\filezilla.exe" value="3.3.0.1" /> <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES(x86)%\FileZilla FTP Client\filezilla.exe" value="3.3.0.1" /> </check> <install cmd='%SOFTWARE%\filezilla\FileZilla_3.3.0.1_win32-setup.exe /S' /> <upgrade cmd='%SOFTWARE%\filezilla\FileZilla_3.3.0.1_win32-setup.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 3.xx with defaults ===  Get fzdefaults.xml from filezilla doc sub-directory and edit to your liking (e.g. Disable Automatic update). <source lang="xml"><packages><package id="filezilla" name="FileZilla" revision="03030001" priority="1" reboot="false" > <!-- 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="%PROGRAMFILES%\FileZilla FTP Client\filezilla.exe" value="3.3.0.1" /> <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES(x86)%\FileZilla FTP Client\filezilla.exe" value="3.3.0.1" /> </check> <install cmd='%SOFTWARE%\filezilla\FileZilla_3.3.0.1_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)%\FileZilla FTP Client copy /y /v "%SOFTWARE%\filezilla\fzdefaults.xml" "%PROGRAMFILES%\FileZilla FTP Client\"' /> <upgrade cmd='%SOFTWARE%\filezilla\FileZilla_3.3.0.1_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' /> </package></packages></source> == FileZilla 2.xx ==
<source lang="xml">
</package>
</packages>
</source>
 
Or for version 3.
 
<source lang="xml">
<packages>
<package
id="filezilla"
name="FileZilla"
revision="03010600"
priority="1"
reboot="false">
 
<check type="uninstall" condition="exists" path="FileZilla Client 3.1.6" />
 
<install cmd='%SOFTWARE%\filezilla\FileZilla_3.1.6_win32-setup.exe /S' />
 
<upgrade cmd='%SOFTWARE%\filezilla\FileZilla_3.1.6_win32-setup.exe /S' />
 
<remove cmd='%PROGRAMFILES%\FileZilla FTP Client\uninstall.exe /S' />
 
</package>
</packages>
</source>
 
Or for version 3 with defaults.
Get fzdefaults.xml from filezilla doc sub-directory and edit to your liking (e.g. Disable Automatic update).
 
<source lang="xml">
<packages>
<package
id="filezilla"
name="FileZilla"
revision="03020601"
priority="1"
reboot="false">
 
<check type="uninstall" condition="exists" path="FileZilla Client 3.2.6.1" />
 
<install cmd='%SOFTWARE%\filezilla\FileZilla_3.2.6.1_win32-setup.exe /S' />
<install cmd='%COMSPEC% /c copy /y /v "%SOFTWARE%\filezilla\fzdefaults.xml" "%PROGRAMFILES%\FileZilla FTP Client\"' />
 
<upgrade cmd='%SOFTWARE%\filezilla\FileZilla_3.2.6.1_win32-setup.exe /S' />
<upgrade cmd='%COMSPEC% /c copy /y /v "%SOFTWARE%\filezilla\fzdefaults.xml" "%PROGRAMFILES%\FileZilla FTP Client\"' />
 
<remove cmd='%COMSPEC% /c del /s /q "%PROGRAMFILES%\FileZilla FTP Client\fzdefaults.xml"' >
<exit code="0" />
<exit code="1" /> <!-- if file does not exist -->
</remove>
<remove cmd='%PROGRAMFILES%\FileZilla FTP Client\uninstall.exe /S' />
 
</package>
</packages>
</source>
[[Category: Silent Installers]]
43
edits