Difference between revisions of "FileZilla"
From WPKG | Open Source Software Deployment and Distribution
(Clear out really old version 2 info and simplify architecture-specific commands) |
|||
| Line 1: | Line 1: | ||
This is a silent installer for [http://filezilla-project.org/ FileZilla Client], a free FTP client. | This is a silent installer for [http://filezilla-project.org/ FileZilla Client], a free FTP client. | ||
| − | == FileZilla 3.xx == | + | == FileZilla Client 3.xx == |
| − | === Simple FileZilla 3.xx installation === | + | === Simple FileZilla Client 3.xx installation === |
<source lang="xml"> | <source lang="xml"> | ||
| Line 17: | Line 17: | ||
reboot="false"> | 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%" | ||
| + | /> | ||
| − | + | <install cmd='%SOFTWARE%\filezilla\FileZilla_%version%_win32-setup.exe /S' /> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | <upgrade cmd='%SOFTWARE%\filezilla\FileZilla_%version%_win32-setup.exe /S' /> | |
| − | + | <remove cmd='%COMSPEC% /c if exist "%PROGFILES%\FileZilla FTP Client\uninstall.exe" "%PROGFILES%\FileZilla FTP Client\uninstall.exe" /S' /> | |
| − | + | </package> | |
| − | + | ||
| − | + | ||
| − | + | ||
</packages> | </packages> | ||
</source> | </source> | ||
| − | === FileZilla 3.xx with defaults === | + | === FileZilla Client 3.xx with defaults === |
| Line 63: | Line 56: | ||
> | > | ||
| − | + | <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%" | |
| − | + | /> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | <install cmd='%SOFTWARE%\filezilla\FileZilla_%version%_win32-setup.exe /S' /> | |
| − | + | ||
| − | + | <install cmd='%COMSPEC% /c if exist "%PROGFILES%\FileZilla FTP Client" copy /y /v "%SOFTWARE%\filezilla\fzdefaults.xml" "%PROGFILES(x86)%\FileZilla FTP Client\"' /> | |
<upgrade cmd='%SOFTWARE%\filezilla\FileZilla_%version%_win32-setup.exe /S' /> | <upgrade cmd='%SOFTWARE%\filezilla\FileZilla_%version%_win32-setup.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> | </package> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</packages> | </packages> | ||
</source> | </source> | ||
[[Category: Silent Installers]] | [[Category: Silent Installers]] | ||
Revision as of 20:51, 16 January 2014
This is a silent installer for FileZilla Client, a free FTP client.
FileZilla Client 3.xx
Simple FileZilla Client 3.xx installation
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="filezilla"
name="FileZilla"
revision="%version%"
priority="0"
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%"
/>
<install cmd='%SOFTWARE%\filezilla\FileZilla_%version%_win32-setup.exe /S' />
<upgrade cmd='%SOFTWARE%\filezilla\FileZilla_%version%_win32-setup.exe /S' />
<remove cmd='%COMSPEC% /c if exist "%PROGFILES%\FileZilla FTP Client\uninstall.exe" "%PROGFILES%\FileZilla FTP Client\uninstall.exe" /S' />
</package>
</packages>
FileZilla Client 3.xx with defaults
Get fzdefaults.xml from filezilla doc sub-directory (C:\Program Files\FileZilla FTP Client\docs\fzdefaults.xml.example) and edit to your liking (e.g. Disable Automatic update).
<packages>
<package
id="filezilla"
name="FileZilla"
revision="%version%"
priority="1"
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%"
/>
<install cmd='%SOFTWARE%\filezilla\FileZilla_%version%_win32-setup.exe /S' />
<install cmd='%COMSPEC% /c if exist "%PROGFILES%\FileZilla FTP Client" copy /y /v "%SOFTWARE%\filezilla\fzdefaults.xml" "%PROGFILES(x86)%\FileZilla FTP Client\"' />
<upgrade cmd='%SOFTWARE%\filezilla\FileZilla_%version%_win32-setup.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>