This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
userspace:filezilla_client [2014/01/27 13:46] bobzbobz created |
userspace:filezilla_client [2021/08/23 08:37] (current) |
||
---|---|---|---|
Line 21: | Line 21: | ||
├ FileZilla_X.X.X_win32-setup.exe | ├ FileZilla_X.X.X_win32-setup.exe | ||
└ fzdefaults.xml | └ 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=" | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | --> | ||
+ | </ | ||
</ | </ |