diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2016-05-30 21:45:18 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-06-01 04:30:19 +0000 |
commit | 162edec9ad00ec04cb5927482ba1620a354f2037 (patch) | |
tree | 2ddd31f8551550e613e3e6eb93805308b22e74e2 /packaging | |
parent | 16c91568bb4daf63e536c5b1101f3530c177f21f (diff) | |
download | wireshark-162edec9ad00ec04cb5927482ba1620a354f2037.tar.gz |
Register a few more file extensions as belonging to Wireshark.
Register Wireshark for PacketLogger, ERF, IPFIX, and VWR files on
freedesktop.org, OS X, and Windows (we were already registered for ERF and VWR
files on Windows).
Change-Id: I8105997cb15ea06e1c078489fd88763d4ce9e40c
Reviewed-on: https://code.wireshark.org/review/15635
Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/macosx/Info.plist.in | 50 | ||||
-rw-r--r-- | packaging/nsis/AdditionalTasksPage.ini | 4 | ||||
-rwxr-xr-x | packaging/nsis/common.nsh | 5 | ||||
-rw-r--r-- | packaging/wix/ComponentGroups.wxi | 54 |
4 files changed, 109 insertions, 4 deletions
diff --git a/packaging/macosx/Info.plist.in b/packaging/macosx/Info.plist.in index f044c48ba0..456de01ba6 100644 --- a/packaging/macosx/Info.plist.in +++ b/packaging/macosx/Info.plist.in @@ -55,10 +55,58 @@ <key>CFBundleTypeIconFile</key> <string>Wiresharkdoc.icns</string> <key>CFBundleTypeName</key> - <string>Micropross mplog capture</string> + <string>Micropross mplog Capture</string> <key>CFBundleTypeRole</key> <string>Viewer</string> </dict> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>pklg</string> + </array> + <key>CFBundleTypeIconFile</key> + <string>Wiresharkdoc.icns</string> + <key>CFBundleTypeName</key> + <string>OS X PacketLogger Capture</string> + <key>CFBundleTypeRole</key> + <string>Viewer</string> + </dict> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>erf</string> + </array> + <key>CFBundleTypeIconFile</key> + <string>Wiresharkdoc.icns</string> + <key>CFBundleTypeName</key> + <string>Endace ERF Capture</string> + <key>CFBundleTypeRole</key> + <string>Viewer</string> + </dict> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>pfx</string> + <string>ipfix</string> + </array> + <key>CFBundleTypeIconFile</key> + <string>Wiresharkdoc.icns</string> + <key>CFBundleTypeName</key> + <string>IPFIX Packet Capture</string> + <key>CFBundleTypeRole</key> + <string>Viewer</string> + </dict> + <dict> + <key>CFBundleTypeExtensions</key> + <array> + <string>vwr</string> + </array> + <key>CFBundleTypeIconFile</key> + <string>Wiresharkdoc.icns</string> + <key>CFBundleTypeName</key> + <string>Ixia IxVeriWave Packet Capture</string> + <key>CFBundleTypeRole</key> + <string>Viewer</string> <!-- XXX - This dictionary needs a lot more entries --> </array> <key>CFBundleInfoDictionaryVersion</key> diff --git a/packaging/nsis/AdditionalTasksPage.ini b/packaging/nsis/AdditionalTasksPage.ini index 34ac014ef4..29e45db352 100644 --- a/packaging/nsis/AdditionalTasksPage.ini +++ b/packaging/nsis/AdditionalTasksPage.ini @@ -113,7 +113,7 @@ Left=10 Right=280 Top=120 Bottom=128 -Text=Extensions: 5vw, acp, apc, atc, bfr, cap, enc, erf, fdc, mplog, out, pcap, +Text=Extensions: 5vw, acp, apc, atc, bfr, cap, enc, erf, fdc, ipfix, mplog, out, pcap, [Field 13] Type=Label @@ -121,5 +121,5 @@ Left=10 Right=280 Top=130 Bottom=138 -Text=pcapng, pkt, rf5, snoop, syc, tpc, tr1, trace, trc, vwr, wpc, wpz +Text=pcapng, pfx, pklg, pkt, rf5, snoop, syc, tpc, tr1, trace, trc, vwr, wpc, wpz diff --git a/packaging/nsis/common.nsh b/packaging/nsis/common.nsh index d84434141e..3645022b26 100755 --- a/packaging/nsis/common.nsh +++ b/packaging/nsis/common.nsh @@ -105,10 +105,14 @@ Exec '"$SYSDIR\ie4uinit.exe" -ClearIconCache' Push ".snoop" Push ".rf5" Push ".pkt" + Push ".pklg" + Push ".pfx" Push ".pcapng" Push ".pcap" Push ".out" Push ".ntar" + Push ".mplog" + Push ".ipfix" Push ".fdc" Push ".erf" Push ".enc" @@ -118,7 +122,6 @@ Exec '"$SYSDIR\ie4uinit.exe" -ClearIconCache' Push ".apc" Push ".acp" Push ".5vw" - Push ".mplog" !macroend !macro IsWiresharkRunning diff --git a/packaging/wix/ComponentGroups.wxi b/packaging/wix/ComponentGroups.wxi index 05fff89ca9..20aa23a017 100644 --- a/packaging/wix/ComponentGroups.wxi +++ b/packaging/wix/ComponentGroups.wxi @@ -636,6 +636,15 @@ <RegistryValue Root="HKCU" Key="Software\$(var.WiresharkName)" Name="fdc" Type="integer" Value="1" KeyPath="yes"/> <Condition>WIRESHARK_FILE_EXTENSIONS = "0"</Condition> </Component> + <Component Id="cmpFAipfix"> + <ProgId Id="$(var.WiresharkFileAssociation)" Description="ipfix"> + <Extension Id="ipfix"> + <Verb Id="open" Command="open" TargetFile="filWireshark_exe" Argument=""%1""/> + </Extension> + </ProgId> + <RegistryValue Root="HKCU" Key="Software\$(var.WiresharkName)" Name="ipfix" Type="integer" Value="1" KeyPath="yes"/> + <Condition>WIRESHARK_FILE_EXTENSIONS = "0"</Condition> + </Component> <Component Id="cmpFAmplog"> <ProgId Id="$(var.WiresharkFileAssociation)" Description="mplog"> <Extension Id="mplog"> @@ -654,6 +663,15 @@ <RegistryValue Root="HKCU" Key="Software\$(var.WiresharkName)" Name="out" Type="integer" Value="1" KeyPath="yes"/> <Condition>WIRESHARK_FILE_EXTENSIONS = "0"</Condition> </Component> + <Component Id="cmpFApfx"> + <ProgId Id="$(var.WiresharkFileAssociation)" Description="pfx"> + <Extension Id="pfx"> + <Verb Id="open" Command="open" TargetFile="filWireshark_exe" Argument=""%1""/> + </Extension> + </ProgId> + <RegistryValue Root="HKCU" Key="Software\$(var.WiresharkName)" Name="pfx" Type="integer" Value="1" KeyPath="yes"/> + <Condition>WIRESHARK_FILE_EXTENSIONS = "0"</Condition> + </Component> <Component Id="cmpFApcap"> <ProgId Id="$(var.WiresharkFileAssociation)" Description="pcap"> <Extension Id="pcap"> @@ -672,6 +690,15 @@ <RegistryValue Root="HKCU" Key="Software\$(var.WiresharkName)" Name="pcapng" Type="integer" Value="1" KeyPath="yes"/> <Condition>WIRESHARK_FILE_EXTENSIONS = "0"</Condition> </Component> + <Component Id="cmpFApklg"> + <ProgId Id="$(var.WiresharkFileAssociation)" Description="pklg"> + <Extension Id="pklg"> + <Verb Id="open" Command="open" TargetFile="filWireshark_exe" Argument=""%1""/> + </Extension> + </ProgId> + <RegistryValue Root="HKCU" Key="Software\$(var.WiresharkName)" Name="pklg" Type="integer" Value="1" KeyPath="yes"/> + <Condition>WIRESHARK_FILE_EXTENSIONS = "0"</Condition> + </Component> <Component Id="cmpFApkt"> <ProgId Id="$(var.WiresharkFileAssociation)" Description="pkt"> <Extension Id="pkt"> @@ -859,6 +886,15 @@ <RegistryValue Root="HKCU" Key="Software\$(var.WiresharkName)" Name="fdc" Type="integer" Value="1" KeyPath="yes"/> <Condition>WIRESHARK_FILE_EXTENSIONS = "1"</Condition> </Component> + <Component Id="cmpFAipfixLegacy" Guid="00381091-977F-4F50-A2CC-BC1C2AACE81F"> + <ProgId Id="$(var.WiresharkFileAssociation)" Description="ipfix"> + <Extension Id="ipfix"> + <Verb Id="open" Command="open" TargetFile="filWiresharkGTK_exe" Argument=""%1""/> + </Extension> + </ProgId> + <RegistryValue Root="HKCU" Key="Software\$(var.WiresharkName)" Name="ipfix" Type="integer" Value="1" KeyPath="yes"/> + <Condition>WIRESHARK_FILE_EXTENSIONS = "1"</Condition> + </Component> <Component Id="cmpFAmplogLegacy" Guid="7AA152AB-1225-466E-8C33-2DF9E6C1CBCE"> <ProgId Id="$(var.WiresharkFileAssociation)" Description="mplog"> <Extension Id="mplog"> @@ -877,6 +913,15 @@ <RegistryValue Root="HKCU" Key="Software\$(var.WiresharkName)" Name="out" Type="integer" Value="1" KeyPath="yes"/> <Condition>WIRESHARK_FILE_EXTENSIONS = "1"</Condition> </Component> + <Component Id="cmpFApfxLegacy" Guid="75E60C7A-758F-45C9-A9CF-6B87F3609229"> + <ProgId Id="$(var.WiresharkFileAssociation)" Description="pfx"> + <Extension Id="pfx"> + <Verb Id="open" Command="open" TargetFile="filWiresharkGTK_exe" Argument=""%1""/> + </Extension> + </ProgId> + <RegistryValue Root="HKCU" Key="Software\$(var.WiresharkName)" Name="pfx" Type="integer" Value="1" KeyPath="yes"/> + <Condition>WIRESHARK_FILE_EXTENSIONS = "1"</Condition> + </Component> <Component Id="cmpFApcapLegacy" Guid="B419D3B0-2ECA-4F56-A23B-56A9A3FAAB35"> <ProgId Id="$(var.WiresharkFileAssociation)" Description="pcap"> <Extension Id="pcap"> @@ -895,6 +940,15 @@ <RegistryValue Root="HKCU" Key="Software\$(var.WiresharkName)" Name="pcapng" Type="integer" Value="1" KeyPath="yes"/> <Condition>WIRESHARK_FILE_EXTENSIONS = "1"</Condition> </Component> + <Component Id="cmpFApklgLegacy" Guid="3BF582A0-771E-4706-8414-975B24B4250B"> + <ProgId Id="$(var.WiresharkFileAssociation)" Description="pklg"> + <Extension Id="pklg"> + <Verb Id="open" Command="open" TargetFile="filWiresharkGTK_exe" Argument=""%1""/> + </Extension> + </ProgId> + <RegistryValue Root="HKCU" Key="Software\$(var.WiresharkName)" Name="pklg" Type="integer" Value="1" KeyPath="yes"/> + <Condition>WIRESHARK_FILE_EXTENSIONS = "1"</Condition> + </Component> <Component Id="cmpFApktLegacy" Guid="3BF582A0-771E-4706-8414-975B24B4250B"> <ProgId Id="$(var.WiresharkFileAssociation)" Description="pkt"> <Extension Id="pkt"> |