Sunday, December 2, 2018

How to create a package with Wireshark and WinPcap

Untitled

As some of you may know, unfortunately isn’t possible to install Wireshark silently with WinPcap.
Well, at least, isn’t possible to do it, just using the Wireshark package alone, although you can install it if you’re running the “normal” user interface.

If you need to create a package to install Wireshark and WinPcap, follow these steps:

  1. Download the latest version of Wireshark here
  2. Now, you need to download Nmap (zip format) that includes WinPcap
  3. So, now that you have both Wireshark and WinPcap, you just need to create a package with your favorite packaging software to install both.


Just a little more info.

To install Wireshark silently:

  • /S runs the installer or uninstaller silently with default values. The silent installer will not install WinPCap.
  • /desktopicon installation of the desktop icon, =yes - force installation, =no - don’t install, otherwise use default settings. This option can be useful for a silent installer.
  • /quicklaunchicon installation of the quick launch icon, =yes - force installation, =no - don’t install, otherwise use default settings.
  • /D sets the default installation directory ($INSTDIR), overriding InstallDir and InstallDirRegKey. It must be the last parameter used in the command line and must not contain any quotes even if the path contains spaces.
  • /NCRC disables the CRC check. We recommend against using this flag.

To install WinPcap silently:

  • /S runs the installer in silent mode


And…that’s it!

No comments:

Post a Comment