summaryrefslogtreecommitdiff
path: root/src/test/burn/TestData/ExePackageTests/PerMachineArpEntryExePackageFailure/PerMachineArpEntryExePackageFailure.wxs
blob: 945146f017f0f547102afe5a52b72b48d6862c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!-- 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. -->

<?define ArpId = {80E90929-EEA5-48A7-A680-A0237A1CAD84}?>
<?define ArpKeyPath = HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(var.ArpId)?>
<?define ArpVersion = 1.0.0.0?>

<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
  <Fragment>
    <PackageGroup Id="BundlePackages">
      <ExePackage Id="TestExe" PerMachine="yes"
                  InstallArguments="/regw &quot;$(var.ArpKeyPath),DisplayVersion,String,$(var.ArpVersion)&quot; /regw &quot;$(var.ArpKeyPath),QuietUninstallString,String,\&quot;[WixBundleExecutePackageCacheFolder]testexe.exe\&quot; /regd \&quot;$(var.ArpKeyPath)\&quot;&quot;">
        <ArpEntry Id="$(var.ArpId)" Version="$(var.ArpVersion)" Win64="no" />

        <PayloadGroupRef Id="TestExePayloads" />
      </ExePackage>
      <MsiPackage Id="PackageFail" SourceFile="$(var.PackageFail.TargetPath)" />
    </PackageGroup>
  </Fragment>
</Wix>