Difference between revisions of "FileZilla"
From WPKG | Open Source Software Deployment and Distribution
(Fix FileZilla 3.xx with defaults (missing ")) |
(Updated to 3.xx to 3.5.0, now using %version% variable) |
||
Line 12: | Line 12: | ||
<package | <package | ||
id="filezilla" | id="filezilla" | ||
− | name="FileZilla | + | name="FileZilla" |
− | revision=" | + | revision="%version%" |
priority="0" | priority="0" | ||
reboot="false"> | reboot="false"> | ||
+ | |||
+ | <variable name="version" value="3.5.0" /> | ||
<!-- User can upgrade their version we have to check the binary version | <!-- User can upgrade their version we have to check the binary version | ||
Line 24: | Line 26: | ||
condition="versiongreaterorequal" | condition="versiongreaterorequal" | ||
path="%PROGRAMFILES%\FileZilla FTP Client\filezilla.exe" | path="%PROGRAMFILES%\FileZilla FTP Client\filezilla.exe" | ||
− | value=" | + | value="%version%" |
/> | /> | ||
<check | <check | ||
Line 30: | Line 32: | ||
condition="versiongreaterorequal" | condition="versiongreaterorequal" | ||
path="%PROGRAMFILES(x86)%\FileZilla FTP Client\filezilla.exe" | path="%PROGRAMFILES(x86)%\FileZilla FTP Client\filezilla.exe" | ||
− | value=" | + | value="%version%" |
/> | /> | ||
</check> | </check> | ||
− | <install cmd='%SOFTWARE%\filezilla\ | + | <install cmd='%SOFTWARE%\filezilla\FileZilla_%version%_win32-setup.exe /S' /> |
− | <upgrade cmd='%SOFTWARE%\filezilla\ | + | <upgrade cmd='%SOFTWARE%\filezilla\FileZilla_%version%_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%\FileZilla FTP Client\uninstall.exe" "%PROGRAMFILES%\FileZilla FTP Client\uninstall.exe" /S' /> | ||
Line 56: | Line 58: | ||
id="filezilla" | id="filezilla" | ||
name="FileZilla" | name="FileZilla" | ||
− | revision=" | + | revision="%version%" |
priority="1" | priority="1" | ||
reboot="false" | reboot="false" | ||
> | > | ||
+ | |||
+ | <variable name="version" value="3.5.0" /> | ||
<!-- User can upgrade their version we have to check the binary version | <!-- User can upgrade their version we have to check the binary version | ||
Line 68: | Line 72: | ||
condition="versiongreaterorequal" | condition="versiongreaterorequal" | ||
path="%PROGRAMFILES%\FileZilla FTP Client\filezilla.exe" | path="%PROGRAMFILES%\FileZilla FTP Client\filezilla.exe" | ||
− | value=" | + | value="%version%" |
/> | /> | ||
<check | <check | ||
Line 74: | Line 78: | ||
condition="versiongreaterorequal" | condition="versiongreaterorequal" | ||
path="%PROGRAMFILES(x86)%\FileZilla FTP Client\filezilla.exe" | path="%PROGRAMFILES(x86)%\FileZilla FTP Client\filezilla.exe" | ||
− | value=" | + | value="%version%" |
/> | /> | ||
</check> | </check> | ||
− | <install cmd='%SOFTWARE%\filezilla\ | + | <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%\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(x86)%\FileZilla FTP Client\"' /> | <install cmd='%COMSPEC% /c if exist "%PROGRAMFILES(x86)%\FileZilla FTP Client copy /y /v "%SOFTWARE%\filezilla\fzdefaults.xml" "%PROGRAMFILES(x86)%\FileZilla FTP Client\"' /> | ||
− | <upgrade cmd='%SOFTWARE%\filezilla\ | + | <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%\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\"' /> | <upgrade cmd='%COMSPEC% /c if exist "%PROGRAMFILES(x86)%\FileZilla FTP Client" copy /y /v "%SOFTWARE%\filezilla\fzdefaults.xml" "%PROGRAMFILES%\FileZilla FTP Client\"' /> |
Revision as of 10:12, 24 June 2011
This is a silent installer for FileZilla Client, a free FTP client.
Contents
FileZilla 3.xx
Simple FileZilla 3.xx installation
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="filezilla"
name="FileZilla"
revision="%version%"
priority="0"
reboot="false">
<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="%PROGRAMFILES%\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' />
<upgrade cmd='%SOFTWARE%\filezilla\FileZilla_%version%_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>
FileZilla 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 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="%PROGRAMFILES%\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)%\FileZilla FTP Client copy /y /v "%SOFTWARE%\filezilla\fzdefaults.xml" "%PROGRAMFILES(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' />
</package>
</packages>
FileZilla 2.xx
<?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>