Changeset 1023 for opsi/products/bacula/CLIENT_DATA/delsub3264.ins
- Timestamp:
- Jul 4, 2012, 6:53:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
opsi/products/bacula/CLIENT_DATA/delsub3264.ins
r1022 r1023 5 5 6 6 7 Set $MsiId32$ = '{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}'7 ;Set $MsiId32$ = 'Bacula' 8 8 Set $UninstallProgram32$ = $InstallDir32$ + "\uninstall.exe" 9 9 10 Set $MsiId64$ = '{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}'10 ;Set $MsiId64$ = 'Bacula' 11 11 Set $UninstallProgram64$ = $InstallDir64$ + "\uninstall.exe" 12 12 … … 20 20 endif 21 21 22 if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId32$ + "] DisplayName") = "")23 comment "MSI id " + $MsiId32$ + " found in registry, starting msiexec to uninstall"24 Winbatch_uninstall_msi_3225 sub_check_exitcode26 endif22 ;if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId32$ + "] DisplayName") = "") 23 ; comment "MSI id " + $MsiId32$ + " found in registry, starting msiexec to uninstall" 24 ; Winbatch_uninstall_msi_32 25 ; sub_check_exitcode 26 ;endif 27 27 28 comment "Delete files"29 Files_uninstall_32 /32Bit30 comment "Cleanup registry"31 Registry_uninstall /32Bit28 ;comment "Delete files" 29 ;Files_uninstall_32 /32Bit 30 ;comment "Cleanup registry" 31 ;Registry_uninstall /32Bit 32 32 endif 33 33 … … 41 41 endif 42 42 43 if not (GetRegistryStringValue64("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId64$ + "] DisplayName") = "")44 comment "MSI id " + $MsiId64$ + " found in registry, starting msiexec to uninstall"45 Winbatch_uninstall_msi_6446 sub_check_exitcode47 endif43 ;if not (GetRegistryStringValue64("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId64$ + "] DisplayName") = "") 44 ; comment "MSI id " + $MsiId64$ + " found in registry, starting msiexec to uninstall" 45 ; Winbatch_uninstall_msi_64 46 ; sub_check_exitcode 47 ;endif 48 48 49 comment "Delete files"50 Files_uninstall_64 /64Bit51 comment "Cleanup registry"52 Registry_uninstall /64Bit49 ;comment "Delete files" 50 ;Files_uninstall_64 /64Bit 51 ;comment "Cleanup registry" 52 ;Registry_uninstall /64Bit 53 53 endif 54 54 55 comment "Delete program shortcuts"56 LinkFolder_uninstall55 ;comment "Delete program shortcuts" 56 ;LinkFolder_uninstall 57 57 58 58 [Winbatch_uninstall_32] 59 ; Choose one of the following examples as basis for program uninstall 60 ; 61 ; === Nullsoft Scriptable Install System ================================================================ 62 ; "$UninstallProgram32$" /S 63 ; 64 ; === Inno Setup ======================================================================================== 65 ; "$UninstallProgram32$" /silent /norestart /SUPPRESSMSGBOXES /nocancel 59 "$UninstallProgram32$" /S 60 61 62 [Winbatch_uninstall_64] 63 "$UninstallProgram64$" /S 66 64 67 65 … … 74 72 ; delete -sf "$InstallDir32$\" 75 73 76 [Winbatch_uninstall_64]77 ; Choose one of the following examples as basis for program uninstall78 ;79 ; === Nullsoft Scriptable Install System ================================================================80 ; "$UninstallProgram64$" /S81 ;82 ; === Inno Setup ========================================================================================83 ; "$UninstallProgram64$" /silent /norestart /SUPPRESSMSGBOXES /nocancel84 74 85 75
Note:
See TracChangeset
for help on using the changeset viewer.