Ignore:
Timestamp:
Jul 4, 2012, 6:53:50 PM (12 years ago)
Author:
joergs
Message:

bugfixes, uninstall, properties, bacula-fd.conf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • opsi/products/bacula/CLIENT_DATA/delsub3264.ins

    r1022 r1023  
    55
    66
    7 Set $MsiId32$ = '{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}'
     7;Set $MsiId32$ = 'Bacula'
    88Set $UninstallProgram32$ = $InstallDir32$ + "\uninstall.exe"
    99
    10 Set $MsiId64$ = '{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}'
     10;Set $MsiId64$ = 'Bacula'
    1111Set $UninstallProgram64$ = $InstallDir64$ + "\uninstall.exe"
    1212
     
    2020        endif
    2121
    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_32
    25                 sub_check_exitcode
    26         endif
     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_32
     25        ;       sub_check_exitcode
     26        ;endif
    2727       
    28         comment "Delete files"
    29         Files_uninstall_32 /32Bit
    30         comment "Cleanup registry"
    31         Registry_uninstall /32Bit
     28        ;comment "Delete files"
     29        ;Files_uninstall_32 /32Bit
     30        ;comment "Cleanup registry"
     31        ;Registry_uninstall /32Bit
    3232endif
    3333
     
    4141        endif
    4242
    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_64
    46                 sub_check_exitcode
    47         endif
     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_64
     46        ;       sub_check_exitcode
     47        ;endif
    4848       
    49         comment "Delete files"
    50         Files_uninstall_64 /64Bit
    51         comment "Cleanup registry"
    52         Registry_uninstall /64Bit
     49        ;comment "Delete files"
     50        ;Files_uninstall_64 /64Bit
     51        ;comment "Cleanup registry"
     52        ;Registry_uninstall /64Bit
    5353endif
    5454
    55 comment "Delete program shortcuts"
    56 LinkFolder_uninstall
     55;comment "Delete program shortcuts"
     56;LinkFolder_uninstall
    5757
    5858[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
    6664
    6765
     
    7472; delete -sf "$InstallDir32$\"
    7573
    76 [Winbatch_uninstall_64]
    77 ; Choose one of the following examples as basis for program uninstall
    78 ;
    79 ; === Nullsoft Scriptable Install System ================================================================
    80 ; "$UninstallProgram64$" /S
    81 ;
    82 ; === Inno Setup ========================================================================================
    83 ; "$UninstallProgram64$" /silent /norestart /SUPPRESSMSGBOXES /nocancel
    8474
    8575
Note: See TracChangeset for help on using the changeset viewer.