mirror of
https://github.com/nmap/nmap.git
synced 2026-06-24 18:18:08 +00:00
Update the uninstall registry key for the upgraded vcredist_x86.exe package
(r13075). (See http://seclists.org/nmap-dev/2009/q3/0164.html )
This commit is contained in:
parent
4530194599
commit
b1ca97694d
1 changed files with 4 additions and 4 deletions
|
|
@ -175,8 +175,8 @@ Section "Nmap Core Files" SecCore
|
|||
WriteRegStr HKCU "Software\Nmap" "" $INSTDIR
|
||||
|
||||
;Check if VC++ 2008 runtimes are already installed:
|
||||
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}" "DisplayName"
|
||||
StrCmp $0 "Microsoft Visual C++ 2008 Redistributable - x86 9.0.21022" create_uninstaller vcredist_silent_install
|
||||
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9A25302D-30C0-39D9-BD6F-21E6EC160475}" "DisplayName"
|
||||
StrCmp $0 "Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.17" create_uninstaller vcredist_silent_install
|
||||
|
||||
;If VC++ 2008 runtimes are not installed...
|
||||
vcredist_silent_install:
|
||||
|
|
@ -184,8 +184,8 @@ Section "Nmap Core Files" SecCore
|
|||
File ..\vcredist_x86.exe
|
||||
ExecWait '"$INSTDIR\vcredist_x86.exe" /q' $0
|
||||
;Check for successful installation of our vcredist_x86.exe...
|
||||
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}" "DisplayName"
|
||||
StrCmp $0 "Microsoft Visual C++ 2008 Redistributable - x86 9.0.21022" vcredist_success vcredist_not_present
|
||||
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9A25302D-30C0-39D9-BD6F-21E6EC160475}" "DisplayName"
|
||||
StrCmp $0 "Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.17" vcredist_success vcredist_not_present
|
||||
vcredist_not_present:
|
||||
DetailPrint "Microsoft Visual C++ 2008 Redistributable failed to install"
|
||||
IfSilent create_uninstaller vcredist_messagebox
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue