| 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 2 | <Package Name="MsiPackage" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a" Compressed="no"> |
| 3 | <MajorUpgrade DowngradeErrorMessage="Cannot Downgrade" /> |
| 4 | |
| 5 | <Feature Id="ProductFeature"> |
| 6 | <ComponentGroupRef Id="ProductComponents" /> |
| 7 | </Feature> |
| 8 | |
| 9 | <SetProperty Id="OnlyScheduledInExecuteSequence" Value="Some=Data" Before="OnlyScheduledInExecuteSequence" /> |
| 10 | </Package> |
| 11 | |
| 12 | <Fragment> |
| 13 | <StandardDirectory Id="ProgramFilesFolder"> |
| 14 | <Directory Id="INSTALLFOLDER" Name="MsiPackage" /> |
| 15 | </StandardDirectory> |
| 16 | </Fragment> |
| 17 | |
| 18 | <Fragment> |
| 19 | <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> |
| 20 | <Component> |
| 21 | <File Source="test.txt" /> |
| 22 | </Component> |
| 23 | </ComponentGroup> |
| 24 | </Fragment> |
| 25 | |
| 26 | <Fragment> |
| 27 | <InstallExecuteSequence> |
| 28 | <Custom Action="OnlyScheduledInExecuteSequence" After="InstallFiles" /> |
| 29 | </InstallExecuteSequence> |
| 30 | </Fragment> |
| 31 | |
| 32 | <Fragment> |
| 33 | <CustomAction Id="OnlyScheduledInExecuteSequence" BinaryRef="PretendDll" DllEntry="IgnoredByTesting" Execute="immediate" Return="check" /> |
| 34 | </Fragment> |
| 35 | |
| 36 | <Fragment> |
| 37 | <Binary Id="PretendDll" SourceFile="test.txt" /> |
| 38 | </Fragment> |
| 39 | </Wix> |