Revert "drsuapi_dissect_element_DsGetNCChangesCtr6TS_ctr6 dissect_krb5_PAC_NDRHEADERBLOB"
[wireshark-sm.git] / packaging / wix / Wireshark.wxs
blob8421bf0d093d2a05e448907c94faeddfef53757a
1 <?xml version="1.0" encoding="UTF-8"?>
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
4 <?define WiresharkFileAssociation = "wireshark-capture-file" ?>
6 <!-- The path to the installer's End-User License Agreement, displayed during installation -->
7 <?define EulaPath="$(var.AssetDir)\COPYING.rtf"?>
8 <!-- Windows 8 and later supports PNG. Until then we use cave paintings^W^W BMP. -->
9 <?define BannerImagePath="$(var.AssetDir)\banner.bmp"?>
10 <?define DialogImagePath="$(var.AssetDir)\dialog.bmp"?>
11 <!-- Use the application icon in "Programs and Features"
12 This is apparently stored uncompressed, i.e. we should use a dedicated
13 .ico file instead of pointing to wireshark.exe.
14 -->
15 <?define ProgramsFeaturesIconPath="$(var.IconDir)\wireshark.ico"?>
16 <Product Id="*" Name="$(var.WiresharkName)" Language="1033" Version="$(var.WiresharkVersion)" Manufacturer="The Wireshark developer community, https://www.wireshark.org/" UpgradeCode="0d67aace-269a-4264-81a3-da8055c1c79c">
17 <Package InstallerVersion="500" Compressed="yes" InstallScope="perMachine" />
18 <!-- Values for Additional Tasks -->
19 <Property Id="WIRESHARK_START_MENU" Value="1" Secure="yes"/>
20 <Property Id="WIRESHARK_DESKTOP_ICON" Secure="yes"/>
21 <Property Id="WIRESHARK_QUICK_LAUNCH_ICON" Value="1" Secure="yes" />
22 <Property Id="WIRESHARK_LEGACY_START_MENU" Value="1" Secure="yes" />
23 <Property Id="WIRESHARK_LEGACY_DESKTOP_ICON" Secure="yes"/>
24 <Property Id="WIRESHARK_LEGACY_QUICK_LAUNCH_ICON" Value="1" Secure="yes" />
25 <Property Id="WIRESHARK_FILE_EXTENSIONS" Value="1"/>
27 <!-- We set AllowSameVersionUpgrade so that automated builds (which
28 only differ by micro version numbers) won't get installed side
29 by side. The WiX documentation seems to warn against this, so we
30 might want to find a better fix, e.g. REINSTALLMODE + AllowDowngrades:
31 https://stackoverflow.com/questions/1544990/wix-major-upgrade-doesnt-completely-install-app-on-downgrade
32 -->
33 <MajorUpgrade
34 DowngradeErrorMessage="A newer version of $(var.WiresharkName) is already installed."
35 AllowSameVersionUpgrades="yes"
39 <MediaTemplate EmbedCab="yes" CompressionLevel="high" />
41 <!-- Include the prerequisites, by referencing the placeholder property -->
42 <PropertyRef Id="IncludePrerequisites" />
44 <!-- Include the top-most parent feature -->
45 <FeatureRef Id="Fe.Wireshark" />
47 <!-- Include the installer UI definition -->
48 <UIRef Id="UI.Wireshark"/>
49 </Product>
51 <?include InputPaths.wxi ?>
52 <?include DirectoryStructure.wxi ?>
53 <?include Prerequisites.wxi ?>
54 <?include ComponentGroups.wxi ?>
55 <?include Plugins.wxi ?>
56 <?include Features.wxi ?>
57 <?include UserInterface.wxi ?>
58 </Wix>