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 SettingsV2AssetsFiles=?>
|
2023-07-20 07:12:46 +08:00
|
|
|
<?define SettingsV2AssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\Settings\?>
|
2023-03-31 18:23:57 +08:00
|
|
|
|
|
|
|
<?define SettingsV2AssetsModulesFiles=?>
|
2023-07-20 07:12:46 +08:00
|
|
|
<?define SettingsV2AssetsModulesFilesPath=$(var.BinDir)WinUI3Apps\Assets\Settings\Modules\?>
|
2023-03-31 18:23:57 +08:00
|
|
|
|
|
|
|
<?define SettingsV2OOBEAssetsModulesFiles=?>
|
2023-07-20 07:12:46 +08:00
|
|
|
<?define SettingsV2OOBEAssetsModulesFilesPath=$(var.BinDir)WinUI3Apps\Assets\Settings\Modules\OOBE\?>
|
2023-03-31 18:23:57 +08:00
|
|
|
|
|
|
|
<?define SettingsV2OOBEAssetsFluentIconsFiles=?>
|
2024-01-27 00:12:33 +08:00
|
|
|
<?define SettingsV2OOBEAssetsFluentIconsFilesPath=$(var.BinDir)WinUI3Apps\Assets\Settings\Icons\?>
|
2023-02-15 10:38:53 +08:00
|
|
|
|
2023-01-23 22:59:18 +08:00
|
|
|
<Fragment>
|
2023-07-20 07:12:46 +08:00
|
|
|
<DirectoryRef Id="WinUI3AppsAssetsFolder">
|
|
|
|
<Directory Id="SettingsV2AssetsInstallFolder" Name="Settings">
|
2024-01-03 23:43:42 +08:00
|
|
|
<Directory Id="SettingsAppAssetsScriptsFolder" Name="Scripts"/>
|
2024-01-27 00:12:33 +08:00
|
|
|
<Directory Id="SettingsV2OOBEAssetsFluentIconsInstallFolder" Name="Icons" />
|
2023-07-20 07:12:46 +08:00
|
|
|
<Directory Id="SettingsV2AssetsModulesInstallFolder" Name="Modules" >
|
|
|
|
<Directory Id="SettingsV2OOBEAssetsModulesInstallFolder" Name="OOBE" />
|
|
|
|
</Directory>
|
|
|
|
</Directory>
|
2023-01-23 22:59:18 +08:00
|
|
|
</DirectoryRef>
|
2024-01-03 23:43:42 +08:00
|
|
|
|
2023-03-31 18:23:57 +08:00
|
|
|
<DirectoryRef Id="SettingsV2AssetsInstallFolder" FileSource="$(var.SettingsV2AssetsFilesPath)">
|
|
|
|
<!-- Generated by generateFileComponents.ps1 -->
|
|
|
|
<!--SettingsV2AssetsFiles_Component_Def-->
|
2023-01-23 22:59:18 +08:00
|
|
|
</DirectoryRef>
|
2023-03-31 18:23:57 +08:00
|
|
|
|
|
|
|
<DirectoryRef Id="SettingsV2AssetsModulesInstallFolder" FileSource="$(var.SettingsV2AssetsModulesFilesPath)">
|
|
|
|
<!-- Generated by generateFileComponents.ps1 -->
|
|
|
|
<!--SettingsV2AssetsModulesFiles_Component_Def-->
|
2023-01-23 22:59:18 +08:00
|
|
|
</DirectoryRef>
|
2023-03-31 18:23:57 +08:00
|
|
|
|
|
|
|
<DirectoryRef Id="SettingsV2OOBEAssetsModulesInstallFolder" FileSource="$(var.SettingsV2OOBEAssetsModulesFilesPath)">
|
|
|
|
<!-- Generated by generateFileComponents.ps1 -->
|
|
|
|
<!--SettingsV2OOBEAssetsModulesFiles_Component_Def-->
|
2023-01-23 22:59:18 +08:00
|
|
|
</DirectoryRef>
|
2023-03-31 18:23:57 +08:00
|
|
|
|
|
|
|
<DirectoryRef Id="SettingsV2OOBEAssetsFluentIconsInstallFolder" FileSource="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)">
|
|
|
|
<!-- Generated by generateFileComponents.ps1 -->
|
|
|
|
<!--SettingsV2OOBEAssetsFluentIconsFiles_Component_Def-->
|
2023-01-23 22:59:18 +08:00
|
|
|
</DirectoryRef>
|
2023-03-31 18:23:57 +08:00
|
|
|
|
2024-01-03 23:43:42 +08:00
|
|
|
<DirectoryRef Id="SettingsAppAssetsScriptsFolder" FileSource="$(var.SettingsV2AssetsFilesPath)\Scripts\">
|
|
|
|
<Component Id="CommandNotFound_Scripts" Win64="yes" Guid="898EFA1E-EDD3-4F4B-8C7F-4A14B0D05B02">
|
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
|
|
<RegistryValue Type="string" Name="CommandNotFound_Scripts" Value="" KeyPath="yes"/>
|
|
|
|
</RegistryKey>
|
|
|
|
<File Id="CommandNotFound_Scripts_EnableModule.ps1" Source="$(var.SettingsV2AssetsFilesPath)\Scripts\EnableModule.ps1" />
|
2024-05-16 20:45:06 +08:00
|
|
|
<File Id="CommandNotFound_Scripts_UpgradeModule.ps1" Source="$(var.SettingsV2AssetsFilesPath)\Scripts\UpgradeModule.ps1" />
|
2024-01-03 23:43:42 +08:00
|
|
|
<File Id="CommandNotFound_Scripts_DisableModule.ps1" Source="$(var.SettingsV2AssetsFilesPath)\Scripts\DisableModule.ps1" />
|
2024-01-05 17:26:49 +08:00
|
|
|
<File Id="CommandNotFound_Scripts_CheckCmdNotFoundRequirements.ps1" Source="$(var.SettingsV2AssetsFilesPath)\Scripts\CheckCmdNotFoundRequirements.ps1" />
|
|
|
|
<File Id="CommandNotFound_Scripts_InstallWinGetClientModule.ps1" Source="$(var.SettingsV2AssetsFilesPath)\Scripts\InstallWinGetClientModule.ps1" />
|
|
|
|
<File Id="CommandNotFound_Scripts_InstallPowerShell7.ps1" Source="$(var.SettingsV2AssetsFilesPath)\Scripts\InstallPowerShell7.ps1" />
|
2024-01-03 23:43:42 +08:00
|
|
|
</Component>
|
|
|
|
</DirectoryRef>
|
|
|
|
|
2023-03-31 18:23:57 +08:00
|
|
|
<ComponentGroup Id="SettingsComponentGroup">
|
2023-01-23 22:59:18 +08:00
|
|
|
|
2023-07-20 07:12:46 +08:00
|
|
|
<Component Id="RemoveSettingsFolder" Guid="2D3AEF68-4E5A-4FF9-A5C0-9E53391AC754" Directory="SettingsV2AssetsInstallFolder" >
|
2023-03-31 18:23:57 +08:00
|
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
|
|
<RegistryValue Type="string" Name="RemoveSettingsFolder" Value="" KeyPath="yes"/>
|
|
|
|
</RegistryKey>
|
|
|
|
<RemoveFolder Id="RemoveFolderSettingsV2AssetsInstallFolder" Directory="SettingsV2AssetsInstallFolder" On="uninstall"/>
|
|
|
|
<RemoveFolder Id="RemoveFolderSettingsV2OOBEAssetsFluentIconsInstallFolder" Directory="SettingsV2OOBEAssetsFluentIconsInstallFolder" On="uninstall"/>
|
|
|
|
<RemoveFolder Id="RemoveFolderSettingsV2AssetsModulesInstallFolder" Directory="SettingsV2AssetsModulesInstallFolder" On="uninstall"/>
|
|
|
|
<RemoveFolder Id="RemoveFolderSettingsV2OOBEAssetsModulesInstallFolder" Directory="SettingsV2OOBEAssetsModulesInstallFolder" On="uninstall"/>
|
2024-01-03 23:43:42 +08:00
|
|
|
<RemoveFolder Id="RemoveFolderSettingsAppAssetsScriptsFolder" Directory="SettingsAppAssetsScriptsFolder" On="uninstall"/>
|
2023-03-31 18:23:57 +08:00
|
|
|
</Component>
|
2024-01-03 23:43:42 +08:00
|
|
|
<ComponentRef Id="CommandNotFound_Scripts"/>
|
2023-01-23 22:59:18 +08:00
|
|
|
</ComponentGroup>
|
|
|
|
|
|
|
|
</Fragment>
|
|
|
|
</Wix>
|