Nmap Development mailing list archives

Re: bug report: "Microsoft Visual C++ 2010 Redistributable failed to install"


From: jah <jah () zadkiel plus com>
Date: Wed, 23 May 2012 00:47:19 +0100

On 22/05/2012 19:54, SMiller () unimin com wrote:
Installed nmap 6.0 from nmap-6.00-setup on Lenovo T420S running Windows 7
SP1 64-bit. Running from administrator-equivalent profile. Received the
subject error message part way through the install, although the remainder
of the process appeared to complete successfully. Zenmap opens and scan
process runs. Just FYI - no urgency.

Thanks for reporting this.  It's quite likely that the MS Redistributable installed correctly.
The problem is with how the Nmap installer performs its check to see if the redistributable is installed - it does this 
to determine whether the redist needs to be installed and in such cases it then also checks that the redist was indeed 
installed.

The check is to test for the presence of a particular named string value under the registry key:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{196BB40D-1578-3D01-B289-BEFC77A11A1E}
It looks for the DisplayName string which it expects to be "Microsoft Visual C++ 2010  x86 Redistributable - 10.0.30319"

That key doesn't exist in my install of Windows 7 SP1 64-bit - instead it's at
HKLM\SOFTWARE\*Wow6432Node*\Microsoft\Windows\CurrentVersion\Uninstall\{196BB40D-1578-3D01-B289-BEFC77A11A1E}

So, in these cases, as well as incorrectly reporting that the redist wasn't installed, the Nmap installer also launches 
the redist installer unnecessarily.

Scott, would you check whether that key is present under HKLM\SOFTWARE\Wow6432Node on your machine?

Regards,

jah
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: