aboutsummaryrefslogtreecommitdiff
path: root/src/test/burn/TestData/ExePackageTests/CustomExitCodeExePackage/CustomExitCodeExePackage.wxs
blob: a02e48d1646d1f214d9af93cd523fabe94f4b665 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!-- 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. -->

<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
  <Fragment>
    <PackageGroup Id="BundlePackages">
      <ExePackage Id="TestExe" Cache="remove" PerMachine="yes"
                  DetectCondition="" Permanent="yes" InstallArguments="/ec [EXEEXITCODE]">
        <PayloadGroupRef Id="TestExePayloads" />

        <ExitCode Value="0" Behavior="error" />
        <ExitCode Value="3" Behavior="scheduleReboot" />
        <ExitCode Value="4" Behavior="forceReboot" />
        <ExitCode Value="5" Behavior="errorScheduleReboot" />
        <ExitCode Value="-2147024891" Behavior="errorScheduleReboot" />
        <ExitCode Value="6" Behavior="errorForceReboot" />
        <ExitCode Value="-2147024890" Behavior="errorForceReboot" />
        <ExitCode Value="3010" Behavior="error" />
        <ExitCode Value="-2147021886" Behavior="error" />
        <ExitCode Value="3011" Behavior="error" />
        <ExitCode Value="-2147021885" Behavior="error" />
        <ExitCode Value="1641" Behavior="error" />
        <ExitCode Value="-2147023255" Behavior="error" />
        <ExitCode Value="3017" Behavior="error" />
        <ExitCode Value="-2147021879" Behavior="error" />
        <ExitCode Value="3018" Behavior="error" />
        <ExitCode Value="-2147021878" Behavior="error" />
        <ExitCode Value="-2147483647" Behavior="error" />
        <ExitCode Value="-2147483648" Behavior="error" />
        <ExitCode Behavior="success" />
      </ExePackage>
    </PackageGroup>
    <Variable Name="EXEEXITCODE" bal:Overridable="yes" Value="1" />
  </Fragment>
</Wix>