diff options
| author | Rob Mensching <rob@firegiant.com> | 2023-01-12 11:39:43 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2023-01-12 12:47:53 -0800 |
| commit | e3b4af31d93962a7bd0a417d400921e00e9e249a (patch) | |
| tree | c87e10b3487464f3e539a1e632fc2ba9b76b99da /src/ext/Util/test/WixToolsetTest.Util/TestData/ServiceConfig | |
| parent | bcb75416e20cc16d85fc2c0e44a8fd78449f3b3c (diff) | |
| download | wix-e3b4af31d93962a7bd0a417d400921e00e9e249a.tar.gz wix-e3b4af31d93962a7bd0a417d400921e00e9e249a.tar.bz2 wix-e3b4af31d93962a7bd0a417d400921e00e9e249a.zip | |
Fix compiler to handle util:ServiceConfig absent reset period and start delay
Fixes 7150
Diffstat (limited to 'src/ext/Util/test/WixToolsetTest.Util/TestData/ServiceConfig')
| -rw-r--r-- | src/ext/Util/test/WixToolsetTest.Util/TestData/ServiceConfig/Package.wxs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/ext/Util/test/WixToolsetTest.Util/TestData/ServiceConfig/Package.wxs b/src/ext/Util/test/WixToolsetTest.Util/TestData/ServiceConfig/Package.wxs new file mode 100644 index 00000000..0e7cc42b --- /dev/null +++ b/src/ext/Util/test/WixToolsetTest.Util/TestData/ServiceConfig/Package.wxs | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" | ||
| 2 | xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> | ||
| 3 | <Package Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> | ||
| 4 | <MajorUpgrade DowngradeErrorMessage="A downgrade error message." /> | ||
| 5 | |||
| 6 | <Feature Id="ProductFeature" Title="A feature title"> | ||
| 7 | <ComponentGroupRef Id="ProductComponents" /> | ||
| 8 | </Feature> | ||
| 9 | </Package> | ||
| 10 | |||
| 11 | <Fragment> | ||
| 12 | <StandardDirectory Id="ProgramFilesFolder"> | ||
| 13 | <Directory Id="INSTALLFOLDER" Name="MsiPackage" /> | ||
| 14 | </StandardDirectory> | ||
| 15 | </Fragment> | ||
| 16 | |||
| 17 | <Fragment> | ||
| 18 | <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> | ||
| 19 | <Component> | ||
| 20 | <File Name="notanexe.exe" Source="Package.wxs" /> | ||
| 21 | <ServiceInstall Name="svc" Start="demand" Type="ownProcess" ErrorControl="normal"> | ||
| 22 | <util:ServiceConfig FirstFailureActionType="restart" SecondFailureActionType="restart" ThirdFailureActionType="restart" /> | ||
| 23 | </ServiceInstall> | ||
| 24 | </Component> | ||
| 25 | </ComponentGroup> | ||
| 26 | </Fragment> | ||
| 27 | </Wix> | ||
