Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / packaging / wix / WiresharkOptionsDlg.wxs
blob1f3e4ce3da5598bf2f35dc4e030c0ea9aa8a8b5c
1 <?xml version="1.0" encoding="UTF-8"?>
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3 <Fragment>
4 <UI>
5 <!--
6 Recommended control sizing and spacing:
7 https://docs.microsoft.com/en-us/windows/win32/uxguide/vis-layout#control-sizing
8 https://docs.microsoft.com/en-us/windows/win32/uxguide/vis-layout#spacing
9 The recommended spacing between unrelated controls is 7, but 10 looks better.
10 -->
11 <Dialog Id="WiresharkOptionsDlg" Width="370" Height="270" Title="!(loc.LicenseAgreementDlg_Title)">
12 <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.LicenseAgreementDlgBannerBitmap)"/>
13 <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0"/>
14 <Control Id="Title" Type="Text" X="14" Y="7" Width="350" Height="15" Transparent="yes" NoPrefix="yes" Text="Packet capture, shortcuts, and file extensions"/>
15 <Control Id="Description" Type="Text" X="20" Y="26" Width="350" Height="15" Transparent="yes" NoPrefix="yes" Text="You must install Npcap in order to capture packets."/>
17 <!-- BannerLine y = 44, 44 + 7 = 51 -->
18 <Control Id="NetworkCapture" Type="Text" X="14" Y="51" Width="350" Height="12" Text="{\WixUI_Font_Bold}Wireshark requires Npcap to capture network packets"/>
19 <Control Id="NetworkCaptureNpcap" Type="Hyperlink" X="20" Y="63" Width="350" Height="11">
20 <Text><![CDATA[<a href="https://npcap.org">Download Npcap</a> (recommended)]]></Text>
21 </Control>
23 <!-- NetworkCaptureNpcap y = 74, 74 + 8 + 10 = 92 -->
24 <Control Id="UsbCapture" Type="Text" X="14" Y="92" Width="350" Height="12" Text="{\WixUI_Font_Bold}Wireshark requires USBPcap to capture USB Packets"/>
25 <Control Id="UsbCaptureUsbPcap" Type="Hyperlink" X="20" Y="104" Width="350" Height="11">
26 <Text><![CDATA[<a href="https://desowin.org/usbpcap/">Download USBPcap</a> (experimental)]]></Text>
27 </Control>
29 <!-- UsbCaptureUsbPcap y = 104, 104 + 8 + 10 = 122 -->
30 <Control Id="Shortcuts" Type="Text" X="14" Y="122" Width="350" Height="11" Text="{\WixUI_Font_Bold}Create Shortcuts"/><!-- h = static text + label spacing = 8 + 3 -->
31 <Control Id="WiresharkStartMenuCB" Type="CheckBox" X="20" Y="133" Width="350" Height="14" CheckBoxValue="1" Property="WIRESHARK_START_MENU" Text="Wireshark Start Menu Item"><!-- h = 10 + 4 -->
32 <Condition Action="enable"><![CDATA[&Fe.Wireshark = 3]]></Condition>
33 <Condition Action="disable"><![CDATA[&Fe.Wireshark <> 3]]></Condition>
34 </Control>
35 <Control Id="WiresharkDesktopIconCB" Type="CheckBox" X="20" Y="147" Width="350" Height="14" CheckBoxValue="1" Property="WIRESHARK_DESKTOP_ICON" Text="Wireshark Desktop Icon">
36 <Condition Action="enable"><![CDATA[&Fe.Wireshark = 3]]></Condition>
37 <Condition Action="disable"><![CDATA[&Fe.Wireshark <> 3]]></Condition>
38 </Control>
39 <Control Id="WiresharkQuickLaunchIconCB" Type="CheckBox" X="20" Y="161" Width="350" Height="14" CheckBoxValue="1" Property="WIRESHARK_QUICK_LAUNCH_ICON" Text="Wireshark Quick Launch Icon">
40 <Condition Action="enable"><![CDATA[&Fe.Wireshark = 3]]></Condition>
41 <Condition Action="disable"><![CDATA[&Fe.Wireshark <> 3]]></Condition>
42 </Control>
44 <!-- WiresharkQuickLaunchIconCB y = 161, 161 + 10 + 10 = 181 -->
45 <Control Id="FileExtensions" Type="Text" X="14" Y="181" Width="350" Height="11" Text="{\WixUI_Font_Bold}Associate File Extensions"/><!-- h = static text + label spacing = 8 + 3 -->
46 <Control Id="FileExtensionsCB" Type="CheckBox" X="20" Y="192" Width="350" Height="14" CheckBoxValue="1" Property="WIRESHARK_FILE_EXTENSIONS" Text="Associate trace file extensions with Wireshark">
47 <Condition Action="enable"><![CDATA[&Fe.Wireshark = 3]]></Condition>
48 <Condition Action="disable"><![CDATA[&Fe.Wireshark <> 3]]></Condition>
49 </Control>
50 <Control Id="FileExtensionsText1" Type="Text" X="20" Y="206" Width="350" Height="11" Transparent="yes" NoPrefix="yes" Text="Extensions include 5vw, acp, apc, atc, bfr, cap, enc, erf, fdc, lcap, mplog, ntar, out,"/>
51 <Control Id="FileExtensionsText2" Type="Text" X="20" Y="217" Width="350" Height="11" Transparent="yes" NoPrefix="yes" Text="pcap, pcapng, pkt, rf5, scap, snoop, syc, tpc, tr1, trace, trc, vwr, wpc, and wpz."/>
53 <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0"/>
54 <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)"/>
55 <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)"/>
56 <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
57 <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
58 </Control>
59 </Dialog>
60 </UI>
61 </Fragment>
62 </Wix>