main
wxs 32 lines 1.07 KB
Raw
1 <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
2 <Package Name="ValidationPackage" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a">
3 <MajorUpgrade DowngradeErrorMessage="Downgrade message" />
4
5 <Property Id="MyProperty" Value="1" />
6 <Launch Condition="Myproperty" Message="Invalid cased Property Id below causes ICE46" />
7
8 <CustomAction Id="CausesICE12Error" Directory="INSTALLFOLDER" Value="Test" />
9
10 <Feature Id="ProductFeature" Title="Product Feature">
11 <ComponentGroupRef Id="ProductComponents" />
12 </Feature>
13
14 <InstallExecuteSequence>
15 <Custom Action="CausesICE12Error" Before="AppSearch" />
16 </InstallExecuteSequence>
17 </Package>
18
19 <Fragment>
20 <StandardDirectory Id="ProgramFiles6432Folder">
21 <Directory Id="INSTALLFOLDER" Name="MsiPackage" />
22 </StandardDirectory>
23 </Fragment>
24
25 <Fragment>
26 <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
27 <Component>
28 <File Source="test.txt" />
29 </Component>
30 </ComponentGroup>
31 </Fragment>
32 </Wix>