diff --git a/mswin32/Makefile b/mswin32/Makefile
index b4b01073c..16aaccf44 100644
--- a/mswin32/Makefile
+++ b/mswin32/Makefile
@@ -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/
diff --git a/mswin32/nmap.vcproj b/mswin32/nmap.vcproj
index e271458ac..cf49f3b38 100644
--- a/mswin32/nmap.vcproj
+++ b/mswin32/nmap.vcproj
@@ -107,7 +107,7 @@
/>
diff --git a/mswin32/nsis/Nmap.nsi b/mswin32/nsis/Nmap.nsi
index 150d745ee..293726cde 100644
--- a/mswin32/nsis/Nmap.nsi
+++ b/mswin32/nsis/Nmap.nsi
@@ -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"