diff options
Diffstat (limited to 'src/test/WixToolsetTest.WixCop/TestData/QtExec/v3.wxs')
-rw-r--r-- | src/test/WixToolsetTest.WixCop/TestData/QtExec/v3.wxs | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.WixCop/TestData/QtExec/v3.wxs b/src/test/WixToolsetTest.WixCop/TestData/QtExec/v3.wxs new file mode 100644 index 00000000..8d81a758 --- /dev/null +++ b/src/test/WixToolsetTest.WixCop/TestData/QtExec/v3.wxs | |||
@@ -0,0 +1,64 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | |||
4 | |||
5 | |||
6 | <?include WixVer.wxi ?> | ||
7 | |||
8 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:swid="http://schemas.microsoft.com/wix/TagExtension" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> | ||
9 | <Product Id="*" Name="!(loc.ShortProduct) v$(var.WixMajorMinor) Core" Language="1033" Manufacturer="!(loc.Company)" | ||
10 | Version="$(var.WixMsiProductVersion)" UpgradeCode="3618724B-2523-44F9-A908-866AA619504D"> | ||
11 | <Package Compressed="yes" InstallerVersion="200" SummaryCodepage="1252" InstallScope="perMachine" /> | ||
12 | <swid:Tag Regid="!(loc.Regid)" InstallDirectory="INSTALLFOLDER" /> | ||
13 | |||
14 | <MajorUpgrade DowngradeErrorMessage="A later version of [ProductName] is already installed." /> | ||
15 | |||
16 | <MediaTemplate CabinetTemplate="core{0}.cab" /> | ||
17 | |||
18 | <CustomAction Id="InstallVSTemplateCommand" Property="QtExecCmdLine" Value=""[VSENVPRODUCT80]\devenv.exe" /setup" /> | ||
19 | <CustomAction Id="InstallVSTemplate" BinaryKey="WixCA" DllEntry="CAQuietExec" Return="asyncWait" /> | ||
20 | |||
21 | <Feature Id="Feature_WiX" Title="WiX Toolset" Level="1"> | ||
22 | <Component Id="Licensing" Directory="INSTALLFOLDER"> | ||
23 | <File Source="LICENSE.TXT" /> | ||
24 | </Component> | ||
25 | |||
26 | <Component Id="ProductRegistration" Directory="INSTALLFOLDER"> | ||
27 | <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows Installer XML\$(var.WixMajorMinor)"> | ||
28 | <RegistryValue Name="InstallFolder" Value="[INSTALLFOLDER]" Type="string" /> | ||
29 | </RegistryKey> | ||
30 | </Component> | ||
31 | |||
32 | <Component Id="ProductFamilyRegistration" Directory="INSTALLFOLDER"> | ||
33 | <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows Installer XML\$(var.WixMajor).x"> | ||
34 | <RegistryValue Name="v$(var.WixMajorMinor)" Value="[INSTALLFOLDER]" Type="string" /> | ||
35 | </RegistryKey> | ||
36 | </Component> | ||
37 | |||
38 | <Component Id="ProductInformation" Directory="BinFolder"> | ||
39 | <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows Installer XML\$(var.WixMajorMinor)"> | ||
40 | <RegistryValue Name="InstallRoot" Value="[BinFolder]" Type="string"/> | ||
41 | <RegistryValue Name="ProductVersion" Value="[ProductVersion]" Type="string" /> | ||
42 | </RegistryKey> | ||
43 | |||
44 | <RemoveFolder Id="CleanupShortcutFolder" Directory="ShortcutFolder" On="uninstall" /> | ||
45 | </Component> | ||
46 | |||
47 | <Component Directory="BinFolder"> | ||
48 | <File Source="common\wixtoolset.org.ico" /> | ||
49 | <util:InternetShortcut Id="wixtoolset.org" Directory="ShortcutFolder" Name="WiX Home Page" Target="http://wixtoolset.org/" IconFile="file://[#wixtoolset.org.ico]" /> | ||
50 | </Component> | ||
51 | |||
52 | <ComponentGroupRef Id="ToolsetComponents" /> | ||
53 | <ComponentGroupRef Id="ExtensionComponents" /> | ||
54 | <ComponentGroupRef Id="LuxComponents" /> | ||
55 | <ComponentGroupRef Id="DocComponents" /> | ||
56 | </Feature> | ||
57 | |||
58 | <FeatureRef Id="Feature_MSBuild" /> | ||
59 | <FeatureRef Id="Feature_Intellisense2010" /> | ||
60 | <FeatureRef Id="Feature_Intellisense2012" /> | ||
61 | <FeatureRef Id="Feature_Intellisense2013" /> | ||
62 | <FeatureRef Id="Feature_Intellisense2015" /> | ||
63 | </Product> | ||
64 | </Wix> | ||