Wireshark

Wireshark uses NSIS:_Nullsoft_Scriptable_Install_System.

The only quirk is that the silent installer does not install Winpcap. http://paperlined.org/apps/wireshark/winpcap_silent_install.html presents solutions, but our chosen one is to simply install Nmap, which handles silent Winpcap installation for us.

Binary at https://1.eu.dl.wireshark.org/win32/Wireshark-win32-1.10.5.exe

<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">

<!--
Note, http://paperlined.org/apps/wireshark/winpcap_silent_install.html warns us that 
the silent installer for Wireshark doesn't include a silent winpcap installer.

Our fix is to depend upon nmap!

Also note that older versions of wireshark may have silent uninstall bugs:
   http://www.wireshark.org/lists/wireshark-bugs/201303/msg00339.html
-->
<package id='wireshark'
        name='Wireshark'
        revision="%version%"
        priority='50'
        reboot='false' >
    <variable name="version" value="1.10.5" />

    <depends
        package-id="nmap" />

    <check type='registry' condition='equals' path='HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wireshark\DisplayVersion' value="%version%" />

    <install cmd='%SOFTWARE%\wireshark\Wireshark-win32-%version%.exe /S' />

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

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

</package>



</packages:packages>