This shows you the differences between two versions of the page.
userspace:citrix_online_plugin [2011/12/12 09:41] Spoxs created |
userspace:citrix_online_plugin [2021/08/23 08:37] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | === Citrix Online Plugin 12.1 === | ||
- | Dieses Plugin installiert das Citrix Online Plugin als Fullinstallation. | ||
- | Dazu wird der Citrix Client entsprechend mit Signle Sign On an der eigenen Citrix Farm aktiviert, ICA Dateien mit dem Plugin verknüpft. | ||
- | |||
- | Getestet auf Windows XP 32-Bit und Windows 7 64-Bit | ||
- | |||
- | Fragen an // | ||
- | |||
- | Meine Verzeichnisstruktur: | ||
- | < | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | </ | ||
- | |||
- | ==== setup.ins ==== | ||
- | <code winst> | ||
- | |||
- | [Actions] | ||
- | requiredWinstVersion >= " | ||
- | |||
- | DefVar $LogDir$ | ||
- | DefVar $ProductId$ | ||
- | DefVar $MinimumSpace$ | ||
- | DefVar $InstallDir32$ | ||
- | DefVar $ExitCode$ | ||
- | DefVar $INST_SystemType$ | ||
- | DefVar $INST_architecture$ | ||
- | DefVar $OSVersion$ | ||
- | DefVar $INST_MsVersion$ | ||
- | |||
- | ;############################################################# | ||
- | ;########## Set Varaibles ########## | ||
- | ;############################################################# | ||
- | |||
- | Set $INST_SystemType$ = GetSystemType | ||
- | set $INST_architecture$ = GetProductProperty(" | ||
- | Set $LogDir$ = " | ||
- | Set $ProductId$ | ||
- | Set $MinimumSpace$ | ||
- | Set $InstallDir32$ | ||
- | ; OS Version: 5.0 = W2K; 5.1 = XP; 5.2 = XP64, | ||
- | Set $OSVersion$ = " | ||
- | Set $INST_MsVersion$ = GetMSVersionInfo | ||
- | |||
- | |||
- | ;############################################################# | ||
- | ;########## Check Systemrequirements ########## | ||
- | ;############################################################# | ||
- | |||
- | if not(HasMinimumSpace (" | ||
- | LogError "Not enough space on %SystemDrive%, | ||
- | isFatalError | ||
- | ; Stop process and set installation status to failed | ||
- | else | ||
- | comment "Show product picture" | ||
- | ShowBitmap " | ||
- | endif | ||
- | |||
- | if $INST_MsVersion$ < $OSVersion$ | ||
- | LogError "The OS Version is not required for $ProductID$" | ||
- | isFatalError | ||
- | ; Stop process and set installation status to failed | ||
- | endif | ||
- | |||
- | ;############################################################# | ||
- | ;########## | ||
- | ;############################################################# | ||
- | |||
- | Winbatch_install | ||
- | |||
- | Sub_check_exitcode | ||
- | |||
- | ;############################################################# | ||
- | ;########## | ||
- | ;############################################################# | ||
- | |||
- | [Winbatch_install] | ||
- | " | ||
- | |||
- | [Sub_check_exitcode] | ||
- | comment "Test for installation success via exit code" | ||
- | set $ExitCode$ = getLastExitCode | ||
- | ; informations to exit codes see | ||
- | ; http:// | ||
- | ; http:// | ||
- | if ($ExitCode$ = " | ||
- | comment "Looks good: setup program gives exitcode zero" | ||
- | else | ||
- | comment "Setup program gives a exitcode unequal zero: " + $ExitCode$ | ||
- | if ($ExitCode$ = " | ||
- | comment " | ||
- | comment " | ||
- | else | ||
- | if ($ExitCode$ = " | ||
- | comment "looks good: setup program gives exitcode 1641" | ||
- | comment " | ||
- | else | ||
- | if ($ExitCode$ = " | ||
- | comment "looks good: setup program gives exitcode 3010" | ||
- | comment " | ||
- | else | ||
- | logError " | ||
- | isFatalError | ||
- | endif | ||
- | endif | ||
- | endif | ||
- | endif | ||
- | ;############################################################# | ||
- | ;########## End of Script ########## | ||
- | ;############################################################# | ||
- | </ | ||
- | |||
- | |||
- | ==== unistall.ins ==== | ||
- | <code winst> | ||
- | |||
- | [Actions] | ||
- | requiredWinstVersion >= " | ||
- | |||
- | ;############################################################# | ||
- | ;######### | ||
- | ;############################################################# | ||
- | |||
- | DefVar $MsiId32$ | ||
- | DefVar $UninstallProgram$ | ||
- | DefVar $LogDir$ | ||
- | DefVar $ExitCode$ | ||
- | DefVar $ProductId$ | ||
- | DefVar $InstallDir32$ | ||
- | DefVar $Bitmap$ | ||
- | DefVar $MsiId64$ | ||
- | |||
- | ;############################################################# | ||
- | ;######### | ||
- | ;############################################################# | ||
- | |||
- | Set $ProductId$ | ||
- | Set $InstallDir32$ | ||
- | Set $Bitmap$ = " | ||
- | Set $LogDir$ = " | ||
- | Set $MsiId32$ = " | ||
- | |||
- | ;############################################################# | ||
- | ;######### | ||
- | ;############################################################# | ||
- | |||
- | comment "Show product picture" | ||
- | ShowBitmap $Bitmap$ $ProductId$ | ||
- | |||
- | ;############################################################# | ||
- | ;########## | ||
- | ;############################################################# | ||
- | |||
- | Winbatch_uninstall | ||
- | Sub_check_exitcode | ||
- | |||
- | ;############################################################# | ||
- | ;########## | ||
- | ;############################################################# | ||
- | |||
- | [Winbatch_uninstall] | ||
- | " | ||
- | |||
- | [Sub_check_exitcode] | ||
- | comment "Test for installation success via exit code" | ||
- | set $ExitCode$ = getLastExitCode | ||
- | ; informations to exit codes see | ||
- | ; http:// | ||
- | ; http:// | ||
- | if ($ExitCode$ = " | ||
- | comment "Looks good: setup program gives exitcode zero" | ||
- | else | ||
- | comment "Setup program gives a exitcode unequal zero: " + $ExitCode$ | ||
- | if ($ExitCode$ = " | ||
- | comment " | ||
- | comment " | ||
- | else | ||
- | if ($ExitCode$ = " | ||
- | comment "looks good: setup program gives exitcode 1641" | ||
- | comment " | ||
- | else | ||
- | if ($ExitCode$ = " | ||
- | comment "looks good: setup program gives exitcode 3010" | ||
- | comment " | ||
- | else | ||
- | logError " | ||
- | isFatalError | ||
- | endif | ||
- | endif | ||
- | endif | ||
- | endif | ||
- | ;############################################################# | ||
- | ;########## End of Script ########## | ||
- | ;############################################################# | ||
- | </ |