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?>
|
|
|
|
|
|
|
|
<Fragment>
|
2023-07-20 07:12:46 +08:00
|
|
|
<DirectoryRef Id="INSTALLFOLDER">
|
|
|
|
<Directory Id="KeyboardManagerEditorInstallFolder" Name="KeyboardManagerEditor" />
|
|
|
|
<Directory Id="KeyboardManagerEngineInstallFolder" Name="KeyboardManagerEngine" />
|
2023-01-23 22:59:18 +08:00
|
|
|
</DirectoryRef>
|
|
|
|
|
|
|
|
<!-- KBM Editor -->
|
2023-07-20 07:12:46 +08:00
|
|
|
<DirectoryRef Id="KeyboardManagerEditorInstallFolder" FileSource="$(var.BinDir)KeyboardManagerEditor">
|
2023-03-31 18:23:57 +08:00
|
|
|
<Component Id="Module_KeyboardManager_Editor" Win64="yes" Guid="E9C74E78-970F-4DF5-9CC0-FFD3CCF285B4">
|
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
|
|
<RegistryValue Type="string" Name="Module_KeyboardManager_Editor" Value="" KeyPath="yes"/>
|
|
|
|
</RegistryKey>
|
2023-07-20 07:12:46 +08:00
|
|
|
<File Source="$(var.BinDir)KeyboardManagerEditor\PowerToys.KeyboardManagerEditor.exe" />
|
2023-11-07 22:26:19 +08:00
|
|
|
<File Source="$(var.BinDir)KeyboardManagerEditor\Microsoft.Toolkit.Win32.UI.XamlHost.dll" />
|
|
|
|
<File Source="$(var.BinDir)KeyboardManagerEditor\Microsoft.UI.Xaml.dll" />
|
|
|
|
<File Source="$(var.BinDir)KeyboardManagerEditor\msvcp140_app.dll" />
|
|
|
|
<File Source="$(var.BinDir)KeyboardManagerEditor\resources.pri" />
|
|
|
|
<File Source="$(var.BinDir)KeyboardManagerEditor\vcruntime140_app.dll" />
|
|
|
|
<?if $(sys.BUILDARCH) = x64 ?>
|
|
|
|
<File Source="$(var.BinDir)KeyboardManagerEditor\vcruntime140_1_app.dll" />
|
|
|
|
<?endif ?>
|
2024-08-08 22:26:43 +08:00
|
|
|
<File Source="$(var.BinDir)KeyboardManagerEditor\vcruntime140.dll" />
|
|
|
|
<File Source="$(var.BinDir)KeyboardManagerEditor\vcruntime140_1.dll" />
|
|
|
|
<File Source="$(var.BinDir)KeyboardManagerEditor\msvcp140.dll" />
|
2023-01-23 22:59:18 +08:00
|
|
|
</Component>
|
|
|
|
</DirectoryRef>
|
|
|
|
|
|
|
|
<!-- KBM Engine -->
|
2023-07-20 07:12:46 +08:00
|
|
|
<DirectoryRef Id="KeyboardManagerEngineInstallFolder" FileSource="$(var.BinDir)KeyboardManagerEngine">
|
2023-03-31 18:23:57 +08:00
|
|
|
<Component Id="Module_KeyboardManager_Engine" Win64="yes" Guid="3F58FCE3-B44D-4676-94E9-C59F1FE42FFD">
|
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
|
|
<RegistryValue Type="string" Name="Module_KeyboardManager_Engine" Value="" KeyPath="yes"/>
|
|
|
|
</RegistryKey>
|
2023-07-20 07:12:46 +08:00
|
|
|
<File Source="$(var.BinDir)KeyboardManagerEngine\PowerToys.KeyboardManagerEngine.exe" />
|
2023-01-23 22:59:18 +08:00
|
|
|
</Component>
|
|
|
|
</DirectoryRef>
|
|
|
|
|
2023-03-31 18:23:57 +08:00
|
|
|
<ComponentGroup Id="KeyboardManagerComponentGroup">
|
2023-07-20 07:12:46 +08:00
|
|
|
<Component Id="RemoveKeyboardManagerFolder" Guid="C411CB11-4617-40A4-B6DA-1823B49FB9FF" Directory="INSTALLFOLDER" >
|
2023-03-31 18:23:57 +08:00
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
|
|
<RegistryValue Type="string" Name="RemoveKeyboardManagerFolder" Value="" KeyPath="yes"/>
|
|
|
|
</RegistryKey>
|
|
|
|
<RemoveFolder Id="RemoveFolderKeyboardManagerEditorFolder" Directory="KeyboardManagerEditorInstallFolder" On="uninstall"/>
|
|
|
|
<RemoveFolder Id="RemoveFolderKeyboardManagerEngineFolder" Directory="KeyboardManagerEngineInstallFolder" On="uninstall"/>
|
|
|
|
</Component>
|
2023-01-23 22:59:18 +08:00
|
|
|
<ComponentRef Id="Module_KeyboardManager_Editor" />
|
|
|
|
<ComponentRef Id="Module_KeyboardManager_Engine" />
|
|
|
|
</ComponentGroup>
|
|
|
|
|
|
|
|
</Fragment>
|
|
|
|
</Wix>
|