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 FileLocksmithAssetsFiles=?>
|
2023-07-20 07:12:46 +08:00
|
|
|
<?define FileLocksmithAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\FileLocksmith\?>
|
2023-01-23 22:59:18 +08:00
|
|
|
|
|
|
|
<Fragment>
|
2023-07-20 07:12:46 +08:00
|
|
|
<DirectoryRef Id="WinUI3AppsAssetsFolder">
|
|
|
|
<Directory Id="FileLocksmithAssetsInstallFolder" Name="FileLocksmith" />
|
|
|
|
</DirectoryRef>
|
|
|
|
<DirectoryRef Id="FileLocksmithAssetsInstallFolder" FileSource="$(var.FileLocksmithAssetsFilesPath)">
|
2023-03-31 18:23:57 +08:00
|
|
|
<!-- Generated by generateFileComponents.ps1 -->
|
2023-07-20 07:12:46 +08:00
|
|
|
<!--FileLocksmithAssetsFiles_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_FileLocksmith" Guid="108D3EC1-E6E0-4E81-88EF-25966133CB41" Win64="yes">
|
2023-03-31 18:23:57 +08:00
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\CLSID\{84D68575-E186-46AD-B0CB-BAEB45EE29C0}">
|
2023-01-23 22:59:18 +08:00
|
|
|
<RegistryValue Type="string" Value="File Locksmith Shell Extension" />
|
|
|
|
<RegistryValue Type="string" Name="ContextMenuOptIn" Value="" />
|
2023-07-20 07:12:46 +08:00
|
|
|
<RegistryValue Type="string" Key="InprocServer32" Value="[WinUI3AppsInstallFolder]PowerToys.FileLocksmithExt.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\FileLocksmithExt">
|
2023-01-23 22:59:18 +08:00
|
|
|
<RegistryValue Type="string" Value="{84D68575-E186-46AD-B0CB-BAEB45EE29C0}"/>
|
|
|
|
</RegistryKey>
|
2023-03-31 18:23:57 +08:00
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\Drive\ShellEx\ContextMenuHandlers\FileLocksmithExt">
|
2023-01-23 22:59:18 +08:00
|
|
|
<RegistryValue Type="string" Value="{84D68575-E186-46AD-B0CB-BAEB45EE29C0}"/>
|
|
|
|
</RegistryKey>
|
|
|
|
</Component>
|
|
|
|
</DirectoryRef>
|
|
|
|
|
2023-03-31 18:23:57 +08:00
|
|
|
<ComponentGroup Id="FileLocksmithComponentGroup">
|
2023-07-20 07:12:46 +08:00
|
|
|
<Component Id="RemoveFileLocksmithFolder" Guid="1DAC9A3F-D89C-4730-BF57-1778E011709B" Directory="FileLocksmithAssetsInstallFolder" >
|
2023-03-31 18:23:57 +08:00
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
|
|
<RegistryValue Type="string" Name="RemoveFileLocksmithFolder" Value="" KeyPath="yes"/>
|
|
|
|
</RegistryKey>
|
|
|
|
<RemoveFolder Id="RemoveFolderFileLocksmithAssetsFolder" Directory="FileLocksmithAssetsInstallFolder" On="uninstall"/>
|
|
|
|
</Component>
|
|
|
|
<ComponentRef Id="Module_FileLocksmith" />
|
2023-01-23 22:59:18 +08:00
|
|
|
</ComponentGroup>
|
|
|
|
|
|
|
|
</Fragment>
|
|
|
|
</Wix>
|