mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-23 19:49:17 +08:00
ccdfbb0f68
* [Workspaces] fix defaulticon.ico, move it to the Assets directory * Move assets to single source of truth. Installer logic --------- Co-authored-by: Stefan Markovic <stefan@janeasystems.com>
32 lines
1.3 KiB
XML
32 lines
1.3 KiB
XML
<?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 WorkspacesImagesComponentFiles=?>
|
|
<?define WorkspacesImagesComponentFilesPath=$(var.BinDir)Assets\Workspaces\?>
|
|
|
|
<Fragment>
|
|
<!-- Shortcut guide files -->
|
|
<DirectoryRef Id="BaseApplicationsAssetsFolder">
|
|
<Directory Id="WorkspacesAssetsInstallFolder" Name="Workspaces" />
|
|
</DirectoryRef>
|
|
<DirectoryRef Id="WorkspacesAssetsInstallFolder" FileSource="$(var.WorkspacesImagesComponentFilesPath)">
|
|
<!-- Generated by generateFileComponents.ps1 -->
|
|
<!--WorkspacesImagesComponentFiles_Component_Def-->
|
|
</DirectoryRef>
|
|
|
|
<!-- Workspaces -->
|
|
<ComponentGroup Id="WorkspacesComponentGroup" >
|
|
<Component Id="RemoveWorkspacesAssetsFolder" Guid="34FC1245-1197-4025-9CF1-A298D509C2CC" Directory="WorkspacesAssetsInstallFolder" >
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="RemoveWorkspacesAssetsFolder" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<RemoveFolder Id="RemoveFolderWorkspacesAssetsFolder" Directory="WorkspacesAssetsInstallFolder" On="uninstall"/>
|
|
</Component>
|
|
</ComponentGroup>
|
|
|
|
</Fragment>
|
|
</Wix>
|