mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-21 15:27:55 +08:00
864b862952
* Flatten everything and succeed build * Figure out Settings assets * Remove UseCommonOutputDirectory tag * Proper settings app path * [VCM] Fix assets location * Fix some runtime paths * [RegistryPreview]Use MRTCore specific pri file * [Hosts]Use MRTCore specific pri file * [Settings]Use MRTCore specific pri file * [Peek]Use MRTCore specific pri file * [FileLocksmith]Use MRTCore specific pri file * [ScreenRuler]Use MRTCore specific pri file * [PowerRename]Use MRTCore specific pri file * [Peek]Move assets to own folder * [FileLocksmith] Use own Assets path * [Hosts]Use own assets folder * [PowerRename]Use own assets dir * [MeasureTool] Use its own assets folder * [ImageResizer]Use its own assets path * Fix spellcheck * Fix tab instead of space in project files * Normalize target frameworks and platforms * Remove WINRT_NO_MAKE_DETECTION flag. No longer needed? * Fix AOT and Hosts locations * Fix Dll version differences on dependency * Add Common.UI.csproj as refernce to fix dll versions * Update ControlzEx to normalize dll versions * Update System.Management version to 7.0.2 * Add GPOWrapper to Registry Preview to fix dll versions * [PTRun]Reference Microsoft.Extensions.Hosting to fix dll versions * Fix remaining output paths / dll version conflicts * [KeyboardManager]Executables still on their own directories * Fix Monaco paths * WinAppSDK apps get to play outside again * Enable VCM settings again * Fix KBM Editor path again * [Monaco]Set to own Assets dir * Fix installer preamble; Fix publish. remove unneeded publishes * Remove Hardlink functions * Installer builds again (still needs work to work) * Readd Monaco to spellcheck excludes * Fix spellcheck and call publish.cmd again * [Installer] Remove components that don't need own dirs * [Installer] Refactor Power Launcher * [Installer] Refactor Color Picker * [Installer] Refactor Monaco assets * [Installer]Generate File script no longer needs to remove files * [Installer]Refactor FileLocksmith * [Installer] Refactor Hosts * [Installer]Refactor Image Resizer * [Installer]Refactor MouseUtils * [Installer]Refactor MWB * [Installer]Refactor MeasureTool * [Installer]Refactor Peek * [Installer]Refactor PowerRename and registry fixes * [Installer]Refactor RegistryPreview * [Installer]Refactor ShortcutGuide * [Installer]Refactor Settings * [Installer]Clean up some unused stuff * [Installer]Clean up stuff for user install * [Installer]Fix WinUi3Apps wxs * [Installer]Fix misplaced folders * [Installer]Move x86 VCM dll to right path * Fix monaco language list location * [Installer]Fix VCM directory reference * [CI]Fix signing * [Installer] Fix resources folder for release CI * [ci]Looks like we still ship NLog on PowerToys Run * [Settings]Add dependency to avoid dll collision with Experimentation * [RegistryPreview]Move XAML files to own path * [RegistryPreview]Fix app icon * [Hosts]Move XAML files to their own path * [FileLocksmith]Move XAML files to their own path * [Peek]Move XAML files to own path * [ScreenRuler]Move XAML files to its own path * [Settings]Move XAML to its own path * [ColorPicker]Move Resources to Assets * [ShortcutGuide]Move svgs to own Assets path * [Awake]Move images to assets path * [Runner]Remove debug checks for PowerToys Run assets * [PTRun]Move images to its own assets path * [ImageResizer]Icon for context menu on own assets path * [PowerRename]Move ico to its own path * Remove unneeded intermediary directories * Remove further int dirs * Move tests to its own output path * Fix spellcheck * spellcheck: remove warnings * [CppAnalyzers]Ignore rule in a tool * [CI]Check if all deps.json files reference same versions * fix spellcheck * [ci]Fix task identation * [ci]Add script to guard against asset conflicts * [ci]Add more deps.json audit steps in the release build * Add xbf to spellcheck expects * Fix typo in asset conflict check scripts * Fix some more dependency conflicts * Downgrade CsWinRT to have the same dll version as sdk * [ci]Do a recursive check for every deps.json * Fix spellcheck error inside comment * [ci]Fix asset script error * [ci]Name deps.json verify tasks a bit better * [ci]Improve deps json verify script output * [ci]Update WinRT version to the same running in CI * Also upgrade CsWinRT in NOTICE.MD * [PowerRename]Move XAML files to own path * [Common]Fix Settings executable path * [ci]Verify there's no xbf files in app directories * [installer]Fix firewall path * [Monaco]Move new files to their proper assets path * [Monaco]Fix paths for new files after merge * [Feedback]Removed unneeded build conditions * [Feedback]Clear vcxproj direct reference to frameworks * [Feedback]RunPlugins name to hold PTRun plugins * [Feedback]Remove unneeded foreach * [Feedback]Shortcut Guide svgs with ** in project file * [Feedback]Fix spellcheck
491 lines
31 KiB
XML
491 lines
31 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?>
|
|
|
|
<!-- Languages for localization on build farm -->
|
|
<!-- qps-ploc;qps-ploca;qps-plocm; -->
|
|
<?define LocLanguageList = cs-CZ;de-DE;es-ES;fr-FR;hu-HU;it-IT;ja-JP;ko-KR;nl-NL;pl-PL;pt-BR;pt-PT;ru-RU;sv-SE;tr-TR;zh-CN;zh-TW?>
|
|
|
|
<Fragment>
|
|
<!-- Resource directories should be added only if the installer is built on the build farm -->
|
|
<?ifdef env.IsPipeline?>
|
|
<?foreach ParentDirectory in INSTALLFOLDER;HistoryPluginFolder;CalculatorPluginFolder;FolderPluginFolder;ProgramPluginFolder;ShellPluginFolder;IndexerPluginFolder;UnitConverterPluginFolder;ValueGeneratorPluginFolder;UriPluginFolder;WindowWalkerPluginFolder;OneNotePluginFolder;RegistryPluginFolder;VSCodeWorkspacesPluginFolder;ServicePluginFolder;SystemPluginFolder;TimeDatePluginFolder;WindowsSettingsPluginFolder;WindowsTerminalPluginFolder;WebSearchPluginFolder;PowerToysPluginFolder?>
|
|
<DirectoryRef Id="$(var.ParentDirectory)">
|
|
<!-- Resource file directories -->
|
|
<?foreach Language in $(var.LocLanguageList)?>
|
|
<!--NB: Ids can't contain hyphens-->
|
|
<?if $(var.Language) = cs-CZ?>
|
|
<?define IdSafeLanguage = cs_CZ?>
|
|
<?elseif $(var.Language) = de-DE?>
|
|
<?define IdSafeLanguage = de_DE?>
|
|
<?elseif $(var.Language) = es-ES?>
|
|
<?define IdSafeLanguage = es_ES?>
|
|
<?elseif $(var.Language) = fr-FR?>
|
|
<?define IdSafeLanguage = fr_FR?>
|
|
<?elseif $(var.Language) = hu-HU?>
|
|
<?define IdSafeLanguage = hu_HU?>
|
|
<?elseif $(var.Language) = it-IT?>
|
|
<?define IdSafeLanguage = it_IT?>
|
|
<?elseif $(var.Language) = ja-JP?>
|
|
<?define IdSafeLanguage = ja_JP?>
|
|
<?elseif $(var.Language) = ko-KR?>
|
|
<?define IdSafeLanguage = ko_KR?>
|
|
<?elseif $(var.Language) = nl-NL?>
|
|
<?define IdSafeLanguage = nl_NL?>
|
|
<?elseif $(var.Language) = pl-PL?>
|
|
<?define IdSafeLanguage = pl_PL?>
|
|
<?elseif $(var.Language) = pt-BR?>
|
|
<?define IdSafeLanguage = pt_BR?>
|
|
<?elseif $(var.Language) = pt-PT?>
|
|
<?define IdSafeLanguage = pt_PT?>
|
|
<!--
|
|
<?elseif $(var.Language) = qps-ploc?>
|
|
<?define IdSafeLanguage = qps_ploc?>
|
|
<?elseif $(var.Language) = qps-ploca?>
|
|
<?define IdSafeLanguage = qps_ploca?>
|
|
<?elseif $(var.Language) = qps-plocm?>
|
|
<?define IdSafeLanguage = qps_plocm?>
|
|
-->
|
|
<?elseif $(var.Language) = ru-RU?>
|
|
<?define IdSafeLanguage = ru_RU?>
|
|
<?elseif $(var.Language) = sv-SE?>
|
|
<?define IdSafeLanguage = sv_SE?>
|
|
<?elseif $(var.Language) = tr-TR?>
|
|
<?define IdSafeLanguage = tr_TR?>
|
|
<?elseif $(var.Language) = zh-CN?>
|
|
<?define IdSafeLanguage = zh_CN?>
|
|
<?elseif $(var.Language) = zh-TW?>
|
|
<?define IdSafeLanguage = zh_TW?>
|
|
<?else?>
|
|
<?define IdSafeLanguage = $(var.Language)?>
|
|
<?endif?>
|
|
<Directory Id="Resource$(var.IdSafeLanguage)$(var.ParentDirectory)" Name="$(var.Language)" />
|
|
<?undef IdSafeLanguage?>
|
|
<?endforeach?>
|
|
</DirectoryRef>
|
|
<?endforeach?>
|
|
<?endif?>
|
|
|
|
<ComponentGroup Id="ResourcesComponentGroup">
|
|
<!-- Resource components should be added only if the installer is built on the build farm -->
|
|
<?ifdef env.IsPipeline?>
|
|
<!-- Components for adding resource files -->
|
|
<?foreach Language in $(var.LocLanguageList)?>
|
|
<!--NB: Ids can't contain hyphens-->
|
|
<?if $(var.Language) = cs-CZ?>
|
|
<!-- CompGUIDPrefix is language-dependent guid prefix missing the last 2 digits. -->
|
|
<?define CompGUIDPrefix = 3E93405A-B91B-4E04-BAEC-26BEEE60F9?>
|
|
<?define IdSafeLanguage = cs_CZ?>
|
|
<?elseif $(var.Language) = de-DE?>
|
|
<?define CompGUIDPrefix = AF28C057-7ED9-474C-8E7E-D583BE8ECF?>
|
|
<?define IdSafeLanguage = de_DE?>
|
|
<?elseif $(var.Language) = es-ES?>
|
|
<?define CompGUIDPrefix = DD1FEEBD-55F0-44BA-A0FF-62C5C1C952?>
|
|
<?define IdSafeLanguage = es_ES?>
|
|
<?elseif $(var.Language) = fr-FR?>
|
|
<?define CompGUIDPrefix = F9F86D61-C747-43FC-8509-F3D1F198E1?>
|
|
<?define IdSafeLanguage = fr_FR?>
|
|
<?elseif $(var.Language) = hu-HU?>
|
|
<?define CompGUIDPrefix = 9A919A40-E457-47F5-97C8-E886F06DDE?>
|
|
<?define IdSafeLanguage = hu_HU?>
|
|
<?elseif $(var.Language) = it-IT?>
|
|
<?define CompGUIDPrefix = 48FBF6D9-32DB-46FF-A64C-225269E738?>
|
|
<?define IdSafeLanguage = it_IT?>
|
|
<?elseif $(var.Language) = ja-JP?>
|
|
<?define CompGUIDPrefix = FB8E04AB-C8E8-43C0-8883-19F73E4EBA?>
|
|
<?define IdSafeLanguage = ja_JP?>
|
|
<?elseif $(var.Language) = ko-KR?>
|
|
<?define CompGUIDPrefix = 86C8F07C-80CA-420A-B6E7-86933D640C?>
|
|
<?define IdSafeLanguage = ko_KR?>
|
|
<?elseif $(var.Language) = nl-NL?>
|
|
<?define CompGUIDPrefix = C68F115F-28DD-4B45-9512-405C432458?>
|
|
<?define IdSafeLanguage = nl_NL?>
|
|
<?elseif $(var.Language) = pl-PL?>
|
|
<?define CompGUIDPrefix = 97494A31-5F57-4EC1-A6A9-994DF0813B?>
|
|
<?define IdSafeLanguage = pl_PL?>
|
|
<?elseif $(var.Language) = pt-BR?>
|
|
<?define CompGUIDPrefix = F4985235-2AB9-446B-BF8E-B14929A160?>
|
|
<?define IdSafeLanguage = pt_BR?>
|
|
<?elseif $(var.Language) = pt-PT?>
|
|
<?define CompGUIDPrefix = 58155841-D53A-4330-89D3-5C0338B928?>
|
|
<?define IdSafeLanguage = pt_PT?>
|
|
<!--
|
|
<?elseif $(var.Language) = qps-ploc?>
|
|
<?define CompGUIDPrefix = 75710CB2-DBDA-420B-9676-34D5F9D4A2?>
|
|
<?define IdSafeLanguage = qps_ploc?>
|
|
<?elseif $(var.Language) = qps-ploca?>
|
|
<?define CompGUIDPrefix = 55AF2A35-F959-49AB-B9EF-DFC9964A4F?>
|
|
<?define IdSafeLanguage = qps_ploca?>
|
|
<?elseif $(var.Language) = qps-plocm?>
|
|
<?define CompGUIDPrefix = D8CE2F7B-B0A1-4687-BFB7-1792B2FCCD?>
|
|
<?define IdSafeLanguage = qps_plocm?>
|
|
-->
|
|
<?elseif $(var.Language) = ru-RU?>
|
|
<?define CompGUIDPrefix = 157BAF33-8D3F-46B7-9CF9-2C18E601CC?>
|
|
<?define IdSafeLanguage = ru_RU?>
|
|
<?elseif $(var.Language) = sv-SE?>
|
|
<?define CompGUIDPrefix = 85B4199F-5F89-42C3-B7C2-DBCD3E5267?>
|
|
<?define IdSafeLanguage = sv_SE?>
|
|
<?elseif $(var.Language) = tr-TR?>
|
|
<?define CompGUIDPrefix = EA375345-F52A-499B-A45E-108CE67EAF?>
|
|
<?define IdSafeLanguage = tr_TR?>
|
|
<?elseif $(var.Language) = zh-CN?>
|
|
<?define CompGUIDPrefix = F8EE7CE9-58EA-4850-B76F-C22362DC0E?>
|
|
<?define IdSafeLanguage = zh_CN?>
|
|
<?elseif $(var.Language) = zh-TW?>
|
|
<?define CompGUIDPrefix = F07F3210-79E2-4C38-AEF7-D8EBE06621?>
|
|
<?define IdSafeLanguage = zh_TW?>
|
|
<?else?>
|
|
<?define IdSafeLanguage = $(var.Language)?>
|
|
<?define CompGUIDPrefix = 94D9A417-56FC-435D-8167-A45F5D7A75?>
|
|
<?endif?>
|
|
<Component
|
|
Id="Launcher_$(var.IdSafeLanguage)_Component"
|
|
Directory="Resource$(var.IdSafeLanguage)INSTALLFOLDER"
|
|
Guid="$(var.CompGUIDPrefix)00">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)\$(var.Language)\PowerToys.PowerLauncher.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="FancyZonesEditor_$(var.IdSafeLanguage)_Component"
|
|
Directory="Resource$(var.IdSafeLanguage)INSTALLFOLDER"
|
|
Guid="$(var.CompGUIDPrefix)01">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="FancyZonesEditor_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="FancyZonesEditor_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)\$(var.Language)\PowerToys.FancyZonesEditor.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="ImageResizer_$(var.IdSafeLanguage)_Component"
|
|
Directory="Resource$(var.IdSafeLanguage)INSTALLFOLDER"
|
|
Guid="$(var.CompGUIDPrefix)02">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="ImageResizer_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="ImageResizer_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)\$(var.Language)\PowerToys.ImageResizer.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="ColorPicker_$(var.IdSafeLanguage)_Component"
|
|
Directory="Resource$(var.IdSafeLanguage)INSTALLFOLDER"
|
|
Guid="$(var.CompGUIDPrefix)03">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="ColorPicker_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="ColorPicker_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)\$(var.Language)\PowerToys.ColorPickerUI.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="MarkdownPreviewHandler_$(var.IdSafeLanguage)_Component"
|
|
Directory="Resource$(var.IdSafeLanguage)INSTALLFOLDER"
|
|
Guid="$(var.CompGUIDPrefix)04">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="MarkdownPreviewHandler_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="MarkdownPreviewHandler_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)$(var.Language)\PowerToys.MarkdownPreviewHandler.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="SVGPreviewHandler_$(var.IdSafeLanguage)_Component"
|
|
Directory="Resource$(var.IdSafeLanguage)INSTALLFOLDER"
|
|
Guid="$(var.CompGUIDPrefix)05">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="SVGPreviewHandler_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="SVGPreviewHandler_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)\$(var.Language)\PowerToys.SvgPreviewHandler.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="PDFPreviewHandler_$(var.IdSafeLanguage)_Component"
|
|
Directory="Resource$(var.IdSafeLanguage)INSTALLFOLDER"
|
|
Guid="$(var.CompGUIDPrefix)06">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="PDFPreviewHandler_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="PDFPreviewHandler_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)\$(var.Language)\PowerToys.PdfPreviewHandler.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="GcodePreviewHandler_$(var.IdSafeLanguage)_Component"
|
|
Directory="Resource$(var.IdSafeLanguage)INSTALLFOLDER"
|
|
Guid="$(var.CompGUIDPrefix)07">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="GcodePreviewHandler_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="GcodePreviewHandler_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)\$(var.Language)\PowerToys.GcodePreviewHandler.resources.dll" />
|
|
</Component>
|
|
<!-- PowerToys Run aka Launcher plugin resources -->
|
|
<Component
|
|
Id="Launcher_Calculator_$(var.IdSafeLanguage)_Component"
|
|
Directory="Resource$(var.IdSafeLanguage)CalculatorPluginFolder"
|
|
Guid="$(var.CompGUIDPrefix)08">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_Calculator_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_Calculator_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\Calculator\$(var.Language)\Microsoft.PowerToys.Run.Plugin.Calculator.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_Folder_$(var.IdSafeLanguage)_Component"
|
|
Directory="Resource$(var.IdSafeLanguage)FolderPluginFolder"
|
|
Guid="$(var.CompGUIDPrefix)09">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_Folder_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_Folder_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\Folder\$(var.Language)\Microsoft.Plugin.Folder.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_Program_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)0A"
|
|
Directory="Resource$(var.IdSafeLanguage)ProgramPluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_Program_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_Program_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\Program\$(var.Language)\Microsoft.Plugin.Program.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_Shell_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)0B"
|
|
Directory="Resource$(var.IdSafeLanguage)ShellPluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_Shell_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_Shell_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\Shell\$(var.Language)\Microsoft.Plugin.Shell.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_Indexer_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)0C"
|
|
Directory="Resource$(var.IdSafeLanguage)IndexerPluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_Indexer_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_Indexer_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\Indexer\$(var.Language)\Microsoft.Plugin.Indexer.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_Uri_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)0D"
|
|
Directory="Resource$(var.IdSafeLanguage)UriPluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_Uri_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_Uri_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\Uri\$(var.Language)\Microsoft.Plugin.Uri.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_VSCodeWorkspaces_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)0E"
|
|
Directory="Resource$(var.IdSafeLanguage)VSCodeWorkspacesPluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_VSCodeWorkspaces_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_VSCodeWorkspaces_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\VSCodeWorkspaces\$(var.Language)\Community.PowerToys.Run.Plugin.VSCodeWorkspaces.resources.dll" />
|
|
</Component>
|
|
<Component Id="Launcher_WindowWalker_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)0F"
|
|
Directory="Resource$(var.IdSafeLanguage)WindowWalkerPluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_WindowWalker_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_WindowWalker_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\WindowWalker\$(var.Language)\Microsoft.Plugin.WindowWalker.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_Registry_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)10"
|
|
Directory="Resource$(var.IdSafeLanguage)RegistryPluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_Registry_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_Registry_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\Registry\$(var.Language)\Microsoft.PowerToys.Run.Plugin.Registry.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_Service_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)11"
|
|
Directory="Resource$(var.IdSafeLanguage)ServicePluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_Service_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_Service_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\Service\$(var.Language)\Microsoft.PowerToys.Run.Plugin.Service.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_System_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)12"
|
|
Directory="Resource$(var.IdSafeLanguage)SystemPluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_System_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_System_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\System\$(var.Language)\Microsoft.PowerToys.Run.Plugin.System.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_WindowsSettings_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)13"
|
|
Directory="Resource$(var.IdSafeLanguage)WindowsSettingsPluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_WindowsSettings_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_WindowsSettings_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\WindowsSettings\$(var.Language)\Microsoft.PowerToys.Run.Plugin.WindowsSettings.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_WindowsTerminal_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)15"
|
|
Directory="Resource$(var.IdSafeLanguage)WindowsTerminalPluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_WindowsTerminal_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_WindowsTerminal_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\WindowsTerminal\$(var.Language)\Microsoft.PowerToys.Run.Plugin.WindowsTerminal.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_WebSearch_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)16"
|
|
Directory="Resource$(var.IdSafeLanguage)WebSearchPluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_WebSearch_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_WebSearch_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\WebSearch\$(var.Language)\Community.PowerToys.Run.Plugin.WebSearch.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_UnitConverter_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)17"
|
|
Directory="Resource$(var.IdSafeLanguage)UnitConverterPluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_UnitConverter_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_UnitConverter_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\UnitConverter\$(var.Language)\Community.PowerToys.Run.Plugin.UnitConverter.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_TimeDate_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)18"
|
|
Directory="Resource$(var.IdSafeLanguage)TimeDatePluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_TimeDate_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_TimeDate_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\TimeDate\$(var.Language)\Microsoft.PowerToys.Run.Plugin.TimeDate.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_OneNote_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)19"
|
|
Directory="Resource$(var.IdSafeLanguage)OneNotePluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Resource$(var.IdSafeLanguage)OneNotePluginFolder" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_OneNote_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\OneNote\$(var.Language)\Microsoft.PowerToys.Run.Plugin.OneNote.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="MonacoPreviewHandler_$(var.IdSafeLanguage)_Component"
|
|
Directory="Resource$(var.IdSafeLanguage)INSTALLFOLDER"
|
|
Guid="$(var.CompGUIDPrefix)1A">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="MonacoPreviewHandler_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="MonacoPreviewHandler_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)\$(var.Language)\PowerToys.MonacoPreviewHandler.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_History_$(var.IdSafeLanguage)_Component"
|
|
Directory="Resource$(var.IdSafeLanguage)HistoryPluginFolder"
|
|
Guid="$(var.CompGUIDPrefix)1B">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_History_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_History_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\History\$(var.Language)\Microsoft.PowerToys.Run.Plugin.History.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_PowerToys_$(var.IdSafeLanguage)_Component"
|
|
Directory="Resource$(var.IdSafeLanguage)PowerToysPluginFolder"
|
|
Guid="$(var.CompGUIDPrefix)1C">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_PowerToys_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_PowerToys_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\PowerToys\$(var.Language)\Microsoft.PowerToys.Run.Plugin.PowerToys.resources.dll" />
|
|
</Component>
|
|
<Component
|
|
Id="Launcher_ValueGenerator_$(var.IdSafeLanguage)_Component"
|
|
Guid="$(var.CompGUIDPrefix)1D"
|
|
Directory="Resource$(var.IdSafeLanguage)ValueGeneratorPluginFolder">
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="Launcher_ValueGenerator_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<File Id="Launcher_ValueGenerator_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)RunPlugins\ValueGenerator\$(var.Language)\Community.PowerToys.Run.Plugin.ValueGenerator.resources.dll" />
|
|
</Component>
|
|
<?undef IdSafeLanguage?>
|
|
<?undef CompGUIDPrefix?>
|
|
<?endforeach?>
|
|
<?endif?>
|
|
|
|
<?ifdef env.IsPipeline?>
|
|
<Component Id="RemoveResourcesFolder" Guid="9BC0A5A1-CBC5-47C8-8544-3F8A8C0D45F5" Directory="INSTALLFOLDER" >
|
|
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
|
|
<RegistryValue Type="string" Name="RemoveResourcesFolder" Value="" KeyPath="yes"/>
|
|
</RegistryKey>
|
|
<?foreach Language in $(var.LocLanguageList)?>
|
|
<!--NB: Ids can't contain hyphens-->
|
|
<?if $(var.Language) = cs-CZ?>
|
|
<?define IdSafeLanguage = cs_CZ?>
|
|
<?elseif $(var.Language) = de-DE?>
|
|
<?define IdSafeLanguage = de_DE?>
|
|
<?elseif $(var.Language) = es-ES?>
|
|
<?define IdSafeLanguage = es_ES?>
|
|
<?elseif $(var.Language) = fr-FR?>
|
|
<?define IdSafeLanguage = fr_FR?>
|
|
<?elseif $(var.Language) = hu-HU?>
|
|
<?define IdSafeLanguage = hu_HU?>
|
|
<?elseif $(var.Language) = it-IT?>
|
|
<?define IdSafeLanguage = it_IT?>
|
|
<?elseif $(var.Language) = ja-JP?>
|
|
<?define IdSafeLanguage = ja_JP?>
|
|
<?elseif $(var.Language) = ko-KR?>
|
|
<?define IdSafeLanguage = ko_KR?>
|
|
<?elseif $(var.Language) = nl-NL?>
|
|
<?define IdSafeLanguage = nl_NL?>
|
|
<?elseif $(var.Language) = pl-PL?>
|
|
<?define IdSafeLanguage = pl_PL?>
|
|
<?elseif $(var.Language) = pt-BR?>
|
|
<?define IdSafeLanguage = pt_BR?>
|
|
<?elseif $(var.Language) = pt-PT?>
|
|
<?define IdSafeLanguage = pt_PT?>
|
|
<!--
|
|
<?elseif $(var.Language) = qps-ploc?>
|
|
<?define IdSafeLanguage = qps_ploc?>
|
|
<?elseif $(var.Language) = qps-ploca?>
|
|
<?define IdSafeLanguage = qps_ploca?>
|
|
<?elseif $(var.Language) = qps-plocm?>
|
|
<?define IdSafeLanguage = qps_plocm?>
|
|
-->
|
|
<?elseif $(var.Language) = ru-RU?>
|
|
<?define IdSafeLanguage = ru_RU?>
|
|
<?elseif $(var.Language) = sv-SE?>
|
|
<?define IdSafeLanguage = sv_SE?>
|
|
<?elseif $(var.Language) = tr-TR?>
|
|
<?define IdSafeLanguage = tr_TR?>
|
|
<?elseif $(var.Language) = zh-CN?>
|
|
<?define IdSafeLanguage = zh_CN?>
|
|
<?elseif $(var.Language) = zh-TW?>
|
|
<?define IdSafeLanguage = zh_TW?>
|
|
<?else?>
|
|
<?define IdSafeLanguage = $(var.Language)?>
|
|
<?endif?>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)INSTALLFOLDER" Directory="Resource$(var.IdSafeLanguage)INSTALLFOLDER" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)CalculatorPluginFolder" Directory="Resource$(var.IdSafeLanguage)CalculatorPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)FolderPluginFolder" Directory="Resource$(var.IdSafeLanguage)FolderPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)ProgramPluginFolder" Directory="Resource$(var.IdSafeLanguage)ProgramPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)ShellPluginFolder" Directory="Resource$(var.IdSafeLanguage)ShellPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)IndexerPluginFolder" Directory="Resource$(var.IdSafeLanguage)IndexerPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)UriPluginFolder" Directory="Resource$(var.IdSafeLanguage)UriPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)VSCodeWorkspacesPluginFolder" Directory="Resource$(var.IdSafeLanguage)VSCodeWorkspacesPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)WindowWalkerPluginFolder" Directory="Resource$(var.IdSafeLanguage)WindowWalkerPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)RegistryPluginFolder" Directory="Resource$(var.IdSafeLanguage)RegistryPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)ServicePluginFolder" Directory="Resource$(var.IdSafeLanguage)ServicePluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)SystemPluginFolder" Directory="Resource$(var.IdSafeLanguage)SystemPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)WindowsSettingsPluginFolder" Directory="Resource$(var.IdSafeLanguage)WindowsSettingsPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)WindowsTerminalPluginFolder" Directory="Resource$(var.IdSafeLanguage)WindowsTerminalPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)WebSearchPluginFolder" Directory="Resource$(var.IdSafeLanguage)WebSearchPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)UnitConverterPluginFolder" Directory="Resource$(var.IdSafeLanguage)UnitConverterPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)TimeDatePluginFolder" Directory="Resource$(var.IdSafeLanguage)TimeDatePluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)OneNotePluginFolder" Directory="Resource$(var.IdSafeLanguage)OneNotePluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)HistoryPluginFolder" Directory="Resource$(var.IdSafeLanguage)HistoryPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)PowerToysPluginFolder" Directory="Resource$(var.IdSafeLanguage)PowerToysPluginFolder" On="uninstall"/>
|
|
<RemoveFolder Id="RemoveFolderResourcesResource$(var.IdSafeLanguage)ValueGeneratorPluginFolder" Directory="Resource$(var.IdSafeLanguage)ValueGeneratorPluginFolder" On="uninstall"/>
|
|
<?undef IdSafeLanguage?>
|
|
<?endforeach?>
|
|
</Component>
|
|
<?endif?>
|
|
|
|
</ComponentGroup>
|
|
</Fragment>
|
|
</Wix>
|