Changeset 950 for opsi/products/xenserver-tools/CLIENT_DATA
- Timestamp:
- Jun 18, 2011, 11:42:56 PM (13 years ago)
- Location:
- opsi/products/xenserver-tools/CLIENT_DATA
- Files:
-
- 1 added
- 6 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
opsi/products/xenserver-tools/CLIENT_DATA/delsub.ins
r949 r950 5 5 6 6 7 Set $MsiId32$ = '{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}' 8 Set $UninstallProgram32$ = $InstallDir32$ + "\uninstall.exe" 7 ;Set $MsiId32$ = '{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}' 8 ;Set $MsiId32$ = 'Citrix XenTools' 9 Set $UninstallProgram32$ = $InstallDir32$ + "\uninstaller.exe" 9 10 10 Set $MsiId64$ = '{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}' 11 Set $UninstallProgram32$ = $InstallDir64$ + "\uninstall.exe" 11 if FileExists($UninstallProgram32$) 12 comment "Uninstall program found (32 bit), starting uninstall" 13 Winbatch_uninstall_32 14 sub_check_exitcode 15 ExitWindows /Reboot 16 endif 17 18 if FileExists($UninstallProgram64$) 19 comment "Uninstall program found (64 bit), starting uninstall" 20 Winbatch_uninstall_64 21 sub_check_exitcode 22 ExitWindows /Reboot 23 endif 24 25 26 ;Set $MsiId64$ = '{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}' 27 ;Set $MsiId64$ = 'Citrix XenTools' 28 Set $UninstallProgram64$ = $InstallDir64$ + "\uninstaller.exe" 12 29 13 30 if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") 14 31 Message "Uninstalling " + $ProductId$ + " 32 Bit..." 15 32 16 if FileExists($UninstallProgram32$)17 comment "Uninstall program found, starting uninstall"18 Winbatch_uninstall_3219 sub_check_exitcode20 endif33 ; if FileExists($UninstallProgram32$) 34 ; comment "Uninstall program found, starting uninstall" 35 ; Winbatch_uninstall_32 36 ; sub_check_exitcode 37 ; endif 21 38 22 39 if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId32$ + "] DisplayName") = "") … … 35 52 Message "Uninstalling " + $ProductId$ + " 64 Bit..." 36 53 37 if FileExists($UninstallProgram64$)38 comment "Uninstall program found, starting uninstall"39 Winbatch_uninstall_6440 sub_check_exitcode41 endif54 ; if FileExists($UninstallProgram64$) 55 ; comment "Uninstall program found, starting uninstall" 56 ; Winbatch_uninstall_64 57 ; sub_check_exitcode 58 ; endif 42 59 43 60 if not (GetRegistryStringValue64("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId64$ + "] DisplayName") = "") … … 61 78 ; === Nullsoft Scriptable Install System ================================================================ 62 79 ; "$UninstallProgram32$" /S 63 ; 80 "$UninstallProgram32$" /S /norestart 81 64 82 ; === Inno Setup ======================================================================================== 65 83 ; "$UninstallProgram32$" /silent /norestart … … 78 96 ; 79 97 ; === Nullsoft Scriptable Install System ================================================================ 80 ; "$UninstallProgram64$" /S 81 ; 98 ; "$UninstallProgram64$" /S 99 "$UninstallProgram64$" /S /norestart 100 82 101 ; === Inno Setup ======================================================================================== 83 102 ; "$UninstallProgram64$" /silent /norestart -
opsi/products/xenserver-tools/CLIENT_DATA/setup.ins
r949 r950 35 35 ; therefore please: only lower letters, no umlauts, 36 36 ; no white space use '-' as a seperator 37 Set $ProductId$ = " opsi-template"37 Set $ProductId$ = "xenserver-tools" 38 38 Set $MinimumSpace$ = "1 MB" 39 39 ; the path were we find the product after the installation 40 Set $InstallDir32$ = "%ProgramFiles32Dir%\ <path to the product>"41 Set $InstallDir64$ = "%ProgramFiles64Dir%\ <path to the product>"40 Set $InstallDir32$ = "%ProgramFiles32Dir%\Citrix\XenTools" 41 Set $InstallDir64$ = "%ProgramFiles64Dir%\Citrix\XenTools" 42 42 Set $LicenseRequired$ = "false" 43 43 Set $LicensePool$ = "p_" + $ProductId$ … … 89 89 LinkFolder_install 90 90 endif 91 92 ExitWindows /Reboot 91 93 92 94 endif … … 98 100 ; === Nullsoft Scriptable Install System ================================================================ 99 101 ; "%ScriptPath%\Setup.exe" /S 102 %ScriptPath%/xensetup.exe /S /norestart 103 100 104 ; 101 105 ; === MSI package ======================================================================================= … … 129 133 ; === Nullsoft Scriptable Install System ================================================================ 130 134 ; "%ScriptPath%\Setup.exe" /S 135 %ScriptPath%/xensetup.exe /S /norestart 136 131 137 ; 132 138 ; === MSI package ======================================================================================= -
opsi/products/xenserver-tools/CLIENT_DATA/uninstall.ins
r949 r950 30 30 ; - Please edit the following values - 31 31 ; ---------------------------------------------------------------- 32 Set $ProductId$ = " opsi-template"33 Set $InstallDir32$ = "%ProgramFiles32Dir%\ <path to the product>"34 Set $InstallDir64$ = "%ProgramFiles64Dir%\ <path to the product>"32 Set $ProductId$ = "xenserver-tools" 33 Set $InstallDir32$ = "%ProgramFiles32Dir%\Citrix\XenTools" 34 Set $InstallDir64$ = "%ProgramFiles64Dir%\Citrix\XenTools" 35 35 Set $LicenseRequired$ = "false" 36 36 Set $LicensePool$ = "p_" + $ProductId$
Note:
See TracChangeset
for help on using the changeset viewer.