Remove legacy unistall vom 64bit and update ini file

This commit is contained in:
Mario Fetka 2016-09-07 09:46:36 +02:00
parent 9ad0cfa87d
commit 16177f8e9c
2 changed files with 2 additions and 14 deletions

View File

@ -81,24 +81,12 @@ if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system spe
endif
endif
if FileExists($IniFile64$)
Set $MsiIdLegacyHelpDe64$ = GetValueFromInifile($IniFile64$,"X86_64","MsiIdHelpDe","{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}")
if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiIdLegacyHelpDe64$ + "] DisplayName") = "")
comment "Legacy MSI id " + $MsiIdLegacyHelpDe64$ + " found in registry, starting msiexec to uninstall legacy version"
Winbatch_uninstall_msi_legacy_help_de_64
sub_check_exitcode
endif
Set $MsiIdOldHelpDe64$ = GetValueFromInifile($IniFile64$,"X86_64","MsiIdHelpDe64","{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}")
if not (GetRegistryStringValue64("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiIdOldHelpDe64$ + "] DisplayName") = "")
comment "Old MSI id " + $MsiIdOldHelpDe64$ + " found in registry, starting msiexec to uninstall old version"
Winbatch_uninstall_msi_old_help_de_64
sub_check_exitcode
endif
Set $MsiIdLegacy64$ = GetValueFromInifile($IniFile64$,"X86_64","MsiId","{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}")
if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiIdLegacy64$ + "] DisplayName") = "")
comment "Legacy MSI id " + $MsiIdLegacy64$ + " found in registry, starting msiexec to uninstall legacy version"
Winbatch_uninstall_msi_legacy_64
sub_check_exitcode
endif
Set $MsiIdOld64$ = GetValueFromInifile($IniFile64$,"X86_64","MsiId64","{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}")
if not (GetRegistryStringValue64("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiIdOld64$ + "] DisplayName") = "")
comment "Old MSI id " + $MsiIdOld64$ + " found in registry, starting msiexec to uninstall old version"

View File

@ -1,6 +1,6 @@
[X86]
MsiId={8EA569F1-97AF-4C3E-A0CB-4846C2D35A81}
MsiIdHelpDe={766DEEF2-5E05-42EF-B4BC-1BB0D2888229}
MsiId32={8EA569F1-97AF-4C3E-A0CB-4846C2D35A81}
MsiIdHelpDe32={766DEEF2-5E05-42EF-B4BC-1BB0D2888229}
[COMMON]