main
wxs 18 lines 1004 Bytes
Raw
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 = {9B5300C7-9B34-4670-9614-185B02AB87EF}?>
4 <?define ArpKeyPath = HKCU\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="no"
11 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;">
12 <ArpEntry Id="$(var.ArpId)" Version="$(var.ArpVersion)" Win64="no" />
13
14 <PayloadGroupRef Id="TestExePayloads" />
15 </ExePackage>
16 </PackageGroup>
17 </Fragment>
18 </Wix>