mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 00:49:01 +00:00
Added nse_main.lua to NSIS installer and zip package.
This commit is contained in:
@@ -22,7 +22,7 @@ winbuild:
|
||||
rm -rf nmap-$(NMAP_VERSION)
|
||||
rm -f nmap-$(NMAP_VERSION)-win32.zip
|
||||
mkdir nmap-$(NMAP_VERSION)
|
||||
cd Release && cp -r ../../CHANGELOG ../../COPYING nmap-mac-prefixes nmap-os-db nmap-protocols nmap-rpc nmap-service-probes nmap-services nmap.exe nmap.xsl ../nmap_performance.reg ../../README-WIN32 ../nmap-$(NMAP_VERSION)/
|
||||
cd Release && cp -r ../../CHANGELOG ../../COPYING nmap-mac-prefixes nmap-os-db nmap-protocols nmap-rpc nmap-service-probes nmap-services nmap.exe nmap.xsl nse_main.lua ../nmap_performance.reg ../../README-WIN32 ../nmap-$(NMAP_VERSION)/
|
||||
cp -f OpenSSL/bin/*.dll ./nmap-$(NMAP_VERSION)/
|
||||
mkdir nmap-$(NMAP_VERSION)/scripts
|
||||
cd Release && cp -f $(NSE_FILES) ../nmap-$(NMAP_VERSION)/scripts/
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="xcopy "$(SolutionDir)..\scripts" ".\$(ConfigurationName)\scripts\" /e /y && xcopy "$(SolutionDir)..\nselib\*.lua" "$(SolutionDir)\$(ConfigurationName)\nselib\" /y && xcopy "$(SolutionDir)\OpenSSL\bin\*.dll" "$(SolutionDir)\$(ConfigurationName)\" /y"
|
||||
CommandLine="xcopy "$(SolutionDir)..\scripts" ".\$(ConfigurationName)\scripts\" /e /y && xcopy "$(SolutionDir)..\nselib\*.lua" "$(SolutionDir)\$(ConfigurationName)\nselib\" /y && xcopy "$(SolutionDir)\OpenSSL\bin\*.dll" "$(SolutionDir)\$(ConfigurationName)\" /y && xcopy "$(SolutionDir)..\nse_main.lua" "$(SolutionDir)\$(ConfigurationName)\" /y"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
@@ -199,7 +199,7 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="xcopy "$(SolutionDir)..\scripts" ".\$(ConfigurationName)\scripts\" /e /y && xcopy "$(SolutionDir)..\nselib\*.lua" "$(SolutionDir)\$(ConfigurationName)\nselib\" /y && xcopy "$(SolutionDir)..\nselib\data\*.*" "$(SolutionDir)\$(ConfigurationName)\nselib\data\" /y && xcopy "$(SolutionDir)\OpenSSL\bin\*.dll" "$(SolutionDir)\$(ConfigurationName)\" /y"
|
||||
CommandLine="xcopy "$(SolutionDir)..\scripts" ".\$(ConfigurationName)\scripts\" /e /y && xcopy "$(SolutionDir)..\nselib\*.lua" "$(SolutionDir)\$(ConfigurationName)\nselib\" /y && xcopy "$(SolutionDir)..\nselib\data\*.*" "$(SolutionDir)\$(ConfigurationName)\nselib\data\" /y && xcopy "$(SolutionDir)\OpenSSL\bin\*.dll" "$(SolutionDir)\$(ConfigurationName)\" /y && xcopy "$(SolutionDir)..\nse_main.lua" "$(SolutionDir)\$(ConfigurationName)\" /y"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
;Get installation folder from registry if available
|
||||
InstallDirRegKey HKCU "Software\Nmap" ""
|
||||
|
||||
!define VERSION "4.85BETA1"
|
||||
VIProductVersion "4.85.0.1"
|
||||
!define VERSION "4.85BETA7"
|
||||
VIProductVersion "4.85.0.7"
|
||||
VIAddVersionKey /LANG=1033 "FileVersion" "${VERSION}"
|
||||
VIAddVersionKey /LANG=1033 "ProductName" "Nmap"
|
||||
VIAddVersionKey /LANG=1033 "CompanyName" "Insecure.org"
|
||||
@@ -160,7 +160,8 @@ Section "Nmap Core Files" SecCore
|
||||
File ..\..\nmap-rpc
|
||||
File ..\..\nmap-service-probes
|
||||
File ..\..\nmap-services
|
||||
File ..\Release\nmap.exe
|
||||
File ..\Release\nmap.exe
|
||||
File ..\Release\nse_main.lua
|
||||
File ..\..\docs\nmap.xsl
|
||||
File ..\nmap_performance.reg
|
||||
File ..\..\README-WIN32
|
||||
@@ -328,7 +329,8 @@ Section "Uninstall"
|
||||
Delete "$INSTDIR\nmap-services"
|
||||
Delete "$INSTDIR\nmap.exe"
|
||||
Delete "$INSTDIR\nmap.xsl"
|
||||
Delete "$INSTDIR\nmap_performance.reg"
|
||||
Delete "$INSTDIR\nmap_performance.reg"
|
||||
Delete "$INSTDIR\nse_main.lua"
|
||||
Delete "$INSTDIR\README-WIN32"
|
||||
Delete "$INSTDIR\icon1.ico"
|
||||
Delete "$INSTDIR\libeay32.dll"
|
||||
|
||||
Reference in New Issue
Block a user