diff options
Diffstat (limited to 'src/test/burn/TestData/ExePackageTests/CustomExitCodeExePackage')
2 files changed, 51 insertions, 0 deletions
diff --git a/src/test/burn/TestData/ExePackageTests/CustomExitCodeExePackage/CustomExitCodeExePackage.wixproj b/src/test/burn/TestData/ExePackageTests/CustomExitCodeExePackage/CustomExitCodeExePackage.wixproj new file mode 100644 index 00000000..403f3320 --- /dev/null +++ b/src/test/burn/TestData/ExePackageTests/CustomExitCodeExePackage/CustomExitCodeExePackage.wixproj | |||
@@ -0,0 +1,17 @@ | |||
1 | <!-- 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. --> | ||
2 | <Project Sdk="WixToolset.Sdk"> | ||
3 | <PropertyGroup> | ||
4 | <OutputType>Bundle</OutputType> | ||
5 | <UpgradeCode>{9BB4F6D3-4EE3-40BF-879F-90E78440EAE8}</UpgradeCode> | ||
6 | </PropertyGroup> | ||
7 | <ItemGroup> | ||
8 | <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" /> | ||
9 | </ItemGroup> | ||
10 | <ItemGroup> | ||
11 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | ||
12 | </ItemGroup> | ||
13 | <ItemGroup> | ||
14 | <PackageReference Include="WixToolset.Bal.wixext" /> | ||
15 | <PackageReference Include="WixToolset.NetFx.wixext" /> | ||
16 | </ItemGroup> | ||
17 | </Project> \ No newline at end of file | ||
diff --git a/src/test/burn/TestData/ExePackageTests/CustomExitCodeExePackage/CustomExitCodeExePackage.wxs b/src/test/burn/TestData/ExePackageTests/CustomExitCodeExePackage/CustomExitCodeExePackage.wxs new file mode 100644 index 00000000..a02e48d1 --- /dev/null +++ b/src/test/burn/TestData/ExePackageTests/CustomExitCodeExePackage/CustomExitCodeExePackage.wxs | |||
@@ -0,0 +1,34 @@ | |||
1 | <!-- 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. --> | ||
2 | |||
3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | ||
4 | <Fragment> | ||
5 | <PackageGroup Id="BundlePackages"> | ||
6 | <ExePackage Id="TestExe" Cache="remove" PerMachine="yes" | ||
7 | DetectCondition="" Permanent="yes" InstallArguments="/ec [EXEEXITCODE]"> | ||
8 | <PayloadGroupRef Id="TestExePayloads" /> | ||
9 | |||
10 | <ExitCode Value="0" Behavior="error" /> | ||
11 | <ExitCode Value="3" Behavior="scheduleReboot" /> | ||
12 | <ExitCode Value="4" Behavior="forceReboot" /> | ||
13 | <ExitCode Value="5" Behavior="errorScheduleReboot" /> | ||
14 | <ExitCode Value="-2147024891" Behavior="errorScheduleReboot" /> | ||
15 | <ExitCode Value="6" Behavior="errorForceReboot" /> | ||
16 | <ExitCode Value="-2147024890" Behavior="errorForceReboot" /> | ||
17 | <ExitCode Value="3010" Behavior="error" /> | ||
18 | <ExitCode Value="-2147021886" Behavior="error" /> | ||
19 | <ExitCode Value="3011" Behavior="error" /> | ||
20 | <ExitCode Value="-2147021885" Behavior="error" /> | ||
21 | <ExitCode Value="1641" Behavior="error" /> | ||
22 | <ExitCode Value="-2147023255" Behavior="error" /> | ||
23 | <ExitCode Value="3017" Behavior="error" /> | ||
24 | <ExitCode Value="-2147021879" Behavior="error" /> | ||
25 | <ExitCode Value="3018" Behavior="error" /> | ||
26 | <ExitCode Value="-2147021878" Behavior="error" /> | ||
27 | <ExitCode Value="-2147483647" Behavior="error" /> | ||
28 | <ExitCode Value="-2147483648" Behavior="error" /> | ||
29 | <ExitCode Behavior="success" /> | ||
30 | </ExePackage> | ||
31 | </PackageGroup> | ||
32 | <Variable Name="EXEEXITCODE" bal:Overridable="yes" Value="1" /> | ||
33 | </Fragment> | ||
34 | </Wix> | ||