Difference between revisions of "FileZilla"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(new version FileZilla_3.1.6)
Line 50: Line 50:
 
</packages>
 
</packages>
 
</source>
 
</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]]
 
[[Category: Silent Installers]]

Revision as of 15:37, 27 July 2009

This is a silent installer for FileZilla 2.

<?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>

Or for version 3.

<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>

Or for version 3 with defaults. Get fzdefaults.xml from filezilla doc sub-directory and edit to your liking (e.g. Disable Automatic update).

<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>