This shows you the differences between two versions of the page.
userspace:filezilla_client [2014/01/27 13:57] bobzbobz |
userspace:filezilla_client [2021/08/23 08:37] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Filezilla Client ====== | ||
- | //Scripts and guide by Soren Birk// | ||
- | **Tested with:** | ||
- | * OPSI 4.0.4.2 | ||
- | * Winst 4.11.3.11 | ||
- | * Windows 7, 64-Bit | ||
- | |||
- | **Instructions: | ||
- | * Create the fzdefaults.xml-file from the template at the bottom of the page. | ||
- | * This will disable auto-update. | ||
- | * You can also preconfigure FTP-connections from the template - just remove the comment-marks (<!-- -->). | ||
- | |||
- | **Tree:** | ||
- | < | ||
- | CLIENT_DATA | ||
- | ├ setup.ins | ||
- | ├ uninstall.ins | ||
- | ├ delsub.ins | ||
- | ├ filezillalogo.png | ||
- | ├ FileZilla_X.X.X_win32-setup.exe | ||
- | └ fzdefaults.xml | ||
- | </ | ||
- | |||
- | ==== setup.ins ==== | ||
- | <code winst> | ||
- | ; Author Soren Birk | ||
- | |||
- | [Actions] | ||
- | requiredWinstVersion >= " | ||
- | |||
- | DefVar $UninstallProgram$ | ||
- | DefVar $LogDir$ | ||
- | DefVar $ProductId$ | ||
- | DefVar $MinimumSpace$ | ||
- | DefVar $InstallDir$ | ||
- | |||
- | Set $LogDir$ = " | ||
- | |||
- | ; ---------------------------------------------------------------- | ||
- | ; - Please edit the following values | ||
- | ; ---------------------------------------------------------------- | ||
- | Set $ProductId$ | ||
- | Set $MinimumSpace$ | ||
- | Set $InstallDir$ | ||
- | ; ---------------------------------------------------------------- | ||
- | |||
- | if not(HasMinimumSpace (" | ||
- | LogError "There is not enough diskspace on %SystemDrive%, | ||
- | isFatalError "Not enough diskspace" | ||
- | ; Stop the process and set status as failed | ||
- | else | ||
- | comment " | ||
- | ShowBitmap " | ||
- | |||
- | if FileExists(" | ||
- | comment "Start uninstall sub section" | ||
- | Sub " | ||
- | endif | ||
- | |||
- | Message " | ||
- | |||
- | comment "Start setup-program" | ||
- | ChangeDirectory " | ||
- | Winbatch_install | ||
- | Sub_check_exitcode | ||
- | |||
- | comment " | ||
- | Files_install /32Bit | ||
- | |||
- | endif | ||
- | |||
- | [Winbatch_install] | ||
- | " | ||
- | |||
- | |||
- | [Files_install] | ||
- | copy -s " | ||
- | |||
- | </ | ||
- | |||
- | ==== uninstall.ins ==== | ||
- | <code winst> | ||
- | ; Author Soren Birk | ||
- | |||
- | [Actions] | ||
- | requiredWinstVersion >= " | ||
- | |||
- | DefVar $UninstallProgram$ | ||
- | DefVar $LogDir$ | ||
- | DefVar $ProductId$ | ||
- | DefVar $InstallDir$ | ||
- | |||
- | Set $LogDir$ = " | ||
- | |||
- | ; ---------------------------------------------------------------- | ||
- | ; - Please edit the folling values | ||
- | ; ---------------------------------------------------------------- | ||
- | Set $ProductId$ | ||
- | Set $InstallDir$ | ||
- | ; ---------------------------------------------------------------- | ||
- | |||
- | |||
- | comment " | ||
- | ShowBitmap " | ||
- | |||
- | Message " | ||
- | |||
- | if FileExists(" | ||
- | comment "Start uninstall sub section" | ||
- | Sub " | ||
- | endif | ||
- | </ | ||
- | |||
- | ==== delsub.ins ==== | ||
- | <code winst> | ||
- | ; Author Soren Birk | ||
- | |||
- | Set $UninstallProgram$ = $InstallDir$ + " | ||
- | |||
- | Message " | ||
- | |||
- | if FileExists($UninstallProgram$) | ||
- | comment "Found the program for uninstallation, | ||
- | Winbatch_uninstall | ||
- | sub_check_exitcode | ||
- | endif | ||
- | |||
- | comment " | ||
- | Files_uninstall /32Bit | ||
- | |||
- | |||
- | [Winbatch_uninstall] | ||
- | " | ||
- | |||
- | [Files_uninstall] | ||
- | del -sf " | ||
- | </ | ||
- | |||
- | ==== fzdefaults.xml ==== | ||
- | <code xml> | ||
- | <?xml version=" | ||
- | < | ||
- | < | ||
- | < | ||
- | <Setting name=" | ||
- | <Setting name=" | ||
- | --> | ||
- | <Setting name=" | ||
- | </ | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | < | ||
- | </ | ||
- | </ | ||
- | --> | ||
- | </ | ||
- | </ |