mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-03 03:19:08 +08:00
30 lines
1.4 KiB
Plaintext
30 lines
1.4 KiB
Plaintext
|
<?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?>
|
||
|
|
||
|
<?define EnvironmentVariablesAssetsFiles=?>
|
||
|
<?define EnvironmentVariablesAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\EnvironmentVariables\?>
|
||
|
|
||
|
<Fragment>
|
||
|
<DirectoryRef Id="WinUI3AppsAssetsFolder">
|
||
|
<Directory Id="EnvironmentVariablesAssetsFolder" Name="EnvironmentVariables" />
|
||
|
</DirectoryRef>
|
||
|
<DirectoryRef Id="EnvironmentVariablesAssetsFolder" FileSource="$(var.EnvironmentVariablesAssetsFilesPath)">
|
||
|
<!-- Generated by generateFileComponents.ps1 -->
|
||
|
<!--EnvironmentVariablesAssetsFiles_Component_Def-->
|
||
|
</DirectoryRef>
|
||
|
|
||
|
<ComponentGroup Id="EnvironmentVariablesComponentGroup">
|
||
|
<Component Id="RemoveEnvironmentVariablesFolder" Guid="B62A779D-38BA-46B2-859D-9D242D9B0CC1" Directory="EnvironmentVariablesAssetsFolder" >
|
||
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
||
|
<RegistryValue Type="string" Name="RemoveEnvironmentVariablesFolder" Value="" KeyPath="yes"/>
|
||
|
</RegistryKey>
|
||
|
<RemoveFolder Id="RemoveFolderEnvironmentVariablesAssetsFolder" Directory="EnvironmentVariablesAssetsFolder" On="uninstall"/>
|
||
|
</Component>
|
||
|
</ComponentGroup>
|
||
|
|
||
|
</Fragment>
|
||
|
</Wix>
|