aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Util/test/WixToolsetTest.Util/TestData/ServiceConfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/Util/test/WixToolsetTest.Util/TestData/ServiceConfig')
-rw-r--r--src/ext/Util/test/WixToolsetTest.Util/TestData/ServiceConfig/Package.wxs27
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>