2023-01-23 22:59:18 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
|
|
|
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" >
|
|
|
|
|
|
|
|
<?include $(sys.CURRENTDIR)\Common.wxi?>
|
|
|
|
|
2023-03-31 18:23:57 +08:00
|
|
|
<?define PowerRenameAssetsFiles=?>
|
2023-07-20 07:12:46 +08:00
|
|
|
<?define PowerRenameAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\PowerRename\?>
|
2023-01-23 22:59:18 +08:00
|
|
|
|
|
|
|
<Fragment>
|
2023-07-20 07:12:46 +08:00
|
|
|
<DirectoryRef Id="WinUI3AppsAssetsFolder">
|
|
|
|
<Directory Id="PowerRenameAssetsFolder" Name="PowerRename" />
|
|
|
|
</DirectoryRef>
|
|
|
|
<DirectoryRef Id="PowerRenameAssetsFolder" FileSource="$(var.PowerRenameAssetsFilesPath)">
|
2023-03-31 18:23:57 +08:00
|
|
|
<!-- Generated by generateFileComponents.ps1 -->
|
2023-07-20 07:12:46 +08:00
|
|
|
<!--PowerRenameAssetsFiles_Component_Def-->
|
2023-01-23 22:59:18 +08:00
|
|
|
<!-- !Warning! Make sure to change Component Guid if you update something here -->
|
|
|
|
<Component Id="Module_PowerRename" Guid="40D43079-240E-402D-8CE8-571BFFA71175" Win64="yes">
|
2023-03-31 18:23:57 +08:00
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\CLSID\{0440049F-D1DC-4E46-B27B-98393D79486B}">
|
2023-01-23 22:59:18 +08:00
|
|
|
<RegistryValue Type="string" Value="PowerRename Shell Extension" />
|
|
|
|
<RegistryValue Type="string" Name="ContextMenuOptIn" Value="" />
|
2023-07-20 07:12:46 +08:00
|
|
|
<RegistryValue Type="string" Key="InprocServer32" Value="[WinUI3AppsInstallFolder]PowerToys.PowerRenameExt.dll" />
|
2023-01-23 22:59:18 +08:00
|
|
|
<RegistryValue Type="string" Key="InprocServer32" Name="ThreadingModel" Value="Apartment" />
|
|
|
|
</RegistryKey>
|
2023-03-31 18:23:57 +08:00
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\AllFileSystemObjects\ShellEx\ContextMenuHandlers\PowerRenameExt">
|
2023-01-23 22:59:18 +08:00
|
|
|
<RegistryValue Type="string" Value="{0440049F-D1DC-4E46-B27B-98393D79486B}"/>
|
|
|
|
</RegistryKey>
|
2023-03-31 18:23:57 +08:00
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\Directory\background\ShellEx\ContextMenuHandlers\PowerRenameExt">
|
2023-03-08 21:51:33 +08:00
|
|
|
<RegistryValue Type="string" Value="{0440049F-D1DC-4E46-B27B-98393D79486B}"/>
|
|
|
|
</RegistryKey>
|
2023-01-23 22:59:18 +08:00
|
|
|
|
|
|
|
</Component>
|
|
|
|
</DirectoryRef>
|
|
|
|
|
2023-03-31 18:23:57 +08:00
|
|
|
<ComponentGroup Id="PowerRenameComponentGroup">
|
2023-07-20 07:12:46 +08:00
|
|
|
<Component Id="RemovePowerRenameFolder" Guid="2028549B-02E3-4D80-BC3F-59AEA37AC73D" Directory="PowerRenameAssetsFolder" >
|
2023-03-31 18:23:57 +08:00
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
|
|
<RegistryValue Type="string" Name="RemovePowerRenameFolder" Value="" KeyPath="yes"/>
|
|
|
|
</RegistryKey>
|
|
|
|
<RemoveFolder Id="RemoveFolderPowerRenameAssetsFolder" Directory="PowerRenameAssetsFolder" On="uninstall"/>
|
|
|
|
</Component>
|
2023-01-23 22:59:18 +08:00
|
|
|
<ComponentRef Id="Module_PowerRename" />
|
|
|
|
</ComponentGroup>
|
|
|
|
|
|
|
|
</Fragment>
|
|
|
|
</Wix>
|