mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 09:46:54 +02:00
32 lines
1.8 KiB
Plaintext
32 lines
1.8 KiB
Plaintext
|
|
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
||
|
|
<?include $(sys.CURRENTDIR)\Common.wxi?>
|
||
|
|
<?define CmdPalBuildDir="$(var.BinDir)\WinUI3Apps\CmdPal\"?>
|
||
|
|
<Fragment>
|
||
|
|
<DirectoryRef Id="WinUI3AppsInstallFolder">
|
||
|
|
<Directory Id="CmdPalInstallFolder" Name="CmdPal">
|
||
|
|
</Directory>
|
||
|
|
</DirectoryRef>
|
||
|
|
<DirectoryRef Id="CmdPalInstallFolder" FileSource="$(var.CmdPalBuildDir)AppPackages\Microsoft.CmdPal.UI_$(var.CmdPalVersion)_Test">
|
||
|
|
<Component Id="Module_CmdPal" Guid="3A4942B2-1A86-4182-B3B4-65157365A980" Bitness="always64">
|
||
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
||
|
|
<RegistryValue Type="string" Name="Module_CmdPal" Value="" KeyPath="yes" />
|
||
|
|
</RegistryKey>
|
||
|
|
<?if $(sys.BUILDARCH) = x64 ?>
|
||
|
|
<File Id="Microsoft.CmdPal.UI___var.CmdPalVersion_._x64.msix" Source="$(var.CmdPalBuildDir)AppPackages\Microsoft.CmdPal.UI_$(var.CmdPalVersion)_Test\Microsoft.CmdPal.UI_$(var.CmdPalVersion)_x64.msix" />
|
||
|
|
<?else?>
|
||
|
|
<File Id="Microsoft.CmdPal.UI___var.CmdPalVersion_._arm64.msix" Source="$(var.CmdPalBuildDir)AppPackages\Microsoft.CmdPal.UI_$(var.CmdPalVersion)_Test\Microsoft.CmdPal.UI_$(var.CmdPalVersion)_arm64.msix" />
|
||
|
|
<?endif?>
|
||
|
|
</Component>
|
||
|
|
</DirectoryRef>
|
||
|
|
<ComponentGroup Id="CmdPalComponentGroup">
|
||
|
|
<Component Id="RemoveCmdPalFolder" Guid="2DF90C08-CC75-4245-A14E-B82904636C53" Directory="INSTALLFOLDER">
|
||
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
||
|
|
<RegistryValue Type="string" Name="RemoveCmdPalFolder" Value="" KeyPath="yes" />
|
||
|
|
</RegistryKey>
|
||
|
|
<RemoveFolder Id="RemoveCmdPalInstallDirFolder" Directory="CmdPalInstallFolder" On="uninstall" />
|
||
|
|
</Component>
|
||
|
|
<ComponentRef Id="Module_CmdPal" />
|
||
|
|
</ComponentGroup>
|
||
|
|
</Fragment>
|
||
|
|
</Wix>
|