Nmap

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

Nmap uses NSIS:_Nullsoft_Scriptable_Install_System.

Binary at http://nmap.org/dist/nmap-6.40-setup.exe

Note that at the time of writing Wireshark depends upon this

<packages:packages xmlns:packages="http://www.wpkg.org/packages"
	xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.wpkg.org/packages ../xsd/packages.xsd">

<!--
Options enumerated here: https://svn.nmap.org/nmap/mswin32/nsis/Nmap.nsi.in

You don't seem to get shortcuts with the silent installer.
-->
<package id='nmap'
        name='Nmap'
        revision="%version%"
        priority='50'
        reboot='false' >
    <variable name="version" value="6.40" />

    <check type='uninstall' condition='exists' path='Nmap (%version%)' />

    <install cmd='%SOFTWARE%\nmap\nmap-%version%-setup.exe /S' />

    <remove cmd='"%PROGRAMFILES%\Nmap\uninstall.exe" /S' />

    <upgrade include="install" />
    <downgrade include="upgrade" />

</package>



</packages:packages>