Revert "drsuapi_dissect_element_DsGetNCChangesCtr6TS_ctr6 dissect_krb5_PAC_NDRHEADERBLOB"
[wireshark-sm.git] / packaging / wix / Prerequisites.wxi
blobaa03a45fc569d1c2212c2203803bb838cae47552
1 <?xml version="1.0" encoding="utf-8"?>
2 <Include xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
4 <!-- Check for required dependencies here -->
5 <!--
6 You can debug the logic below (and lots of other things) by running
7 msiexec /i packaging\wix\Wireshark-xxx.msi /l*v msilog.txt
8 -->
9 <Fragment>
11 <!-- Do not remove: The contents of this "fragment" will not be included in the project,
12 unless we reference at least one item defined within it.
13 This "IncludePrerequisites" property is referenced in the "Product" element,
14 to ensure the entire fragment is included. -->
15 <Property Id="IncludePrerequisites">1</Property>
17 <!-- This should match the following:
18 - The NTDDI_VERSION and _WIN32_WINNT parts of cmakeconfig.h.in
19 - The <compatibility><application> section in image\wireshark.exe.manifest.in
20 - The WinVer parts of packaging\nsis\wireshark.nsi
21 -->
22 <Condition Message="Windows 2000 is no longer supported. Please install $(var.WiresharkName) 1.2 or 1.0 instead.">
23 <![CDATA[Installed OR (VersionNT < 500) OR (VersionNT > 500)]]>
24 </Condition>
26 <Condition Message="WindowsXP is no longer supported. Please install $(var.WiresharkName) 1.12 or 1.10 instead.">
27 <![CDATA[Installed OR (VersionNT < 501) OR (VersionNT > 501)]]>
28 </Condition>
30 <Condition Message="Windows Server 2003 is no longer supported. Please install $(var.WiresharkName) 1.12 or 1.10 instead.">
31 <![CDATA[Installed OR (VersionNT < 502) OR (VersionNT > 502)]]>
32 </Condition>
34 <Condition Message="Windows Vista and Server 2008 are no longer supported. Please install $(var.WiresharkName) 2.2 instead.">
35 <![CDATA[Installed OR (VersionNT < 600) OR (VersionNT > 600)]]>
36 </Condition>
38 <Condition Message="Windows 7, 8, 8.1, Server 2008R2, and Server 2012 are no longer supported. Please install $(var.WiresharkName) 4.0 instead.">
39 <![CDATA[Installed OR (VersionNT < 601) OR (VersionNT > 602)]]>
40 </Condition>
42 <Condition Message="$(var.WiresharkName)$(var.WiresharkVersion) is only supported on Windows 10, Windows Server 2016, or higher.">
43 <![CDATA[Installed OR (VersionNT >= 603)]]>
44 </Condition>
46 <!--
47 NSIS package uninstallation. The NSIS installer writes a bunch of keys to
48 'HKEY_LOCAL_MACHINE\SOFTWARE\{Wow6432Node\,}Microsoft\Windows\CurrentVersion\Uninstall\Wireshark'.
49 See the 'WriteRegStr HKEY_LOCAL_MACHINE "${UNINSTALL_PATH}"' statements
50 starting at around line 780 in nsis\wireshark.nsi for a complete list.
52 For now look for 'InstallLocation' and cancel the installation if
53 it's defined and exists. Next steps:
54 - look for 'QuietUninstallString' and offer to run it.
55 - Show properties in condition messages as described below.
56 -->
58 <Property Id="NSIS_INSTALL_LOCATION_32" Secure="yes">
59 <RegistrySearch Id='NsisInstallRegistrySearch32'
60 Type='raw'
61 Root='HKLM'
62 Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wireshark'
63 Name='InstallLocation'
64 Win64='no'>
65 <DirectorySearch Id='NsisInstallDirectorySearch32' AssignToProperty='yes'/>
66 </RegistrySearch>
67 </Property>
69 <Property Id="NSIS_DISPLAY_NAME_32" Value="Wireshark" Secure="yes">
70 <RegistrySearch Id='NsisDisplayNameRegistrySearch32'
71 Type='raw'
72 Root='HKLM'
73 Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wireshark'
74 Name='DisplayName'
75 Win64='no'/>
76 </Property>
78 <Condition Message="[NSIS_DISPLAY_NAME_32] was installed in [NSIS_INSTALL_LOCATION_32] using the .exe installer. Please uninstall it using Programs and Features.">
79 <![CDATA[Installed OR NOT NSIS_INSTALL_LOCATION_32]]>
80 </Condition>
82 <Property Id="NSIS_INSTALL_LOCATION_64" Secure="yes">
83 <RegistrySearch Id='NsisInstallRegistrySearch64'
84 Type='raw'
85 Root='HKLM'
86 Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wireshark'
87 Name='InstallLocation'
88 Win64='yes'>
89 <DirectorySearch Id='NsisInstallDirectorySearch64' AssignToProperty='yes'/>
90 </RegistrySearch>
91 </Property>
93 <Property Id="NSIS_DISPLAY_NAME_64" Value="Wireshark" Secure="yes">
94 <RegistrySearch Id='NsisDisplayNameRegistrySearch64'
95 Type='raw'
96 Root='HKLM'
97 Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wireshark'
98 Name='DisplayName'
99 Win64='yes'/>
100 </Property>
102 <Condition Message="[NSIS_DISPLAY_NAME_64] was installed in [NSIS_INSTALL_LOCATION_64] using the .exe installer. Please uninstall it using Programs and Features.">
103 <![CDATA[Installed OR NOT NSIS_INSTALL_LOCATION_64]]>
104 </Condition>
106 </Fragment>
107 </Include>