1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-27 18:09:01 +00:00

o Fixed Nmap Winpcap installer to use CurrentVersion registry key on

Windows rather than VersionNumber to more reliably detect Vista
  machines.  This should prevent the XP version of Packet.dll from
  being installed on Vista. [Rob Nicholls]
This commit is contained in:
fyodor
2007-12-23 06:25:35 +00:00
parent d1fd7cd43a
commit f3d9c4093e
2 changed files with 10 additions and 6 deletions

View File

@@ -1,5 +1,10 @@
# Nmap Changelog ($Id$); -*-text-*-
o Fixed Nmap Winpcap installer to use CurrentVersion registry key on
Windows rather than VersionNumber to more reliably detect Vista
machines. This should prevent the XP version of Packet.dll from
being installed on Vista. [Rob Nicholls]
o Added nmap.fetchfile() function for scripts so they can easily find
Nmap's nmap-* data files. [Kris]

View File

@@ -107,13 +107,12 @@ Section "" ;No components page, name is not important
File wpcap.dll
; Check windows version
ReadRegStr $R0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" VersionNumber
StrCmp $R0 '6.0'vista_files no_vista_files
ReadRegStr $R0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
StrCmp $R0 '6.0' vista_files
no_vista_files:
File Packet.dll
File WanPacket.dll
Goto install
File Packet.dll
File WanPacket.dll
Goto install
vista_files:
File vista\Packet.dll