mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
34 lines
1.8 KiB
Plaintext
34 lines
1.8 KiB
Plaintext
|
|
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
||
|
|
|
||
|
|
<?include $(sys.CURRENTDIR)\Common.wxi?>
|
||
|
|
|
||
|
|
<?define DscJsonFiles=?>
|
||
|
|
<?define DscJsonFilesPath=$(var.BinDir)\DSCModules?>
|
||
|
|
|
||
|
|
<Fragment>
|
||
|
|
<DirectoryRef Id="DSCModulesReferenceFolder" FileSource="$(var.DscJsonFilesPath)">
|
||
|
|
<!-- DSC v2 PowerShell module files -->
|
||
|
|
<Component Id="PowerToysDSCReference" Guid="40869ACB-0BEB-4911-AE41-5E73BC1586A9" Bitness="always64">
|
||
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
||
|
|
<RegistryValue Type="string" Name="DSCModulesReference" Value="" KeyPath="yes" />
|
||
|
|
</RegistryKey>
|
||
|
|
<File Source="$(var.RepoDir)\src\dsc\Microsoft.PowerToys.Configure\Generated\Microsoft.PowerToys.Configure\$(var.Version).0\Microsoft.PowerToys.Configure.psd1" Id="PTConfReference.psd1" />
|
||
|
|
<File Source="$(var.RepoDir)\src\dsc\Microsoft.PowerToys.Configure\Generated\Microsoft.PowerToys.Configure\$(var.Version).0\Microsoft.PowerToys.Configure.psm1" Id="PTConfReference.psm1" />
|
||
|
|
</Component>
|
||
|
|
|
||
|
|
<!-- DSC v3 JSON manifest files - Generated by generateAllFileComponents.ps1 -->
|
||
|
|
<!--DscJsonFiles_Component_Def-->
|
||
|
|
</DirectoryRef>
|
||
|
|
|
||
|
|
<ComponentGroup Id="DscResourcesComponentGroup">
|
||
|
|
<ComponentRef Id="PowerToysDSCReference" />
|
||
|
|
<Component Id="RemoveDSCModulesFolder" Guid="A3C77D92-4E97-4C1A-9F2E-8B3C5D6E7F80" Directory="DSCModulesReferenceFolder">
|
||
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
||
|
|
<RegistryValue Type="string" Name="RemoveDSCModulesFolder" Value="" KeyPath="yes" />
|
||
|
|
</RegistryKey>
|
||
|
|
<RemoveFolder Id="RemoveDSCModulesReferenceFolder" Directory="DSCModulesReferenceFolder" On="uninstall" />
|
||
|
|
</Component>
|
||
|
|
</ComponentGroup>
|
||
|
|
</Fragment>
|
||
|
|
</Wix>
|