summaryrefslogtreecommitdiff
path: root/src/test/burn/TestData/ExePackageTests/PerUserArpEntryExePackage/PerUserArpEntryExePackage.wxs
blob: e2792693bcb19bc8c5df841ff43e69ccc3b18c3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!-- 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 = {9B5300C7-9B34-4670-9614-185B02AB87EF}?>
<?define ArpKeyPath = HKCU\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="no"
                  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>
    </PackageGroup>
  </Fragment>
</Wix>