mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
merge soc07 r5283 - prelim umit windows build integration
This commit is contained in:
parent
4fa5dfe4f7
commit
e50380f9d7
2 changed files with 14 additions and 0 deletions
|
|
@ -28,6 +28,9 @@ winbuild:
|
|||
cd Release && cp -f $(NSE_LIB_FILES) ../nmap-$(NMAP_VERSION)/nselib/
|
||||
zip -r nmap-$(NMAP_VERSION)-win32.zip nmap-$(NMAP_VERSION)
|
||||
cp winpcap/winpcap-nmap-*.exe nmap-$(NMAP_VERSION)
|
||||
cd nmap-$(NMAP_VERSION) && mkdir umit
|
||||
cd ../umit && utils/copy_win_deps.bat
|
||||
cp -R ../umit/dist/* ../umit/COPYING* ../umit/README nmap-$(NMAP_VERSION)/umit
|
||||
cp nsis/AddToPath.nsh nsis/Nmap.nsi nmap-$(NMAP_VERSION)
|
||||
$(MAKENSIS) nmap-$(NMAP_VERSION)/Nmap.nsi
|
||||
mv nmap-$(NMAP_VERSION)/NmapInstaller.exe nmap-$(NMAP_VERSION)-setup.exe
|
||||
|
|
|
|||
|
|
@ -107,6 +107,13 @@ Section "Network Performance Improvements (Registry Changes)" SecPerfRegistryMod
|
|||
File ..\nmap_performance.reg
|
||||
Exec 'regedt32 /S "$INSTDIR\nmap_performance.reg"'
|
||||
SectionEnd
|
||||
|
||||
Section "UMIT (GUI frontend)" SecUmit
|
||||
File /r ..\nmap-${VERSION}\umit
|
||||
CreateShortCut "$DESKTOP\Nmap - UMIT GUI.lnk" "$INSTDIR\umit\umit.exe"
|
||||
CreateDirectory "$SMPROGRAMS\Nmap"
|
||||
CreateShortcut "$SMPROGRAMS\Nmap\Nmap - UMIT GUI.lnk" "$INSTDIR\umit\umit.exe"
|
||||
SectionEnd
|
||||
|
||||
;--------------------------------
|
||||
;Descriptions
|
||||
|
|
@ -166,6 +173,10 @@ Section "Uninstall"
|
|||
DetailPrint "Unregistering Nmap Path..."
|
||||
Push $INSTDIR
|
||||
Call un.RemoveFromPath
|
||||
|
||||
Delete "$DESKTOP\Nmap - UMIT GUI.lnk"
|
||||
Delete "$SMPROGRAMS\Nmap\Nmap - UMIT GUI.lnk"
|
||||
RMDIR "$SMPROGRAMS\Nmap"
|
||||
|
||||
SetDetailsPrint both
|
||||
SectionEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue