summaryrefslogtreecommitdiff
path: root/packaging/wix/Wireshark.wxs
blob: a2fbcd37db0e21dbac9e8ad3cc54d0287d6a7ea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

  <?define WiresharkFileAssociation = "wireshark-capture-file" ?>

  <!-- The path to the installer's End-User License Agreement, displayed during installation -->
  <?define EulaPath="$(var.AssetDir)\COPYING.rtf"?>
  <!-- Windows 8 and later supports PNG. Until then we use cave paintings^W^W BMP. -->
  <?define BannerImagePath="$(var.AssetDir)\banner.bmp"?>
  <?define DialogImagePath="$(var.AssetDir)\dialog.bmp"?>
  <!-- Use the application icon in "Programs and Features"
       This is apparently stored uncompressed, i.e. we should use a dedicated
       .ico file instead of pointing to wireshark.exe.
  -->
  <?define ProgramsFeaturesIconPath="$(var.IconDir)\wireshark.ico"?>
  <Product Id="*" Name="$(var.WiresharkName)" Language="1033" Version="$(var.WiresharkVersion)" Manufacturer="The Wireshark developer community, http://www.wireshark.org/" UpgradeCode="0d67aace-269a-4264-81a3-da8055c1c79c">
        <Package InstallerVersion="405" Compressed="yes" InstallScope="perMachine" />
    <!-- Values for Additional Tasks -->
    <Property Id="WIRESHARK_START_MENU" Value="1" Secure="yes"/>
    <Property Id="WIRESHARK_DESKTOP_ICON" Secure="yes"/>
    <Property Id="WIRESHARK_QUICK_LAUNCH_ICON" Value="1" Secure="yes" />
    <Property Id="WIRESHARK_LEGACY_START_MENU" Value="1" Secure="yes" />
    <Property Id="WIRESHARK_LEGACY_DESKTOP_ICON" Secure="yes"/>
    <Property Id="WIRESHARK_LEGACY_QUICK_LAUNCH_ICON" Value="1" Secure="yes" />
    <Property Id="WIRESHARK_FILE_EXTENSIONS" Value="0"/>

    <MajorUpgrade DowngradeErrorMessage="A newer version of $(var.WiresharkName) is already installed." />
    <MediaTemplate EmbedCab="yes" CompressionLevel="high" />

    <!-- Include the prerequisites, by referencing the placeholder property -->
    <PropertyRef Id="IncludePrerequisites" />

    <!-- Include the top-most parent feature -->
    <FeatureRef Id="Fe.Wireshark" />

    <!-- Include the installer UI definition -->
    <UIRef Id="UI.Wireshark"/>
  </Product>

  <?include InputPaths.wxi ?>
  <?include DirectoryStructure.wxi ?>
  <?include Prerequisites.wxi ?>
  <?include ComponentGroups.wxi ?>
  <?include Plugins.wxi ?>
  <?include Features.wxi ?>
  <?include UserInterface.wxi ?>
</Wix>