*) Associate Wireshark with p7s, p7m and p7c files (if not already associated).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20582
f5534014-38df-0310-8fa8-
9805f1628bb7
".pfx",
".asn",
".spf",
+ ".p7c",
+ ".p7s",
+ ".p7m",
NULL
};
RegCloseKey(key);
}
- if(!hasWinPcap) {
- /* XXX: we should ask the user if they want to install - and remember it */
+ if(!hasWinPcap &&
+ (MessageBox(NULL,
+ TEXT("If you want to capture packets from the network you will need to install WinPcap.\nIt will be uninstalled when you remove your U3 device.\n\nDo you want to install WinPcap?"),
+ TEXT("U3 Wireshark: Install WinPcap?"),
+ MB_YESNO|MB_TOPMOST|MB_ICONQUESTION) == IDYES)) {
/* compute the U3 path to the WinPcap installation package - it stays on the device */
u3_device_exec_path = getenv("U3_DEVICE_EXEC_PATH");