mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 03:37:59 +01:00
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
|
|
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
||
|
|
|
||
|
|
<?include $(sys.CURRENTDIR)\Common.wxi?>
|
||
|
|
|
||
|
|
<?define HostsAssetsFiles=?>
|
||
|
|
<?define HostsAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\Hosts\?>
|
||
|
|
|
||
|
|
<Fragment>
|
||
|
|
<DirectoryRef Id="WinUI3AppsAssetsFolder">
|
||
|
|
<Directory Id="HostsAssetsFolder" Name="Hosts" />
|
||
|
|
</DirectoryRef>
|
||
|
|
<DirectoryRef Id="HostsAssetsFolder" FileSource="$(var.HostsAssetsFilesPath)">
|
||
|
|
<!-- Generated by generateFileComponents.ps1 -->
|
||
|
|
<!--HostsAssetsFiles_Component_Def-->
|
||
|
|
</DirectoryRef>
|
||
|
|
|
||
|
|
<ComponentGroup Id="HostsComponentGroup">
|
||
|
|
<Component Id="RemoveHostsFolder" Guid="7FF19EBB-041D-4498-9826-C9AECEBE86E1" Directory="HostsAssetsFolder">
|
||
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
||
|
|
<RegistryValue Type="string" Name="RemoveHostsFolder" Value="" KeyPath="yes" />
|
||
|
|
</RegistryKey>
|
||
|
|
<RemoveFolder Id="RemoveFolderHostsAssetsFolder" Directory="HostsAssetsFolder" On="uninstall" />
|
||
|
|
</Component>
|
||
|
|
</ComponentGroup>
|
||
|
|
|
||
|
|
</Fragment>
|
||
|
|
</Wix>
|