| 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 | <?define ArpId = {21E99C0F-E604-439C-97E0-33B9771394BC}?> |
| 4 | <?define ArpKeyPath = HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(var.ArpId)?> |
| 5 | <?define ArpVersion = 1.0.0.0?> |
| 6 | |
| 7 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 8 | <Fragment> |
| 9 | <PackageGroup Id="BundlePackages"> |
| 10 | <ExePackage Id="TestExe" PerMachine="yes" |
| 11 | InstallArguments="/regw "$(var.ArpKeyPath),DisplayVersion,String,$(var.ArpVersion)" /regw "$(var.ArpKeyPath),UninstallString,String,\"[WixBundleExecutePackageCacheFolder]testexe.exe\" /regd \"$(var.ArpKeyPath)\"""> |
| 12 | <ArpEntry Id="$(var.ArpId)" Version="$(var.ArpVersion)" Win64="yes" UseUninstallString="yes" /> |
| 13 | |
| 14 | <PayloadGroupRef Id="TestExePayloads_x64" /> |
| 15 | </ExePackage> |
| 16 | </PackageGroup> |
| 17 | </Fragment> |
| 18 | </Wix> |