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 ShortcutGuideSvgFiles=?>
|
|
|
|
<?define ShortcutGuideSvgFilesPath=$(var.BinDir)\modules\ShortcutGuide\ShortcutGuide\svgs\?>
|
|
|
|
|
2023-01-23 22:59:18 +08:00
|
|
|
<?define ShortcutGuideExecutable=$(var.BinDir)\modules\ShortcutGuide\ShortcutGuide?>
|
|
|
|
<?define ShortcutGuideModuleInterface=$(var.BinDir)\modules\ShortcutGuide\ShortcutGuideModuleInterface?>
|
|
|
|
|
|
|
|
<Fragment>
|
2023-03-31 18:23:57 +08:00
|
|
|
<!-- Shortcut guide files -->
|
|
|
|
<DirectoryRef Id="ShortcutGuideSvgsInstallFolder" FileSource="$(var.ShortcutGuideSvgFilesPath)">
|
|
|
|
<!-- Generated by generateFileComponents.ps1 -->
|
|
|
|
<!--ShortcutGuideSvgFiles_Component_Def-->
|
2023-01-23 22:59:18 +08:00
|
|
|
</DirectoryRef>
|
|
|
|
|
|
|
|
<!-- Shortcut guide -->
|
|
|
|
<DirectoryRef Id="ShortcutGuideModuleInterfaceInstallFolder" FileSource="$(var.ShortcutGuideModuleInterface)">
|
2023-03-31 18:23:57 +08:00
|
|
|
<Component Id="Module_ShortcutGuideModuleInterface" Win64="yes" Guid="FE659C42-9738-4B2E-836A-D08903E2B7EE">
|
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
|
|
<RegistryValue Type="string" Name="Module_ShortcutGuideModuleInterface" Value="" KeyPath="yes"/>
|
|
|
|
</RegistryKey>
|
|
|
|
<File Source="$(var.ShortcutGuideModuleInterface)\PowerToys.ShortcutGuideModuleInterface.dll" />
|
2023-01-23 22:59:18 +08:00
|
|
|
</Component>
|
|
|
|
</DirectoryRef>
|
|
|
|
|
|
|
|
<DirectoryRef Id="ShortcutGuideExecutableInstallFolder" FileSource="$(var.ShortcutGuideExecutable)">
|
2023-03-31 18:23:57 +08:00
|
|
|
<Component Id="Module_ShortcutGuideExecutable" Win64="yes" Guid="0A4AFD4F-9498-4F50-B2F5-CA3C786EBBE8">
|
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
|
|
<RegistryValue Type="string" Name="Module_ShortcutGuideExecutable" Value="" KeyPath="yes"/>
|
|
|
|
</RegistryKey>
|
|
|
|
<File Source="$(var.ShortcutGuideExecutable)\PowerToys.ShortcutGuide.exe" />
|
2023-01-23 22:59:18 +08:00
|
|
|
</Component>
|
|
|
|
</DirectoryRef>
|
|
|
|
|
2023-03-31 18:23:57 +08:00
|
|
|
<ComponentGroup Id="ShortcutGuideComponentGroup" >
|
|
|
|
<Component Id="RemoveShortcutGuideFolder" Guid="AD1ABC55-B593-4A60-A86A-BA8C0ED493A5" Directory="ShortcutGuideInstallFolder" >
|
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
|
|
<RegistryValue Type="string" Name="RemoveShortcutGuideFolder" Value="" KeyPath="yes"/>
|
|
|
|
</RegistryKey>
|
|
|
|
<RemoveFolder Id="RemoveFolderShortcutGuideInstallFolder" Directory="ShortcutGuideInstallFolder" On="uninstall"/>
|
|
|
|
<RemoveFolder Id="RemoveFolderShortcutGuideExecutableInstallFolder" Directory="ShortcutGuideExecutableInstallFolder" On="uninstall"/>
|
|
|
|
<RemoveFolder Id="RemoveFolderShortcutGuideSvgsInstallFolder" Directory="ShortcutGuideSvgsInstallFolder" On="uninstall"/>
|
|
|
|
<RemoveFolder Id="RemoveFolderShortcutGuideModuleInterfaceInstallFolder" Directory="ShortcutGuideModuleInterfaceInstallFolder" On="uninstall"/>
|
|
|
|
</Component>
|
2023-01-23 22:59:18 +08:00
|
|
|
<ComponentRef Id="Module_ShortcutGuideModuleInterface" />
|
|
|
|
<ComponentRef Id="Module_ShortcutGuideExecutable" />
|
|
|
|
</ComponentGroup>
|
|
|
|
|
|
|
|
</Fragment>
|
|
|
|
</Wix>
|