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 ColorPickerFiles=?>
|
|
|
|
<?define ColorPickerFilesPath=$(var.BinDir)modules\$(var.ColorPickerProjectName)\?>
|
|
|
|
<?define ColorPickerResourcesFiles=?>
|
|
|
|
<?define ColorPickerResourcesFilesPath=$(var.BinDir)modules\$(var.ColorPickerProjectName)\Resources\?>
|
2023-01-23 22:59:18 +08:00
|
|
|
|
|
|
|
<Fragment>
|
2023-03-31 18:23:57 +08:00
|
|
|
<DirectoryRef Id="ColorPickerInstallFolder" FileSource="$(var.ColorPickerFilesPath)">
|
|
|
|
<!-- Generated by generateFileComponents.ps1 -->
|
|
|
|
<!--ColorPickerFiles_Component_Def-->
|
2023-01-23 22:59:18 +08:00
|
|
|
</DirectoryRef>
|
|
|
|
|
|
|
|
<!-- Color Picker Resources -->
|
2023-03-31 18:23:57 +08:00
|
|
|
<DirectoryRef Id="ColorPickerResourcesFolder" FileSource="$(var.ColorPickerResourcesFilesPath)">
|
|
|
|
<!-- Generated by generateFileComponents.ps1 -->
|
|
|
|
<!--ColorPickerResourcesFiles_Component_Def-->
|
2023-01-23 22:59:18 +08:00
|
|
|
</DirectoryRef>
|
|
|
|
|
2023-03-31 18:23:57 +08:00
|
|
|
<ComponentGroup Id="ColorPickerComponentGroup">
|
|
|
|
<Component Id="RemoveColorPickerFolder" Guid="18C0C18C-F38A-4C88-B22C-9222F3A5B2EB" Directory="ColorPickerInstallFolder" >
|
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
|
|
<RegistryValue Type="string" Name="RemoveColorPickerFolder" Value="" KeyPath="yes"/>
|
|
|
|
</RegistryKey>
|
|
|
|
<RemoveFolder Id="RemoveFolderColorPickerFolder" Directory="ColorPickerInstallFolder" On="uninstall"/>
|
|
|
|
<RemoveFolder Id="RemoveFolderColorPickerResourcesFolder" Directory="ColorPickerResourcesFolder" On="uninstall"/>
|
|
|
|
</Component>
|
2023-01-23 22:59:18 +08:00
|
|
|
</ComponentGroup>
|
|
|
|
|
|
|
|
</Fragment>
|
|
|
|
</Wix>
|