Compare commits

...

11 Commits

Author SHA1 Message Date
Peiyao Zhao (from Dev Box)
7812064d4e update pipeline 2025-02-24 17:47:00 +08:00
Peiyao Zhao (from Dev Box)
ef05630791 fix build errors 2025-02-20 15:58:59 +08:00
Peiyao Zhao (from Dev Box)
3fe7ff41ca auto upgrade to wix4 2025-02-18 15:45:01 +08:00
Peiyao Zhao (from Dev Box)
15d8f775cf can only use <PreBuildEvent> once in a file. If use elements(<Command>/<Message>/<PreBuildEvent>) multiple times, the last one will be executed. 2025-02-18 15:17:16 +08:00
Jerry Xu
aa37d0c89e Remove unused WiXMigration project 2025-02-14 12:56:07 +08:00
Jerry Xu
36c32d846e Branchout WiXVnext projet for WiX4/5 migration 2025-02-14 12:55:18 +08:00
Peiyao Zhao (from Dev Box)
c91d33b525 update powertoysinstall.wixproj migration code 2025-02-11 14:57:22 +08:00
Peiyao Zhao (from Dev Box)
24ac40a158 add KeyboardManager migration code 2025-02-11 14:40:48 +08:00
Peiyao Zhao (from Dev Box)
0989dc48f1 RegistryPreview migration code 2025-02-11 14:39:21 +08:00
Peiyao Zhao (from Dev Box)
94af1bc488 RegistryPreview migration code 2025-02-11 14:37:20 +08:00
Peiyao Zhao (from Dev Box)
284138bd45 init wix5 project 2025-02-07 11:12:20 +08:00
69 changed files with 10230 additions and 163 deletions

3
.gitignore vendored
View File

@@ -353,3 +353,6 @@ src/common/Telemetry/*.etl
# MSBuildCache
/MSBuildCacheLogs/
# PowerToysInstaller Build Temp Files
installer/*/*.wxs.bk

View File

@@ -0,0 +1,472 @@
parameters:
- name: additionalBuildOptions
type: string
default: ''
- name: buildConfigurations
type: object
default:
- Release
- name: buildPlatforms
type: object
default:
- x64
- arm64
- name: codeSign
type: boolean
default: false
- name: artifactStem
type: string
default: ''
- name: jobName
type: string
default: 'Build'
- name: condition
type: string
default: ''
- name: dependsOn
type: object
default: []
- name: pool
type: object
default: []
- name: beforeBuildSteps
type: stepList
default: []
- name: variables
type: object
default: {}
- name: publishArtifacts
type: boolean
default: true
- name: signingIdentity
type: object
default: {}
- name: enablePackageCaching
type: boolean
default: false
- name: enableMsBuildCaching
type: boolean
default: false
- name: runTests
type: boolean
default: true
- name: useVSPreview
type: boolean
default: false
- name: versionNumber
type: string
default: '0.0.1'
- name: useLatestWinAppSDK
type: boolean
default: false
- name: winAppSDKVersionNumber
type: string
default: 1.6
- name: useExperimentalVersion
type: boolean
default: false
- name: csProjectsToPublish
type: object
default:
- 'src/settings-ui/Settings.UI/PowerToys.Settings.csproj'
- 'src/modules/launcher/PowerLauncher/PowerLauncher.csproj'
- 'src/modules/previewpane/MonacoPreviewHandler/MonacoPreviewHandler.csproj'
- 'src/modules/previewpane/MarkdownPreviewHandler/MarkdownPreviewHandler.csproj'
- 'src/modules/previewpane/SvgPreviewHandler/SvgPreviewHandler.csproj'
- 'src/modules/previewpane/SvgThumbnailProvider/SvgThumbnailProvider.csproj'
- 'src/modules/FileLocksmith/FileLocksmithUI/FileLocksmithUI.csproj'
jobs:
- job: ${{ parameters.jobName }}
${{ if ne(length(parameters.pool), 0) }}:
pool: ${{ parameters.pool }}
dependsOn: ${{ parameters.dependsOn }}
condition: ${{ parameters.condition }}
strategy:
matrix:
${{ each config in parameters.buildConfigurations }}:
${{ each platform in parameters.buildPlatforms }}:
${{ config }}_${{ platform }}:
BuildConfiguration: ${{ config }}
BuildPlatform: ${{ platform }}
${{ if eq(platform, 'x86') }}:
OutputBuildPlatform: Win32
${{ elseif eq(platform, 'Any CPU') }}:
OutputBuildPlatform: AnyCPU
${{ else }}:
OutputBuildPlatform: ${{ platform }}
variables:
# Azure DevOps abhors a vacuum
# If these are blank, expansion will fail later on... which will result in direct substitution of the variable *names*
# later on. We'll just... set them to a single space and if we need to, check IsNullOrWhiteSpace.
# Yup.
MSBuildCacheParameters: ' '
JobOutputDirectory: $(Build.ArtifactStagingDirectory)
LogOutputDirectory: $(Build.ArtifactStagingDirectory)\logs
JobOutputArtifactName: build-$(BuildPlatform)-$(BuildConfiguration)${{ parameters.artifactStem }}
NUGET_RESTORE_MSBUILD_ARGS: /p:Platform=$(BuildPlatform) # Required for nuget to work due to self contained
NODE_OPTIONS: --max_old_space_size=16384
${{ if eq(parameters.runTests, true) }}:
MSBuildMainBuildTargets: Build;Test
${{ else }}:
MSBuildMainBuildTargets: Build
${{ insert }}: ${{ parameters.variables }}
${{ if eq(parameters.useLatestWinAppSDK, true) }}:
RestoreAdditionalProjectSourcesArg: '/p:RestoreAdditionalProjectSources="$(Build.SourcesDirectory)\localpackages\NugetPackages"'
${{ else }}:
RestoreAdditionalProjectSourcesArg: ''
displayName: Build
timeoutInMinutes: 240
cancelTimeoutInMinutes: 1
templateContext: # Required when this template is hosted in 1ES PT
outputs:
- output: pipelineArtifact
artifactName: $(JobOutputArtifactName)
targetPath: $(Build.ArtifactStagingDirectory)
steps:
- checkout: self
clean: true
submodules: true
persistCredentials: True
fetchTags: false
fetchDepth: 1
- ${{ if eq(parameters.enableMsBuildCaching, true) }}:
- pwsh: |-
$MSBuildCacheParameters = ""
$MSBuildCacheParameters += " -graph"
$MSBuildCacheParameters += " -reportfileaccesses"
$MSBuildCacheParameters += " -p:MSBuildCacheEnabled=true"
$MSBuildCacheParameters += " -p:MSBuildCacheLogDirectory=$(LogOutputDirectory)\MSBuildCacheLogs"
Write-Host "MSBuildCacheParameters: $MSBuildCacheParameters"
Write-Host "##vso[task.setvariable variable=MSBuildCacheParameters]$MSBuildCacheParameters"
displayName: Prepare MSBuildCache variables
- template: steps-ensure-dotnet-version.yml
parameters:
sdk: true
version: '6.0'
- template: steps-ensure-dotnet-version.yml
parameters:
sdk: true
version: '8.0'
- template: steps-ensure-dotnet-version.yml
parameters:
sdk: true
version: '9.0'
- ${{ if eq(parameters.runTests, true) }}:
- task: VisualStudioTestPlatformInstaller@1
displayName: Ensure VSTest Platform
- pwsh: |-
& '.pipelines/applyXamlStyling.ps1' -Passive
displayName: Verify XAML formatting
- pwsh: |-
& '.pipelines/verifyNugetPackages.ps1' -solution '$(build.sourcesdirectory)\PowerToys.sln'
displayName: Verify Nuget package versions for PowerToys.sln
- pwsh: |-
& '.pipelines/verifyArm64Configuration.ps1' -solution '$(build.sourcesdirectory)\PowerToys.sln'
& '.pipelines/verifyArm64Configuration.ps1' -solution '$(build.sourcesdirectory)\tools\BugReportTool\BugReportTool.sln'
& '.pipelines/verifyArm64Configuration.ps1' -solution '$(build.sourcesdirectory)\tools\StylesReportTool\StylesReportTool.sln'
& '.pipelines/verifyArm64Configuration.ps1' -solution '$(build.sourcesdirectory)\installer\PowerToysSetup.sln'
displayName: Verify ARM64 configurations
- ${{ if eq(parameters.enablePackageCaching, true) }}:
- task: Cache@2
displayName: 'Cache nuget packages (PackageReference)'
inputs:
key: '"PackageReference" | "$(Agent.OS)" | Directory.Packages.props'
restoreKeys: |
"PackageReference" | "$(Agent.OS)"
"PackageReference"
path: $(NUGET_PACKAGES)
- task: Cache@2
displayName: 'Cache nuget packages (packages.config)'
inputs:
key: '"packages.config" | "$(Agent.OS)" | **/packages.config'
restoreKeys: |
"packages.config" | "$(Agent.OS)"
"packages.config"
path: packages
- ${{ if eq(parameters.useLatestWinAppSDK, true)}}:
- template: .\steps-update-winappsdk-and-restore-nuget.yml
parameters:
versionNumber: ${{ parameters.winAppSDKVersionNumber }}
useExperimentalVersion: ${{ parameters.useExperimentalVersion }}
- ${{ if eq(parameters.useLatestWinAppSDK, false)}}:
- template: .\steps-restore-nuget.yml
- pwsh: |-
& "$(build.sourcesdirectory)\.pipelines\verifyAndSetLatestVCToolsVersion.ps1"
displayName: Work around DD-1541167 (VCToolsVersion)
${{ if eq(parameters.useVSPreview, true) }}:
env:
VCWhereExtraVersionTarget: '-prerelease'
- pwsh: |-
& "$(build.sourcesdirectory)\.pipelines\installWiX.ps1"
displayName: Download and install WiX 3.14 development build
- ${{ parameters.beforeBuildSteps }}
- task: VSBuild@1
${{ if eq(parameters.runTests, true) }}:
displayName: Build and Test PowerToys main project
${{ else }}:
displayName: Build PowerToys main project
inputs:
solution: 'PowerToys.sln'
vsVersion: 17.0
msbuildArgs: >-
-restore -graph
/p:RestorePackagesConfig=true
/p:CIBuild=true
/bl:$(LogOutputDirectory)\build-0-main.binlog
${{ parameters.additionalBuildOptions }}
$(MSBuildCacheParameters)
/t:$(MSBuildMainBuildTargets)
$(RestoreAdditionalProjectSourcesArg)
platform: $(BuildPlatform)
configuration: $(BuildConfiguration)
msbuildArchitecture: x64
maximumCpuCount: true
${{ if eq(parameters.enableMsBuildCaching, true) }}:
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
- task: VSBuild@1
displayName: Build BugReportTool
inputs:
solution: '**/tools/BugReportTool/BugReportTool.sln'
vsVersion: 17.0
msbuildArgs: >-
-restore -graph
/p:RestorePackagesConfig=true
/p:CIBuild=true
/bl:$(LogOutputDirectory)\build-bug-report.binlog
${{ parameters.additionalBuildOptions }}
$(MSBuildCacheParameters)
$(RestoreAdditionalProjectSourcesArg)
platform: $(BuildPlatform)
configuration: $(BuildConfiguration)
msbuildArchitecture: x64
maximumCpuCount: true
${{ if eq(parameters.enableMsBuildCaching, true) }}:
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
- task: VSBuild@1
displayName: Build StylesReportTool
inputs:
solution: '**/tools/StylesReportTool/StylesReportTool.sln'
vsVersion: 17.0
msbuildArgs: >-
-restore -graph
/p:RestorePackagesConfig=true
/p:CIBuild=true
/bl:$(LogOutputDirectory)\build-styles-report.binlog
${{ parameters.additionalBuildOptions }}
$(MSBuildCacheParameters)
$(RestoreAdditionalProjectSourcesArg)
platform: $(BuildPlatform)
configuration: $(BuildConfiguration)
msbuildArchitecture: x64
maximumCpuCount: true
${{ if eq(parameters.enableMsBuildCaching, true) }}:
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
- ${{ each project in parameters.csProjectsToPublish }}:
- task: VSBuild@1
displayName: Publish ${{ project }} for Packaging
inputs:
solution: ${{ project }}
vsVersion: 17.0
msbuildArgs: >-
/target:Publish
/graph
/p:Configuration=$(BuildConfiguration);Platform=$(BuildPlatform);AppxBundle=Never
/p:VCRTForwarders-IncludeDebugCRT=false
/p:PowerToysRoot=$(Build.SourcesDirectory)
/p:PublishProfile=InstallationPublishProfile.pubxml
/bl:$(LogOutputDirectory)\publish-${{ join('_',split(project, '/')) }}.binlog
$(RestoreAdditionalProjectSourcesArg)
platform: $(BuildPlatform)
configuration: $(BuildConfiguration)
msbuildArchitecture: x64
maximumCpuCount: true
### HACK: On ARM64 builds, building an app with Windows App SDK copies the x64 WebView2 dll instead of the ARM64 one. This task makes sure the right dll is used.
- task: CopyFiles@2
displayName: HACK Copy core WebView2 ARM64 dll to output directory
condition: eq(variables['BuildPlatform'],'arm64')
inputs:
contents: packages/Microsoft.Web.WebView2.1.0.2739.15/runtimes/win-ARM64/native_uap/Microsoft.Web.WebView2.Core.dll
targetFolder: $(Build.SourcesDirectory)/ARM64/Release/WinUI3Apps/
flattenFolders: True
OverWrite: True
# Check if deps.json files don't reference different dll versions.
- pwsh: |-
& '.pipelines/verifyDepsJsonLibraryVersions.ps1' -targetDir '$(build.sourcesdirectory)\$(BuildPlatform)\$(BuildConfiguration)'
displayName: Audit deps.json files for all applications
# Check if asset files on the main application paths are playing nice and avoiding basic conflicts.
- pwsh: |-
& '.pipelines/verifyPossibleAssetConflicts.ps1' -targetDir '$(build.sourcesdirectory)\$(BuildPlatform)\$(BuildConfiguration)'
displayName: Audit base applications path asset conflicts
- pwsh: |-
& '.pipelines/verifyPossibleAssetConflicts.ps1' -targetDir '$(build.sourcesdirectory)\$(BuildPlatform)\$(BuildConfiguration)\WinUI3Apps'
displayName: Audit WinAppSDK applications path asset conflicts
# To streamline the pipeline and prevent errors, skip this step during compatibility tests with the latest WinAppSDK.
- ${{ if eq(parameters.useLatestWinAppSDK, false) }}:
- pwsh: |-
& '.pipelines/verifyNoticeMdAgainstNugetPackages.ps1' -path '$(build.sourcesdirectory)\'
displayName: Verify NOTICE.md and NuGet packages match
- ${{ if eq(parameters.runTests, true) }}:
# Publish test results which ran in MSBuild
- task: PublishTestResults@2
displayName: 'Publish Test Results'
inputs:
testResultsFormat: VSTest
testResultsFiles: '**/*.trx'
condition: ne(variables['BuildPlatform'],'arm64')
# Native dlls
- task: VSTest@2
condition: ne(variables['BuildPlatform'],'arm64') # No arm64 agents to run the tests.
displayName: 'Native Tests'
inputs:
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
testSelector: 'testAssemblies'
testAssemblyVer2: |
**\KeyboardManagerEngineTest.dll
**\KeyboardManagerEditorTest.dll
**\UnitTests-CommonLib.dll
**\PowerRenameUnitTests.dll
**\UnitTests-FancyZones.dll
!**\obj\**
- ${{ if eq(parameters.codeSign, true) }}:
- template: steps-esrp-signing.yml
parameters:
displayName: Sign Core PowerToys
signingIdentity: ${{ parameters.signingIdentity }}
inputs:
FolderPath: '$(BuildPlatform)/$(BuildConfiguration)'
signType: batchSigning
batchSignPolicyFile: '$(build.sourcesdirectory)\.pipelines\ESRPSigning_core.json'
ciPolicyFile: '$(build.sourcesdirectory)\.pipelines\CIPolicy.xml'
- template: steps-esrp-signing.yml
parameters:
displayName: Sign DSC files
signingIdentity: ${{ parameters.signingIdentity }}
inputs:
FolderPath: 'src/dsc/Microsoft.PowerToys.Configure'
signType: batchSigning
batchSignPolicyFile: '$(build.sourcesdirectory)\.pipelines\ESRPSigning_DSC.json'
ciPolicyFile: '$(build.sourcesdirectory)\.pipelines\CIPolicy.xml'
- template: steps-build-installer.yml
parameters:
codeSign: ${{ parameters.codeSign }}
signingIdentity: ${{ parameters.signingIdentity }}
versionNumber: ${{ parameters.versionNumber }}
additionalBuildOptions: ${{ parameters.additionalBuildOptions }}
- template: steps-build-installer.yml
parameters:
codeSign: ${{ parameters.codeSign }}
signingIdentity: ${{ parameters.signingIdentity }}
versionNumber: ${{ parameters.versionNumber }}
additionalBuildOptions: ${{ parameters.additionalBuildOptions }}
buildUserInstaller: true # NOTE: This is the distinction between the above and below rules
# This saves ~1GiB per architecture. We won't need these later.
# Removes:
# - All .pdbs from any static libs .libs (which were only used during linking)
- pwsh: |-
$binDir = '$(Build.SourcesDirectory)'
$ImportLibs = Get-ChildItem $binDir -Recurse -File -Filter '*.exp' | ForEach-Object { $_.FullName -Replace "exp$","lib" }
$StaticLibs = Get-ChildItem $binDir -Recurse -File -Filter '*.lib' | Where-Object FullName -NotIn $ImportLibs
$Items = @()
$Items += Get-Item ($StaticLibs.FullName -Replace "lib$","pdb") -ErrorAction:Ignore
$Items | Remove-Item -Recurse -Force -Verbose -ErrorAction:Ignore
displayName: Clean up static libs PDBs
errorActionPreference: silentlyContinue # It's OK if this silently fails
- task: CopyFiles@2
displayName: Stage Installers
inputs:
contents: "**/PowerToys*Setup-*.exe"
flattenFolders: True
targetFolder: $(JobOutputDirectory)
- task: CopyFiles@2
displayName: Stage Symbols
inputs:
contents: |-
**\*.pdb
!**\vc143.pdb
!**\*test*.pdb
flattenFolders: True
targetFolder: $(JobOutputDirectory)/symbols-$(BuildPlatform)/
- pwsh: |-
$p = "$(JobOutputDirectory)\"
$userHash = ((Get-Item $p\PowerToysUserSetup*.exe | Get-FileHash).Hash);
$machineHash = ((Get-Item $p\PowerToysSetup*.exe | Get-FileHash).Hash);
$userPlat = "hash_user_$(BuildPlatform).txt";
$machinePlat = "hash_machine_$(BuildPlatform).txt";
$combinedUserPath = $p + $userPlat;
$combinedMachinePath = $p + $machinePlat;
echo $p
echo $userPlat
echo $userHash
echo $combinedUserPath
echo $machinePlat
echo $machineHash
echo $combinedMachinePath
$userHash | out-file -filepath $combinedUserPath
$machineHash | out-file -filepath $combinedMachinePath
displayName: Calculate file hashes
# Publishing the GPO files
- pwsh: |-
New-Item "$(JobOutputDirectory)/gpo" -Type Directory
Copy-Item src\gpo\assets\* "$(JobOutputDirectory)/gpo" -Recurse
displayName: Stage GPO files
# Running the tests may result in future jobs consuming artifacts out of this build
- ${{ if eq(parameters.runTests, true) }}:
- task: CopyFiles@2
displayName: Stage entire build output
inputs:
sourceFolder: '$(Build.SourcesDirectory)'
contents: '$(BuildPlatform)/$(BuildConfiguration)/**/*'
targetFolder: '$(JobOutputDirectory)\$(BuildPlatform)\$(BuildConfiguration)'
- ${{ if eq(parameters.publishArtifacts, true) }}:
- publish: $(JobOutputDirectory)
artifact: $(JobOutputArtifactName)
displayName: Publish all outputs
condition: always()

View File

@@ -23,7 +23,7 @@ steps:
- pwsh: |-
$IsPerUser = $${{ parameters.buildUserInstaller }}
$InstallerBuildSlug = "MachineSetup"
$InstallerBasename = "PowerToysSetup"
$InstallerBasename = "PowerToysSetupVNext"
If($IsPerUser) {
$InstallerBuildSlug = "UserSetup"
$InstallerBasename = "PowerToysUserSetup"
@@ -38,7 +38,7 @@ steps:
- task: VSBuild@1
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Build PowerToysSetupCustomActions
inputs:
solution: "**/installer/PowerToysSetup.sln"
solution: "**/installer/PowerToysSetupVNext.sln"
vsVersion: 17.0
msbuildArgs: >-
/t:PowerToysSetupCustomActions
@@ -68,7 +68,7 @@ steps:
- task: VSBuild@1
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Build MSI
inputs:
solution: "**/installer/PowerToysSetup.sln"
solution: "**/installer/PowerToysSetupVNext.sln"
vsVersion: 17.0
msbuildArgs: >-
-restore
@@ -83,7 +83,7 @@ steps:
maximumCpuCount: true
- script: |-
"C:\Program Files (x86)\WiX Toolset v3.14\bin\dark.exe" -x $(build.sourcesdirectory)\extractedMsi installer\PowerToysSetup\$(InstallerRelativePath)\$(InstallerBasename).msi
"C:\Program Files (x86)\WiX Toolset v3.14\bin\dark.exe" -x $(build.sourcesdirectory)\extractedMsi installer\PowerToysSetupVNext\$(InstallerRelativePath)\$(InstallerBasename).msi
dir $(build.sourcesdirectory)\extractedMsi
displayName: "${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Extract and verify MSI"
@@ -104,7 +104,7 @@ steps:
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Sign MSI
signingIdentity: ${{ parameters.signingIdentity }}
inputs:
FolderPath: 'installer/PowerToysSetup/$(InstallerRelativePath)'
FolderPath: 'installer/PowerToysSetupVNext/$(InstallerRelativePath)'
signType: batchSigning
batchSignPolicyFile: '$(build.sourcesdirectory)\.pipelines\ESRPSigning_installer.json'
ciPolicyFile: '$(build.sourcesdirectory)\.pipelines\CIPolicy.xml'
@@ -115,7 +115,7 @@ steps:
- task: VSBuild@1
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Build Bootstrapper
inputs:
solution: "**/installer/PowerToysSetup.sln"
solution: "**/installer/PowerToysSetupVNext.sln"
vsVersion: 17.0
msbuildArgs: >-
/t:PowerToysBootstrapper
@@ -132,7 +132,7 @@ steps:
# The entirety of bundle unpacking/re-packing is unnecessary if we are not code signing it.
- ${{ if eq(parameters.codeSign, true) }}:
- script: |-
"C:\Program Files (x86)\WiX Toolset v3.14\bin\insignia.exe" -ib installer\PowerToysSetup\$(InstallerRelativePath)\$(InstallerBasename).exe -o installer\engine.exe
"C:\Program Files (x86)\WiX Toolset v3.14\bin\insignia.exe" -ib installer\PowerToysSetupVNext\$(InstallerRelativePath)\$(InstallerBasename).exe -o installer\engine.exe
displayName: "${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Insignia: Extract Engine from Bundle"
- template: steps-esrp-signing.yml
@@ -168,7 +168,7 @@ steps:
]
- script: |-
"C:\Program Files (x86)\WiX Toolset v3.14\bin\insignia.exe" -ab installer\engine.exe installer\PowerToysSetup\$(InstallerRelativePath)\$(InstallerBasename).exe -o installer\PowerToysSetup\$(InstallerRelativePath)\$(InstallerBasename).exe
"C:\Program Files (x86)\WiX Toolset v3.14\bin\insignia.exe" -ab installer\engine.exe installer\PowerToysSetupVNext\$(InstallerRelativePath)\$(InstallerBasename).exe -o installer\PowerToysSetupVNext\$(InstallerRelativePath)\$(InstallerBasename).exe
displayName: "${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Insignia: Merge Engine into Bundle"
- template: steps-esrp-signing.yml
@@ -176,7 +176,7 @@ steps:
displayName: ${{replace(replace(parameters.buildUserInstaller,'True','👤'),'False','💻')}} Sign Final Bootstrapper
signingIdentity: ${{ parameters.signingIdentity }}
inputs:
FolderPath: 'installer/PowerToysSetup/$(InstallerRelativePath)'
FolderPath: 'installer/PowerToysSetupVNext/$(InstallerRelativePath)'
signType: batchSigning
batchSignPolicyFile: '$(build.sourcesdirectory)\.pipelines\ESRPSigning_installer.json'
ciPolicyFile: '$(build.sourcesdirectory)\.pipelines\CIPolicy.xml'

View File

@@ -92,6 +92,14 @@
<PackageVersion Include="UTF.Unknown" Version="2.5.1" />
<PackageVersion Include="WinUIEx" Version="2.2.0" />
<PackageVersion Include="WPF-UI" Version="3.0.5" />
<!-- Wix related packages -->
<PackageVersion Include="WixToolset.Util.wixext" Version="5.0.2" />
<PackageVersion Include="WixToolset.UI.wixext" Version="5.0.2" />
<PackageVersion Include="WixToolset.NetFx.wixext" Version="5.0.2" />
<PackageVersion Include="WixToolset.Bal.wixext" Version="5.0.2" />
<PackageVersion Include="WixToolset.Firewall.wixext" Version="5.0.2" />
<PackageVersion Include="WixToolset.Heat" Version="5.0.2" />
</ItemGroup>
<ItemGroup Condition="'$(IsExperimentationLive)'!=''">
<!-- Additional dependencies used by experimentation -->

View File

@@ -17,67 +17,52 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Version", "..\src\common\ve
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EtwTrace", "..\src\common\Telemetry\EtwTrace\EtwTrace.vcxproj", "{8F021B46-362B-485C-BFBA-CCF83E820CBD}"
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "PowerToysInstallerVNext", "PowerToysSetupVNext\PowerToysInstallerVNext.wixproj", "{B6E94700-DF38-41F6-A3FD-18B69674AB1E}"
EndProject
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "PowerToysBootstrapperVNext", "PowerToysSetupVNext\PowerToysBootstrapperVNext.wixproj", "{DA4E9744-80BE-424C-B0F5-AFD8757DB575}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{022A9D30-7C4F-416D-A9DF-5FF2661CC0AD}.Debug|ARM64.ActiveCfg = Debug|ARM64
{022A9D30-7C4F-416D-A9DF-5FF2661CC0AD}.Debug|ARM64.Build.0 = Debug|ARM64
{022A9D30-7C4F-416D-A9DF-5FF2661CC0AD}.Debug|x64.ActiveCfg = Debug|x64
{022A9D30-7C4F-416D-A9DF-5FF2661CC0AD}.Debug|x64.Build.0 = Debug|x64
{022A9D30-7C4F-416D-A9DF-5FF2661CC0AD}.Release|ARM64.ActiveCfg = Release|ARM64
{022A9D30-7C4F-416D-A9DF-5FF2661CC0AD}.Release|ARM64.Build.0 = Release|ARM64
{022A9D30-7C4F-416D-A9DF-5FF2661CC0AD}.Release|x64.ActiveCfg = Release|x64
{022A9D30-7C4F-416D-A9DF-5FF2661CC0AD}.Release|x64.Build.0 = Release|x64
{32F3882B-F2D6-4586-B5ED-11E39E522BD3}.Debug|ARM64.ActiveCfg = Debug|ARM64
{32F3882B-F2D6-4586-B5ED-11E39E522BD3}.Debug|x64.ActiveCfg = Debug|x64
{32F3882B-F2D6-4586-B5ED-11E39E522BD3}.Debug|x64.Build.0 = Debug|x64
{32F3882B-F2D6-4586-B5ED-11E39E522BD3}.Release|ARM64.ActiveCfg = Release|ARM64
{32F3882B-F2D6-4586-B5ED-11E39E522BD3}.Release|ARM64.Build.0 = Release|ARM64
{32F3882B-F2D6-4586-B5ED-11E39E522BD3}.Release|x64.ActiveCfg = Release|x64
{32F3882B-F2D6-4586-B5ED-11E39E522BD3}.Release|x64.Build.0 = Release|x64
{7E1E3F13-2BD6-3F75-A6A7-873A2B55C60F}.Debug|ARM64.ActiveCfg = Debug|ARM64
{7E1E3F13-2BD6-3F75-A6A7-873A2B55C60F}.Debug|x64.ActiveCfg = Debug|x64
{7E1E3F13-2BD6-3F75-A6A7-873A2B55C60F}.Debug|x64.Build.0 = Debug|x64
{7E1E3F13-2BD6-3F75-A6A7-873A2B55C60F}.Release|ARM64.ActiveCfg = Release|ARM64
{7E1E3F13-2BD6-3F75-A6A7-873A2B55C60F}.Release|ARM64.Build.0 = Release|ARM64
{7E1E3F13-2BD6-3F75-A6A7-873A2B55C60F}.Release|x64.ActiveCfg = Release|x64
{7E1E3F13-2BD6-3F75-A6A7-873A2B55C60F}.Release|x64.Build.0 = Release|x64
{D9B8FC84-322A-4F9F-BBB9-20915C47DDFD}.Debug|ARM64.ActiveCfg = Debug|ARM64
{D9B8FC84-322A-4F9F-BBB9-20915C47DDFD}.Debug|x64.ActiveCfg = Debug|x64
{D9B8FC84-322A-4F9F-BBB9-20915C47DDFD}.Debug|x64.Build.0 = Debug|x64
{D9B8FC84-322A-4F9F-BBB9-20915C47DDFD}.Release|ARM64.ActiveCfg = Release|ARM64
{D9B8FC84-322A-4F9F-BBB9-20915C47DDFD}.Release|ARM64.Build.0 = Release|ARM64
{D9B8FC84-322A-4F9F-BBB9-20915C47DDFD}.Release|x64.ActiveCfg = Release|x64
{D9B8FC84-322A-4F9F-BBB9-20915C47DDFD}.Release|x64.Build.0 = Release|x64
{31D72625-43C1-41B1-B784-BCE4A8DC5543}.Debug|ARM64.ActiveCfg = Debug|ARM64
{31D72625-43C1-41B1-B784-BCE4A8DC5543}.Debug|ARM64.Build.0 = Debug|ARM64
{31D72625-43C1-41B1-B784-BCE4A8DC5543}.Debug|x64.ActiveCfg = Debug|x64
{31D72625-43C1-41B1-B784-BCE4A8DC5543}.Debug|x64.Build.0 = Debug|x64
{31D72625-43C1-41B1-B784-BCE4A8DC5543}.Release|ARM64.ActiveCfg = Release|ARM64
{31D72625-43C1-41B1-B784-BCE4A8DC5543}.Release|ARM64.Build.0 = Release|ARM64
{31D72625-43C1-41B1-B784-BCE4A8DC5543}.Release|x64.ActiveCfg = Release|x64
{31D72625-43C1-41B1-B784-BCE4A8DC5543}.Release|x64.Build.0 = Release|x64
{CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Debug|ARM64.ActiveCfg = Debug|ARM64
{CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Debug|ARM64.Build.0 = Debug|ARM64
{CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Debug|x64.ActiveCfg = Debug|x64
{CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Debug|x64.Build.0 = Debug|x64
{CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Release|ARM64.ActiveCfg = Release|ARM64
{CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Release|ARM64.Build.0 = Release|ARM64
{CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Release|x64.ActiveCfg = Release|x64
{CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Release|x64.Build.0 = Release|x64
{8F021B46-362B-485C-BFBA-CCF83E820CBD}.Debug|ARM64.ActiveCfg = Debug|ARM64
{8F021B46-362B-485C-BFBA-CCF83E820CBD}.Debug|ARM64.Build.0 = Debug|ARM64
{8F021B46-362B-485C-BFBA-CCF83E820CBD}.Debug|x64.ActiveCfg = Debug|x64
{8F021B46-362B-485C-BFBA-CCF83E820CBD}.Debug|x64.Build.0 = Debug|x64
{8F021B46-362B-485C-BFBA-CCF83E820CBD}.Release|ARM64.ActiveCfg = Release|ARM64
{8F021B46-362B-485C-BFBA-CCF83E820CBD}.Release|ARM64.Build.0 = Release|ARM64
{8F021B46-362B-485C-BFBA-CCF83E820CBD}.Release|x64.ActiveCfg = Release|x64
{8F021B46-362B-485C-BFBA-CCF83E820CBD}.Release|x64.Build.0 = Release|x64
{B6E94700-DF38-41F6-A3FD-18B69674AB1E}.Release|ARM64.ActiveCfg = Release|x64
{B6E94700-DF38-41F6-A3FD-18B69674AB1E}.Release|ARM64.Build.0 = Release|x64
{B6E94700-DF38-41F6-A3FD-18B69674AB1E}.Release|x64.ActiveCfg = Release|x64
{B6E94700-DF38-41F6-A3FD-18B69674AB1E}.Release|x64.Build.0 = Release|x64
{DA4E9744-80BE-424C-B0F5-AFD8757DB575}.Release|ARM64.ActiveCfg = Release|x64
{DA4E9744-80BE-424C-B0F5-AFD8757DB575}.Release|ARM64.Build.0 = Release|x64
{DA4E9744-80BE-424C-B0F5-AFD8757DB575}.Release|x64.ActiveCfg = Release|x64
{DA4E9744-80BE-424C-B0F5-AFD8757DB575}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@@ -4,7 +4,7 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define AdvancedPasteAssetsFiles=?>
<?define AdvancedPasteAssetsFiles=AdvancedPaste.ico;AdvancedPaste.png;AIIcon.png;Gradient.png;LockScreenLogo.scale-200.png;SemanticKernel.svg;SplashScreen.scale-200.png;Square150x150Logo.scale-200.png;Square44x44Logo.scale-200.png;Square44x44Logo.targetsize-24_altform-unplated.png;StoreLogo.png;Wide310x150Logo.scale-200.png?>
<?define AdvancedPasteAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\AdvancedPaste\?>
<Fragment>
@@ -13,7 +13,25 @@
</DirectoryRef>
<DirectoryRef Id="AdvancedPasteAssetsFolder" FileSource="$(var.AdvancedPasteAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--AdvancedPasteAssetsFiles_Component_Def-->
<Component Id="AdvancedPasteAssetsFiles_Component" Win64="yes" Guid="1076BEDB-24FF-48A2-A177-1B0255520272">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="AdvancedPasteAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="AdvancedPasteAssetsFiles_File_AdvancedPaste.ico" Source="$(var.AdvancedPasteAssetsFilesPath)\AdvancedPaste.ico" />
<File Id="AdvancedPasteAssetsFiles_File_AdvancedPaste.png" Source="$(var.AdvancedPasteAssetsFilesPath)\AdvancedPaste.png" />
<File Id="AdvancedPasteAssetsFiles_File_AIIcon.png" Source="$(var.AdvancedPasteAssetsFilesPath)\AIIcon.png" />
<File Id="AdvancedPasteAssetsFiles_File_Gradient.png" Source="$(var.AdvancedPasteAssetsFilesPath)\Gradient.png" />
<File Id="AdvancedPasteAssetsFiles_File_LockScreenLogo.scale_200.png" Source="$(var.AdvancedPasteAssetsFilesPath)\LockScreenLogo.scale-200.png" />
<File Id="AdvancedPasteAssetsFiles_File_SemanticKernel.svg" Source="$(var.AdvancedPasteAssetsFilesPath)\SemanticKernel.svg" />
<File Id="AdvancedPasteAssetsFiles_File_SplashScreen.scale_200.png" Source="$(var.AdvancedPasteAssetsFilesPath)\SplashScreen.scale-200.png" />
<File Id="AdvancedPasteAssetsFiles_File_Square150x150Logo.scale_200.png" Source="$(var.AdvancedPasteAssetsFilesPath)\Square150x150Logo.scale-200.png" />
<File Id="AdvancedPasteAssetsFiles_File_Square44x44Logo.scale_200.png" Source="$(var.AdvancedPasteAssetsFilesPath)\Square44x44Logo.scale-200.png" />
<File Id="AdvancedPasteAssetsFiles_File_Square44x44Logo.targetsize_24_altform_unplated.png" Source="$(var.AdvancedPasteAssetsFilesPath)\Square44x44Logo.targetsize-24_altform-unplated.png" />
<File Id="AdvancedPasteAssetsFiles_File_StoreLogo.png" Source="$(var.AdvancedPasteAssetsFilesPath)\StoreLogo.png" />
<File Id="AdvancedPasteAssetsFiles_File_Wide310x150Logo.scale_200.png" Source="$(var.AdvancedPasteAssetsFilesPath)\Wide310x150Logo.scale-200.png" />
</Component>
</DirectoryRef>
<ComponentGroup Id="AdvancedPasteComponentGroup">
@@ -23,6 +41,7 @@
</RegistryKey>
<RemoveFolder Id="RemoveFolderAdvancedPasteAssetsFolder" Directory="AdvancedPasteAssetsFolder" On="uninstall"/>
</Component>
<ComponentRef Id="AdvancedPasteAssetsFiles_Component" />
</ComponentGroup>
</Fragment>

View File

@@ -4,7 +4,7 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define AwakeImagesFiles=?>
<?define AwakeImagesFiles=Awake.ico;disabled.ico;expirable.ico;indefinite.ico;normal.ico;scheduled.ico;timed.ico?>
<?define AwakeImagesFilesPath=$(var.BinDir)\Assets\Awake\?>
<Fragment>
@@ -16,7 +16,20 @@
<DirectoryRef Id="AwakeImagesFolder" FileSource="$(var.AwakeImagesFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--AwakeImagesFiles_Component_Def-->
<Component Id="AwakeImagesFiles_Component" Win64="yes" Guid="07CEFB83-F59C-4CCE-B887-3D011A13A2FA">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="AwakeImagesFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="AwakeImagesFiles_File_Awake.ico" Source="$(var.AwakeImagesFilesPath)\Awake.ico" />
<File Id="AwakeImagesFiles_File_disabled.ico" Source="$(var.AwakeImagesFilesPath)\disabled.ico" />
<File Id="AwakeImagesFiles_File_expirable.ico" Source="$(var.AwakeImagesFilesPath)\expirable.ico" />
<File Id="AwakeImagesFiles_File_indefinite.ico" Source="$(var.AwakeImagesFilesPath)\indefinite.ico" />
<File Id="AwakeImagesFiles_File_normal.ico" Source="$(var.AwakeImagesFilesPath)\normal.ico" />
<File Id="AwakeImagesFiles_File_scheduled.ico" Source="$(var.AwakeImagesFilesPath)\scheduled.ico" />
<File Id="AwakeImagesFiles_File_timed.ico" Source="$(var.AwakeImagesFilesPath)\timed.ico" />
</Component>
</DirectoryRef>
<ComponentGroup Id="AwakeComponentGroup">
@@ -26,6 +39,7 @@
</RegistryKey>
<RemoveFolder Id="RemoveFolderAwakeImagesFolder" Directory="AwakeImagesFolder" On="uninstall"/>
</Component>
<ComponentRef Id="AwakeImagesFiles_Component" />
</ComponentGroup>
</Fragment>

File diff suppressed because one or more lines are too long

View File

@@ -4,7 +4,7 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define ColorPickerAssetsFiles=?>
<?define ColorPickerAssetsFiles=colorPicker.cur?>
<?define ColorPickerAssetsFilesPath=$(var.BinDir)Assets\ColorPicker\?>
<Fragment>
@@ -15,7 +15,14 @@
<!-- Color Picker Resources -->
<DirectoryRef Id="ColorPickerAssetsFolder" FileSource="$(var.ColorPickerAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--ColorPickerAssetsFiles_Component_Def-->
<Component Id="ColorPickerAssetsFiles_Component" Win64="yes" Guid="42E019A2-A501-4BC9-9D64-7D20477708A4">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="ColorPickerAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="ColorPickerAssetsFiles_File_colorPicker.cur" Source="$(var.ColorPickerAssetsFilesPath)\colorPicker.cur" />
</Component>
</DirectoryRef>
<ComponentGroup Id="ColorPickerComponentGroup">
@@ -25,6 +32,7 @@
</RegistryKey>
<RemoveFolder Id="RemoveFolderColorPickerAssetsFolder" Directory="ColorPickerAssetsFolder" On="uninstall"/>
</Component>
<ComponentRef Id="ColorPickerAssetsFiles_Component" />
</ComponentGroup>
</Fragment>

View File

@@ -4,7 +4,7 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define EnvironmentVariablesAssetsFiles=?>
<?define EnvironmentVariablesAssetsFiles=EnvironmentVariables.ico;LockScreenLogo.scale-200.png;SplashScreen.scale-200.png;Square150x150Logo.scale-200.png;Square44x44Logo.scale-200.png;Square44x44Logo.targetsize-24_altform-unplated.png;StoreLogo.png;Wide310x150Logo.scale-200.png?>
<?define EnvironmentVariablesAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\EnvironmentVariables\?>
<Fragment>
@@ -13,7 +13,21 @@
</DirectoryRef>
<DirectoryRef Id="EnvironmentVariablesAssetsFolder" FileSource="$(var.EnvironmentVariablesAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--EnvironmentVariablesAssetsFiles_Component_Def-->
<Component Id="EnvironmentVariablesAssetsFiles_Component" Win64="yes" Guid="271B3443-850B-416A-A971-91B5079EC59C">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="EnvironmentVariablesAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="EnvironmentVariablesAssetsFiles_File_EnvironmentVariables.ico" Source="$(var.EnvironmentVariablesAssetsFilesPath)\EnvironmentVariables.ico" />
<File Id="EnvironmentVariablesAssetsFiles_File_LockScreenLogo.scale_200.png" Source="$(var.EnvironmentVariablesAssetsFilesPath)\LockScreenLogo.scale-200.png" />
<File Id="EnvironmentVariablesAssetsFiles_File_SplashScreen.scale_200.png" Source="$(var.EnvironmentVariablesAssetsFilesPath)\SplashScreen.scale-200.png" />
<File Id="EnvironmentVariablesAssetsFiles_File_Square150x150Logo.scale_200.png" Source="$(var.EnvironmentVariablesAssetsFilesPath)\Square150x150Logo.scale-200.png" />
<File Id="EnvironmentVariablesAssetsFiles_File_Square44x44Logo.scale_200.png" Source="$(var.EnvironmentVariablesAssetsFilesPath)\Square44x44Logo.scale-200.png" />
<File Id="EnvironmentVariablesAssetsFiles_File_Square44x44Logo.targetsize_24_altform_unplated.png" Source="$(var.EnvironmentVariablesAssetsFilesPath)\Square44x44Logo.targetsize-24_altform-unplated.png" />
<File Id="EnvironmentVariablesAssetsFiles_File_StoreLogo.png" Source="$(var.EnvironmentVariablesAssetsFilesPath)\StoreLogo.png" />
<File Id="EnvironmentVariablesAssetsFiles_File_Wide310x150Logo.scale_200.png" Source="$(var.EnvironmentVariablesAssetsFilesPath)\Wide310x150Logo.scale-200.png" />
</Component>
</DirectoryRef>
<ComponentGroup Id="EnvironmentVariablesComponentGroup">
@@ -23,6 +37,7 @@
</RegistryKey>
<RemoveFolder Id="RemoveFolderEnvironmentVariablesAssetsFolder" Directory="EnvironmentVariablesAssetsFolder" On="uninstall"/>
</Component>
<ComponentRef Id="EnvironmentVariablesAssetsFiles_Component" />
</ComponentGroup>
</Fragment>

View File

@@ -4,9 +4,9 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define MonacoPreviewHandlerMonacoAssetsFiles=?>
<?define MonacoPreviewHandlerMonacoAssetsFiles=customTokenThemeRules.js;index.html;monacoSpecialLanguages.js;monaco_languages.json?>
<?define MonacoPreviewHandlerMonacoAssetsFilesPath=$(var.BinDir)Assets\Monaco\?>
<?define MonacoPreviewHandlerCustomLanguagesFiles=?>
<?define MonacoPreviewHandlerCustomLanguagesFiles=gitignore.js;reg.js;srt.js?>
<?define MonacoPreviewHandlerCustomLanguagesFilesPath=$(var.BinDir)Assets\Monaco\customLanguages\?>
<Fragment>
@@ -19,12 +19,31 @@
<DirectoryRef Id="MonacoAssetsFolder" FileSource="$(var.MonacoPreviewHandlerMonacoAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--MonacoPreviewHandlerMonacoAssetsFiles_Component_Def-->
<Component Id="MonacoPreviewHandlerMonacoAssetsFiles_Component" Win64="yes" Guid="E3FCE763-1BCF-49C8-A38C-6941F560A56A">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="MonacoPreviewHandlerMonacoAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="MonacoPreviewHandlerMonacoAssetsFiles_File_customTokenThemeRules.js" Source="$(var.MonacoPreviewHandlerMonacoAssetsFilesPath)\customTokenThemeRules.js" />
<File Id="MonacoPreviewHandlerMonacoAssetsFiles_File_index.html" Source="$(var.MonacoPreviewHandlerMonacoAssetsFilesPath)\index.html" />
<File Id="MonacoPreviewHandlerMonacoAssetsFiles_File_monacoSpecialLanguages.js" Source="$(var.MonacoPreviewHandlerMonacoAssetsFilesPath)\monacoSpecialLanguages.js" />
<File Id="MonacoPreviewHandlerMonacoAssetsFiles_File_monaco_languages.json" Source="$(var.MonacoPreviewHandlerMonacoAssetsFilesPath)\monaco_languages.json" />
</Component>
</DirectoryRef>
<DirectoryRef Id="MonacoPreviewHandlerMonacoCustomLanguagesFolder" FileSource="$(var.MonacoPreviewHandlerCustomLanguagesFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--MonacoPreviewHandlerCustomLanguagesFiles_Component_Def-->
<Component Id="MonacoPreviewHandlerCustomLanguagesFiles_Component" Win64="yes" Guid="60FCCC76-92CF-4A81-8527-F2F814D11C80">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="MonacoPreviewHandlerCustomLanguagesFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="MonacoPreviewHandlerCustomLanguagesFiles_File_gitignore.js" Source="$(var.MonacoPreviewHandlerCustomLanguagesFilesPath)\gitignore.js" />
<File Id="MonacoPreviewHandlerCustomLanguagesFiles_File_reg.js" Source="$(var.MonacoPreviewHandlerCustomLanguagesFilesPath)\reg.js" />
<File Id="MonacoPreviewHandlerCustomLanguagesFiles_File_srt.js" Source="$(var.MonacoPreviewHandlerCustomLanguagesFilesPath)\srt.js" />
</Component>
</DirectoryRef>
<ComponentGroup Id="FileExplorerPreviewComponentGroup">
@@ -36,6 +55,8 @@
<RemoveFolder Id="RemoveFolderMonacoPreviewHandlerCustomLanguagesFolder" Directory="MonacoPreviewHandlerMonacoCustomLanguagesFolder" On="uninstall"/>
<RemoveFolder Id="RemoveFolderMonacoPreviewHandlerMonacoSRCFolder" Directory="MonacoPreviewHandlerMonacoSRCFolder" On="uninstall"/>
</Component>
<ComponentRef Id="MonacoPreviewHandlerMonacoAssetsFiles_Component" />
<ComponentRef Id="MonacoPreviewHandlerCustomLanguagesFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -4,7 +4,7 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define FileLocksmithAssetsFiles=?>
<?define FileLocksmithAssetsFiles=AppList.scale-100.png;AppList.scale-125.png;AppList.scale-150.png;AppList.scale-200.png;AppList.scale-400.png;FileLocksmith.ico;Icon.ico;LargeTile.png;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;storelogo.png;Wide310x150Logo.png?>
<?define FileLocksmithAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\FileLocksmith\?>
<Fragment>
@@ -13,7 +13,27 @@
</DirectoryRef>
<DirectoryRef Id="FileLocksmithAssetsInstallFolder" FileSource="$(var.FileLocksmithAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--FileLocksmithAssetsFiles_Component_Def-->
<Component Id="FileLocksmithAssetsFiles_Component" Win64="yes" Guid="61E0BCC5-220F-47C3-8E89-E1FE5C47C194">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="FileLocksmithAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="FileLocksmithAssetsFiles_File_AppList.scale_100.png" Source="$(var.FileLocksmithAssetsFilesPath)\AppList.scale-100.png" />
<File Id="FileLocksmithAssetsFiles_File_AppList.scale_125.png" Source="$(var.FileLocksmithAssetsFilesPath)\AppList.scale-125.png" />
<File Id="FileLocksmithAssetsFiles_File_AppList.scale_150.png" Source="$(var.FileLocksmithAssetsFilesPath)\AppList.scale-150.png" />
<File Id="FileLocksmithAssetsFiles_File_AppList.scale_200.png" Source="$(var.FileLocksmithAssetsFilesPath)\AppList.scale-200.png" />
<File Id="FileLocksmithAssetsFiles_File_AppList.scale_400.png" Source="$(var.FileLocksmithAssetsFilesPath)\AppList.scale-400.png" />
<File Id="FileLocksmithAssetsFiles_File_FileLocksmith.ico" Source="$(var.FileLocksmithAssetsFilesPath)\FileLocksmith.ico" />
<File Id="FileLocksmithAssetsFiles_File_Icon.ico" Source="$(var.FileLocksmithAssetsFilesPath)\Icon.ico" />
<File Id="FileLocksmithAssetsFiles_File_LargeTile.png" Source="$(var.FileLocksmithAssetsFilesPath)\LargeTile.png" />
<File Id="FileLocksmithAssetsFiles_File_SmallTile.png" Source="$(var.FileLocksmithAssetsFilesPath)\SmallTile.png" />
<File Id="FileLocksmithAssetsFiles_File_SplashScreen.png" Source="$(var.FileLocksmithAssetsFilesPath)\SplashScreen.png" />
<File Id="FileLocksmithAssetsFiles_File_Square150x150Logo.png" Source="$(var.FileLocksmithAssetsFilesPath)\Square150x150Logo.png" />
<File Id="FileLocksmithAssetsFiles_File_Square44x44Logo.png" Source="$(var.FileLocksmithAssetsFilesPath)\Square44x44Logo.png" />
<File Id="FileLocksmithAssetsFiles_File_storelogo.png" Source="$(var.FileLocksmithAssetsFilesPath)\storelogo.png" />
<File Id="FileLocksmithAssetsFiles_File_Wide310x150Logo.png" Source="$(var.FileLocksmithAssetsFilesPath)\Wide310x150Logo.png" />
</Component>
<!-- !Warning! Make sure to change Component Guid if you update something here -->
<Component Id="Module_FileLocksmith" Guid="108D3EC1-E6E0-4E81-88EF-25966133CB41" Win64="yes">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\CLSID\{84D68575-E186-46AD-B0CB-BAEB45EE29C0}">
@@ -39,6 +59,7 @@
<RemoveFolder Id="RemoveFolderFileLocksmithAssetsFolder" Directory="FileLocksmithAssetsInstallFolder" On="uninstall"/>
</Component>
<ComponentRef Id="Module_FileLocksmith" />
<ComponentRef Id="FileLocksmithAssetsFiles_Component" />
</ComponentGroup>
</Fragment>

View File

@@ -4,7 +4,7 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define HostsAssetsFiles=?>
<?define HostsAssetsFiles=AppList.scale-100.png;AppList.scale-125.png;AppList.scale-150.png;AppList.scale-200.png;AppList.scale-400.png;Hosts.ico?>
<?define HostsAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\Hosts\?>
<Fragment>
@@ -13,7 +13,19 @@
</DirectoryRef>
<DirectoryRef Id="HostsAssetsFolder" FileSource="$(var.HostsAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--HostsAssetsFiles_Component_Def-->
<Component Id="HostsAssetsFiles_Component" Win64="yes" Guid="2E047533-7325-41F0-B73D-3DD0C36170F3">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="HostsAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="HostsAssetsFiles_File_AppList.scale_100.png" Source="$(var.HostsAssetsFilesPath)\AppList.scale-100.png" />
<File Id="HostsAssetsFiles_File_AppList.scale_125.png" Source="$(var.HostsAssetsFilesPath)\AppList.scale-125.png" />
<File Id="HostsAssetsFiles_File_AppList.scale_150.png" Source="$(var.HostsAssetsFilesPath)\AppList.scale-150.png" />
<File Id="HostsAssetsFiles_File_AppList.scale_200.png" Source="$(var.HostsAssetsFilesPath)\AppList.scale-200.png" />
<File Id="HostsAssetsFiles_File_AppList.scale_400.png" Source="$(var.HostsAssetsFilesPath)\AppList.scale-400.png" />
<File Id="HostsAssetsFiles_File_Hosts.ico" Source="$(var.HostsAssetsFilesPath)\Hosts.ico" />
</Component>
</DirectoryRef>
<ComponentGroup Id="HostsComponentGroup">
@@ -23,6 +35,7 @@
</RegistryKey>
<RemoveFolder Id="RemoveFolderHostsAssetsFolder" Directory="HostsAssetsFolder" On="uninstall"/>
</Component>
<ComponentRef Id="HostsAssetsFiles_Component" />
</ComponentGroup>
</Fragment>

View File

@@ -4,7 +4,7 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define ImageResizerAssetsFiles=?>
<?define ImageResizerAssetsFiles=ImageResizer.ico;LargeTile.png;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;storelogo.png;Wide310x150Logo.png?>
<?define ImageResizerAssetsFilesPath=$(var.BinDir)Assets\ImageResizer\?>
<Fragment>
@@ -14,7 +14,21 @@
<DirectoryRef Id="ImageResizerAssetsFolder" FileSource="$(var.ImageResizerAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--ImageResizerAssetsFiles_Component_Def-->
<Component Id="ImageResizerAssetsFiles_Component" Win64="yes" Guid="245B6EAA-8E73-4E2B-8474-125449BA24E3">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="ImageResizerAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="ImageResizerAssetsFiles_File_ImageResizer.ico" Source="$(var.ImageResizerAssetsFilesPath)\ImageResizer.ico" />
<File Id="ImageResizerAssetsFiles_File_LargeTile.png" Source="$(var.ImageResizerAssetsFilesPath)\LargeTile.png" />
<File Id="ImageResizerAssetsFiles_File_SmallTile.png" Source="$(var.ImageResizerAssetsFilesPath)\SmallTile.png" />
<File Id="ImageResizerAssetsFiles_File_SplashScreen.png" Source="$(var.ImageResizerAssetsFilesPath)\SplashScreen.png" />
<File Id="ImageResizerAssetsFiles_File_Square150x150Logo.png" Source="$(var.ImageResizerAssetsFilesPath)\Square150x150Logo.png" />
<File Id="ImageResizerAssetsFiles_File_Square44x44Logo.png" Source="$(var.ImageResizerAssetsFilesPath)\Square44x44Logo.png" />
<File Id="ImageResizerAssetsFiles_File_storelogo.png" Source="$(var.ImageResizerAssetsFilesPath)\storelogo.png" />
<File Id="ImageResizerAssetsFiles_File_Wide310x150Logo.png" Source="$(var.ImageResizerAssetsFilesPath)\Wide310x150Logo.png" />
</Component>
<Component Id="Module_ImageResizer_Registry" Win64="yes">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\CLSID\{51B4D7E5-7568-4234-B4BB-47FB3C016A69}\InprocServer32">
@@ -91,6 +105,7 @@
<RemoveFolder Id="RemoveFolderImageResizerAssetsFolder" Directory="ImageResizerAssetsFolder" On="uninstall"/>
</Component>
<ComponentRef Id="Module_ImageResizer_Registry" />
<ComponentRef Id="ImageResizerAssetsFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -4,7 +4,7 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define NewPlusAssetsFiles=?>
<?define NewPlusAssetsFiles=LargeTile.png;New_dark.ico;New_light.ico;Open_templates_dark.ico;Open_templates_light.ico;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;StoreLogo.png;Wide310x150Logo.png?>
<?define NewPlusAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\NewPlus\?>
<?define NewPlusTemplateFilesPath=$(var.BinDir)WinUI3Apps\Assets\NewPlus\Templates\?>
<?define NewPlusTemplateSubFilesPath=$(var.BinDir)WinUI3Apps\Assets\NewPlus\Templates\Example folder\?>
@@ -17,7 +17,24 @@
</DirectoryRef>
<DirectoryRef Id="NewPlusAssetsInstallFolder" FileSource="$(var.NewPlusAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--NewPlusAssetsFiles_Component_Def-->
<Component Id="NewPlusAssetsFiles_Component" Win64="yes" Guid="FAD54CF0-F408-445E-9EB7-725AB32ABFBC">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="NewPlusAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="NewPlusAssetsFiles_File_LargeTile.png" Source="$(var.NewPlusAssetsFilesPath)\LargeTile.png" />
<File Id="NewPlusAssetsFiles_File_New_dark.ico" Source="$(var.NewPlusAssetsFilesPath)\New_dark.ico" />
<File Id="NewPlusAssetsFiles_File_New_light.ico" Source="$(var.NewPlusAssetsFilesPath)\New_light.ico" />
<File Id="NewPlusAssetsFiles_File_Open_templates_dark.ico" Source="$(var.NewPlusAssetsFilesPath)\Open_templates_dark.ico" />
<File Id="NewPlusAssetsFiles_File_Open_templates_light.ico" Source="$(var.NewPlusAssetsFilesPath)\Open_templates_light.ico" />
<File Id="NewPlusAssetsFiles_File_SmallTile.png" Source="$(var.NewPlusAssetsFilesPath)\SmallTile.png" />
<File Id="NewPlusAssetsFiles_File_SplashScreen.png" Source="$(var.NewPlusAssetsFilesPath)\SplashScreen.png" />
<File Id="NewPlusAssetsFiles_File_Square150x150Logo.png" Source="$(var.NewPlusAssetsFilesPath)\Square150x150Logo.png" />
<File Id="NewPlusAssetsFiles_File_Square44x44Logo.png" Source="$(var.NewPlusAssetsFilesPath)\Square44x44Logo.png" />
<File Id="NewPlusAssetsFiles_File_StoreLogo.png" Source="$(var.NewPlusAssetsFilesPath)\StoreLogo.png" />
<File Id="NewPlusAssetsFiles_File_Wide310x150Logo.png" Source="$(var.NewPlusAssetsFilesPath)\Wide310x150Logo.png" />
</Component>
<!-- NewPlus Shell Extension for Win10 registration -->
<Component Id="NewPlus_ShellExtension_win10" Guid="D5456D4A-6EEC-4B85-944D-6A6A4A74FFA6" Win64="yes">
@@ -41,7 +58,8 @@
<RemoveFolder Id="RemoveFolderNewPlusAssetsFolder" Directory="NewPlusAssetsInstallFolder" On="uninstall"/>
</Component>
<ComponentRef Id="NewPlus_ShellExtension_win10" />
</ComponentGroup>
<ComponentRef Id="NewPlusAssetsFiles_Component" />
</ComponentGroup>
<!-- Example templates -->
@@ -81,7 +99,8 @@
</Component>
<ComponentRef Id="NewPlusTemplateFiles_Component" />
<ComponentRef Id="NewPlusTemplateSubFiles_Component" />
</ComponentGroup>
<ComponentRef Id="NewPlusAssetsFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -4,7 +4,7 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define PeekAssetsFiles=?>
<?define PeekAssetsFiles=AppList.scale-100.png;AppList.scale-125.png;AppList.scale-150.png;AppList.scale-200.png;AppList.scale-400.png;DefaultFileIcon.svg;Icon.ico?>
<?define PeekAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\Peek\?>
<Fragment>
@@ -13,7 +13,20 @@
</DirectoryRef>
<DirectoryRef Id="PeekAssetsFolder" FileSource="$(var.PeekAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--PeekAssetsFiles_Component_Def-->
<Component Id="PeekAssetsFiles_Component" Win64="yes" Guid="E54BE594-34FF-4DEC-BD89-B8A4AE19A794">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="PeekAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="PeekAssetsFiles_File_AppList.scale_100.png" Source="$(var.PeekAssetsFilesPath)\AppList.scale-100.png" />
<File Id="PeekAssetsFiles_File_AppList.scale_125.png" Source="$(var.PeekAssetsFilesPath)\AppList.scale-125.png" />
<File Id="PeekAssetsFiles_File_AppList.scale_150.png" Source="$(var.PeekAssetsFilesPath)\AppList.scale-150.png" />
<File Id="PeekAssetsFiles_File_AppList.scale_200.png" Source="$(var.PeekAssetsFilesPath)\AppList.scale-200.png" />
<File Id="PeekAssetsFiles_File_AppList.scale_400.png" Source="$(var.PeekAssetsFilesPath)\AppList.scale-400.png" />
<File Id="PeekAssetsFiles_File_DefaultFileIcon.svg" Source="$(var.PeekAssetsFilesPath)\DefaultFileIcon.svg" />
<File Id="PeekAssetsFiles_File_Icon.ico" Source="$(var.PeekAssetsFilesPath)\Icon.ico" />
</Component>
</DirectoryRef>
<ComponentGroup Id="PeekComponentGroup">
@@ -23,6 +36,7 @@
</RegistryKey>
<RemoveFolder Id="RemoveFolderPeekAssetsFolder" Directory="PeekAssetsFolder" On="uninstall"/>
</Component>
<ComponentRef Id="PeekAssetsFiles_Component" />
</ComponentGroup>
</Fragment>

View File

@@ -4,7 +4,7 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define PowerRenameAssetsFiles=?>
<?define PowerRenameAssetsFiles=file.png;folder.png;LargeTile.png;PowerRenameUI.ico;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;storelogo.png;Wide310x150Logo.png?>
<?define PowerRenameAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\PowerRename\?>
<Fragment>
@@ -13,7 +13,23 @@
</DirectoryRef>
<DirectoryRef Id="PowerRenameAssetsFolder" FileSource="$(var.PowerRenameAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--PowerRenameAssetsFiles_Component_Def-->
<Component Id="PowerRenameAssetsFiles_Component" Win64="yes" Guid="E087A96E-34AB-4397-AE95-40A2442DC915">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="PowerRenameAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="PowerRenameAssetsFiles_File_file.png" Source="$(var.PowerRenameAssetsFilesPath)\file.png" />
<File Id="PowerRenameAssetsFiles_File_folder.png" Source="$(var.PowerRenameAssetsFilesPath)\folder.png" />
<File Id="PowerRenameAssetsFiles_File_LargeTile.png" Source="$(var.PowerRenameAssetsFilesPath)\LargeTile.png" />
<File Id="PowerRenameAssetsFiles_File_PowerRenameUI.ico" Source="$(var.PowerRenameAssetsFilesPath)\PowerRenameUI.ico" />
<File Id="PowerRenameAssetsFiles_File_SmallTile.png" Source="$(var.PowerRenameAssetsFilesPath)\SmallTile.png" />
<File Id="PowerRenameAssetsFiles_File_SplashScreen.png" Source="$(var.PowerRenameAssetsFilesPath)\SplashScreen.png" />
<File Id="PowerRenameAssetsFiles_File_Square150x150Logo.png" Source="$(var.PowerRenameAssetsFilesPath)\Square150x150Logo.png" />
<File Id="PowerRenameAssetsFiles_File_Square44x44Logo.png" Source="$(var.PowerRenameAssetsFilesPath)\Square44x44Logo.png" />
<File Id="PowerRenameAssetsFiles_File_storelogo.png" Source="$(var.PowerRenameAssetsFilesPath)\storelogo.png" />
<File Id="PowerRenameAssetsFiles_File_Wide310x150Logo.png" Source="$(var.PowerRenameAssetsFilesPath)\Wide310x150Logo.png" />
</Component>
<!-- !Warning! Make sure to change Component Guid if you update something here -->
<Component Id="Module_PowerRename" Guid="40D43079-240E-402D-8CE8-571BFFA71175" Win64="yes">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\CLSID\{0440049F-D1DC-4E46-B27B-98393D79486B}">
@@ -40,6 +56,7 @@
<RemoveFolder Id="RemoveFolderPowerRenameAssetsFolder" Directory="PowerRenameAssetsFolder" On="uninstall"/>
</Component>
<ComponentRef Id="Module_PowerRename" />
<ComponentRef Id="PowerRenameAssetsFiles_Component" />
</ComponentGroup>
</Fragment>

View File

@@ -4,7 +4,7 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define RegistryPreviewAssetsFiles=?>
<?define RegistryPreviewAssetsFiles=data32.png;deleted-folder32.png;deleted-value32.png;error32.png;folder32.png;index.html;RegistryPreview.ico;string32.png?>
<?define RegistryPreviewAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\RegistryPreview?>
<Fragment>
@@ -14,7 +14,21 @@
</DirectoryRef>
<DirectoryRef Id="RegistryPreviewAssetsInstallFolder" FileSource="$(var.RegistryPreviewAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--RegistryPreviewAssetsFiles_Component_Def-->
<Component Id="RegistryPreviewAssetsFiles_Component" Win64="yes" Guid="59F7D097-89B9-4A64-BE57-4537C5F4B19A">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RegistryPreviewAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="RegistryPreviewAssetsFiles_File_data32.png" Source="$(var.RegistryPreviewAssetsFilesPath)\data32.png" />
<File Id="RegistryPreviewAssetsFiles_File_deleted_folder32.png" Source="$(var.RegistryPreviewAssetsFilesPath)\deleted-folder32.png" />
<File Id="RegistryPreviewAssetsFiles_File_deleted_value32.png" Source="$(var.RegistryPreviewAssetsFilesPath)\deleted-value32.png" />
<File Id="RegistryPreviewAssetsFiles_File_error32.png" Source="$(var.RegistryPreviewAssetsFilesPath)\error32.png" />
<File Id="RegistryPreviewAssetsFiles_File_folder32.png" Source="$(var.RegistryPreviewAssetsFilesPath)\folder32.png" />
<File Id="RegistryPreviewAssetsFiles_File_index.html" Source="$(var.RegistryPreviewAssetsFilesPath)\index.html" />
<File Id="RegistryPreviewAssetsFiles_File_RegistryPreview.ico" Source="$(var.RegistryPreviewAssetsFilesPath)\RegistryPreview.ico" />
<File Id="RegistryPreviewAssetsFiles_File_string32.png" Source="$(var.RegistryPreviewAssetsFilesPath)\string32.png" />
</Component>
</DirectoryRef>
<ComponentGroup Id="RegistryPreviewComponentGroup">
@@ -24,6 +38,7 @@
</RegistryKey>
<RemoveFolder Id="RemoveFolderRegistryPreviewAssetsFolder" Directory="RegistryPreviewAssetsInstallFolder" On="uninstall"/>
</Component>
<ComponentRef Id="RegistryPreviewAssetsFiles_Component" />
</ComponentGroup>
</Fragment>

File diff suppressed because it is too large Load Diff

View File

@@ -4,16 +4,16 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define SettingsV2AssetsFiles=?>
<?define SettingsV2AssetsFiles=icon.ico;LockScreenLogo.scale-200.png;logo.png;Logo.scale-200.png;logo150.png;logo44.png;SplashScreen.png;SplashScreen.scale-200.png;Square150x150Logo.scale-200.png;Square44x44Logo.scale-200.png;Square44x44Logo.targetsize-24_altform-unplated.png;StoreLogo.png;StoreLogo.scale-100.png;Wide310x150Logo.scale-200.png?>
<?define SettingsV2AssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\Settings\?>
<?define SettingsV2AssetsModulesFiles=?>
<?define SettingsV2AssetsModulesFiles=AdvancedPaste.png;AlwaysOnTop.png;APDialog.dark.png;APDialog.light.png;Awake.png;CmdNotFound.png;ColorPicker.png;CropAndLock.png;EnvironmentVariables.png;FancyZones.png;FileExplorerPreview.png;FileLocksmith.png;HostsFileEditor.png;ImageResizer.png;KBM.png;MouseUtils.png;MouseWithoutBorders.png;NewPlus.png;Peek.png;PowerLauncher.png;PowerRename.png;PT.png;QuickAccent.png;RegistryPreview.png;Run.png;ScreenRuler.png;ShortcutGuide.png;TextExtractor.png;Wallpaper.png;Workspaces.png;ZoomIt.png?>
<?define SettingsV2AssetsModulesFilesPath=$(var.BinDir)WinUI3Apps\Assets\Settings\Modules\?>
<?define SettingsV2OOBEAssetsModulesFiles=?>
<?define SettingsV2OOBEAssetsModulesFiles=AdvancedPaste.gif;AlwaysOnTop.png;Awake.png;CmdNotFound.png;ColorPicker.gif;CropAndLock.gif;EnvironmentVariables.png;FancyZones.gif;FileExplorer.png;FileLocksmith.gif;HostsFileEditor.png;ImageResizer.gif;KBM.gif;MouseUtils.gif;MouseWithoutBorders.png;NewPlus.png;Peek.png;PowerRename.gif;PTHero.png;PTHeroShort.png;QuickAccent.gif;RegistryPreview.png;Run.gif;ScreenRuler.gif;ShortcutGuide.png;TextExtractor.gif;Workspaces.png;ZoomIt.gif?>
<?define SettingsV2OOBEAssetsModulesFilesPath=$(var.BinDir)WinUI3Apps\Assets\Settings\Modules\OOBE\?>
<?define SettingsV2OOBEAssetsFluentIconsFiles=?>
<?define SettingsV2OOBEAssetsFluentIconsFiles=Advanced.png;AdvancedPaste.png;AlwaysOnTop.png;Awake.png;ColorPicker.png;CommandNotFound.png;CropAndLock.png;EnvironmentVariables.png;FancyZones.png;FileExplorerPreview.png;FileLocksmith.png;FileManagement.png;FindMyMouse.png;Hosts.png;ImageResizer.png;InputOutput.png;KeyboardManager.png;MouseCrosshairs.png;MouseHighlighter.png;MouseJump.png;MouseUtils.png;MouseWithoutBorders.png;NewPlus.png;Peek.png;PowerRename.png;PowerToys.png;PowerToysRun.png;QuickAccent.png;RegistryPreview.png;ScreenRuler.png;SemanticKernel.png;ShortcutGuide.png;SystemTools.png;TextExtractor.png;WindowingAndLayouts.png;Workspaces.png;ZoomIt.png?>
<?define SettingsV2OOBEAssetsFluentIconsFilesPath=$(var.BinDir)WinUI3Apps\Assets\Settings\Icons\?>
<Fragment>
@@ -29,22 +29,156 @@
<DirectoryRef Id="SettingsV2AssetsInstallFolder" FileSource="$(var.SettingsV2AssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--SettingsV2AssetsFiles_Component_Def-->
<Component Id="SettingsV2AssetsFiles_Component" Win64="yes" Guid="CC1B243D-E977-4368-AC09-498792291E56">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="SettingsV2AssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="SettingsV2AssetsFiles_File_icon.ico" Source="$(var.SettingsV2AssetsFilesPath)\icon.ico" />
<File Id="SettingsV2AssetsFiles_File_LockScreenLogo.scale_200.png" Source="$(var.SettingsV2AssetsFilesPath)\LockScreenLogo.scale-200.png" />
<File Id="SettingsV2AssetsFiles_File_logo.png" Source="$(var.SettingsV2AssetsFilesPath)\logo.png" />
<File Id="SettingsV2AssetsFiles_File_Logo.scale_200.png" Source="$(var.SettingsV2AssetsFilesPath)\Logo.scale-200.png" />
<File Id="SettingsV2AssetsFiles_File_logo150.png" Source="$(var.SettingsV2AssetsFilesPath)\logo150.png" />
<File Id="SettingsV2AssetsFiles_File_logo44.png" Source="$(var.SettingsV2AssetsFilesPath)\logo44.png" />
<File Id="SettingsV2AssetsFiles_File_SplashScreen.png" Source="$(var.SettingsV2AssetsFilesPath)\SplashScreen.png" />
<File Id="SettingsV2AssetsFiles_File_SplashScreen.scale_200.png" Source="$(var.SettingsV2AssetsFilesPath)\SplashScreen.scale-200.png" />
<File Id="SettingsV2AssetsFiles_File_Square150x150Logo.scale_200.png" Source="$(var.SettingsV2AssetsFilesPath)\Square150x150Logo.scale-200.png" />
<File Id="SettingsV2AssetsFiles_File_Square44x44Logo.scale_200.png" Source="$(var.SettingsV2AssetsFilesPath)\Square44x44Logo.scale-200.png" />
<File Id="SettingsV2AssetsFiles_File_Square44x44Logo.targetsize_24_altform_unplated.png" Source="$(var.SettingsV2AssetsFilesPath)\Square44x44Logo.targetsize-24_altform-unplated.png" />
<File Id="SettingsV2AssetsFiles_File_StoreLogo.png" Source="$(var.SettingsV2AssetsFilesPath)\StoreLogo.png" />
<File Id="SettingsV2AssetsFiles_File_StoreLogo.scale_100.png" Source="$(var.SettingsV2AssetsFilesPath)\StoreLogo.scale-100.png" />
<File Id="SettingsV2AssetsFiles_File_Wide310x150Logo.scale_200.png" Source="$(var.SettingsV2AssetsFilesPath)\Wide310x150Logo.scale-200.png" />
</Component>
</DirectoryRef>
<DirectoryRef Id="SettingsV2AssetsModulesInstallFolder" FileSource="$(var.SettingsV2AssetsModulesFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--SettingsV2AssetsModulesFiles_Component_Def-->
<Component Id="SettingsV2AssetsModulesFiles_Component" Win64="yes" Guid="95E4BB35-E9D0-4783-92BE-5A8CA0866F27">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="SettingsV2AssetsModulesFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="SettingsV2AssetsModulesFiles_File_AdvancedPaste.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\AdvancedPaste.png" />
<File Id="SettingsV2AssetsModulesFiles_File_AlwaysOnTop.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\AlwaysOnTop.png" />
<File Id="SettingsV2AssetsModulesFiles_File_APDialog.dark.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\APDialog.dark.png" />
<File Id="SettingsV2AssetsModulesFiles_File_APDialog.light.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\APDialog.light.png" />
<File Id="SettingsV2AssetsModulesFiles_File_Awake.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\Awake.png" />
<File Id="SettingsV2AssetsModulesFiles_File_CmdNotFound.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\CmdNotFound.png" />
<File Id="SettingsV2AssetsModulesFiles_File_ColorPicker.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\ColorPicker.png" />
<File Id="SettingsV2AssetsModulesFiles_File_CropAndLock.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\CropAndLock.png" />
<File Id="SettingsV2AssetsModulesFiles_File_EnvironmentVariables.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\EnvironmentVariables.png" />
<File Id="SettingsV2AssetsModulesFiles_File_FancyZones.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\FancyZones.png" />
<File Id="SettingsV2AssetsModulesFiles_File_FileExplorerPreview.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\FileExplorerPreview.png" />
<File Id="SettingsV2AssetsModulesFiles_File_FileLocksmith.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\FileLocksmith.png" />
<File Id="SettingsV2AssetsModulesFiles_File_HostsFileEditor.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\HostsFileEditor.png" />
<File Id="SettingsV2AssetsModulesFiles_File_ImageResizer.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\ImageResizer.png" />
<File Id="SettingsV2AssetsModulesFiles_File_KBM.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\KBM.png" />
<File Id="SettingsV2AssetsModulesFiles_File_MouseUtils.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\MouseUtils.png" />
<File Id="SettingsV2AssetsModulesFiles_File_MouseWithoutBorders.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\MouseWithoutBorders.png" />
<File Id="SettingsV2AssetsModulesFiles_File_NewPlus.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\NewPlus.png" />
<File Id="SettingsV2AssetsModulesFiles_File_Peek.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\Peek.png" />
<File Id="SettingsV2AssetsModulesFiles_File_PowerLauncher.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\PowerLauncher.png" />
<File Id="SettingsV2AssetsModulesFiles_File_PowerRename.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\PowerRename.png" />
<File Id="SettingsV2AssetsModulesFiles_File_PT.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\PT.png" />
<File Id="SettingsV2AssetsModulesFiles_File_QuickAccent.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\QuickAccent.png" />
<File Id="SettingsV2AssetsModulesFiles_File_RegistryPreview.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\RegistryPreview.png" />
<File Id="SettingsV2AssetsModulesFiles_File_Run.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\Run.png" />
<File Id="SettingsV2AssetsModulesFiles_File_ScreenRuler.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\ScreenRuler.png" />
<File Id="SettingsV2AssetsModulesFiles_File_ShortcutGuide.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\ShortcutGuide.png" />
<File Id="SettingsV2AssetsModulesFiles_File_TextExtractor.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\TextExtractor.png" />
<File Id="SettingsV2AssetsModulesFiles_File_Wallpaper.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\Wallpaper.png" />
<File Id="SettingsV2AssetsModulesFiles_File_Workspaces.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\Workspaces.png" />
<File Id="SettingsV2AssetsModulesFiles_File_ZoomIt.png" Source="$(var.SettingsV2AssetsModulesFilesPath)\ZoomIt.png" />
</Component>
</DirectoryRef>
<DirectoryRef Id="SettingsV2OOBEAssetsModulesInstallFolder" FileSource="$(var.SettingsV2OOBEAssetsModulesFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--SettingsV2OOBEAssetsModulesFiles_Component_Def-->
<Component Id="SettingsV2OOBEAssetsModulesFiles_Component" Win64="yes" Guid="82434178-EDD5-4CCD-AA2D-68015F2C0459">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="SettingsV2OOBEAssetsModulesFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="SettingsV2OOBEAssetsModulesFiles_File_AdvancedPaste.gif" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\AdvancedPaste.gif" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_AlwaysOnTop.png" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\AlwaysOnTop.png" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_Awake.png" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\Awake.png" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_CmdNotFound.png" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\CmdNotFound.png" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_ColorPicker.gif" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\ColorPicker.gif" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_CropAndLock.gif" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\CropAndLock.gif" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_EnvironmentVariables.png" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\EnvironmentVariables.png" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_FancyZones.gif" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\FancyZones.gif" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_FileExplorer.png" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\FileExplorer.png" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_FileLocksmith.gif" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\FileLocksmith.gif" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_HostsFileEditor.png" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\HostsFileEditor.png" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_ImageResizer.gif" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\ImageResizer.gif" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_KBM.gif" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\KBM.gif" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_MouseUtils.gif" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\MouseUtils.gif" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_MouseWithoutBorders.png" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\MouseWithoutBorders.png" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_NewPlus.png" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\NewPlus.png" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_Peek.png" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\Peek.png" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_PowerRename.gif" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\PowerRename.gif" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_PTHero.png" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\PTHero.png" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_PTHeroShort.png" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\PTHeroShort.png" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_QuickAccent.gif" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\QuickAccent.gif" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_RegistryPreview.png" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\RegistryPreview.png" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_Run.gif" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\Run.gif" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_ScreenRuler.gif" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\ScreenRuler.gif" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_ShortcutGuide.png" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\ShortcutGuide.png" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_TextExtractor.gif" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\TextExtractor.gif" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_Workspaces.png" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\Workspaces.png" />
<File Id="SettingsV2OOBEAssetsModulesFiles_File_ZoomIt.gif" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\ZoomIt.gif" />
</Component>
</DirectoryRef>
<DirectoryRef Id="SettingsV2OOBEAssetsFluentIconsInstallFolder" FileSource="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--SettingsV2OOBEAssetsFluentIconsFiles_Component_Def-->
<Component Id="SettingsV2OOBEAssetsFluentIconsFiles_Component" Win64="yes" Guid="1D99F4E8-4EB2-46B0-A9DB-B3D53DAF386C">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="SettingsV2OOBEAssetsFluentIconsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_Advanced.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\Advanced.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_AdvancedPaste.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\AdvancedPaste.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_AlwaysOnTop.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\AlwaysOnTop.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_Awake.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\Awake.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_ColorPicker.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\ColorPicker.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_CommandNotFound.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\CommandNotFound.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_CropAndLock.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\CropAndLock.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_EnvironmentVariables.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\EnvironmentVariables.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_FancyZones.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\FancyZones.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_FileExplorerPreview.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\FileExplorerPreview.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_FileLocksmith.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\FileLocksmith.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_FileManagement.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\FileManagement.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_FindMyMouse.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\FindMyMouse.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_Hosts.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\Hosts.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_ImageResizer.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\ImageResizer.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_InputOutput.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\InputOutput.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_KeyboardManager.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\KeyboardManager.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_MouseCrosshairs.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\MouseCrosshairs.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_MouseHighlighter.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\MouseHighlighter.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_MouseJump.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\MouseJump.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_MouseUtils.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\MouseUtils.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_MouseWithoutBorders.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\MouseWithoutBorders.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_NewPlus.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\NewPlus.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_Peek.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\Peek.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_PowerRename.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\PowerRename.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_PowerToys.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\PowerToys.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_PowerToysRun.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\PowerToysRun.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_QuickAccent.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\QuickAccent.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_RegistryPreview.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\RegistryPreview.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_ScreenRuler.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\ScreenRuler.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_SemanticKernel.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\SemanticKernel.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_ShortcutGuide.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\ShortcutGuide.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_SystemTools.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\SystemTools.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_TextExtractor.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\TextExtractor.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_WindowingAndLayouts.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\WindowingAndLayouts.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_Workspaces.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\Workspaces.png" />
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_ZoomIt.png" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\ZoomIt.png" />
</Component>
</DirectoryRef>
<DirectoryRef Id="SettingsAppAssetsScriptsFolder" FileSource="$(var.SettingsV2AssetsFilesPath)\Scripts\">
@@ -74,6 +208,10 @@
<RemoveFolder Id="RemoveFolderSettingsAppAssetsScriptsFolder" Directory="SettingsAppAssetsScriptsFolder" On="uninstall"/>
</Component>
<ComponentRef Id="CommandNotFound_Scripts"/>
<ComponentRef Id="SettingsV2AssetsFiles_Component" />
<ComponentRef Id="SettingsV2AssetsModulesFiles_Component" />
<ComponentRef Id="SettingsV2OOBEAssetsModulesFiles_Component" />
<ComponentRef Id="SettingsV2OOBEAssetsFluentIconsFiles_Component" />
</ComponentGroup>
</Fragment>

View File

@@ -4,7 +4,7 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define ShortcutGuideSvgFiles=?>
<?define ShortcutGuideSvgFiles=0.svg;1.svg;2.svg;3.svg;4.svg;5.svg;6.svg;7.svg;8.svg;9.svg;no_active_window.svg;overlay.svg;overlay_portrait.svg?>
<?define ShortcutGuideSvgFilesPath=$(var.BinDir)\Assets\ShortcutGuide\?>
<Fragment>
@@ -14,7 +14,26 @@
</DirectoryRef>
<DirectoryRef Id="ShortcutGuideSvgsInstallFolder" FileSource="$(var.ShortcutGuideSvgFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--ShortcutGuideSvgFiles_Component_Def-->
<Component Id="ShortcutGuideSvgFiles_Component" Win64="yes" Guid="59DFD64C-A467-4856-8285-C9C4D786B641">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="ShortcutGuideSvgFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="ShortcutGuideSvgFiles_File_0.svg" Source="$(var.ShortcutGuideSvgFilesPath)\0.svg" />
<File Id="ShortcutGuideSvgFiles_File_1.svg" Source="$(var.ShortcutGuideSvgFilesPath)\1.svg" />
<File Id="ShortcutGuideSvgFiles_File_2.svg" Source="$(var.ShortcutGuideSvgFilesPath)\2.svg" />
<File Id="ShortcutGuideSvgFiles_File_3.svg" Source="$(var.ShortcutGuideSvgFilesPath)\3.svg" />
<File Id="ShortcutGuideSvgFiles_File_4.svg" Source="$(var.ShortcutGuideSvgFilesPath)\4.svg" />
<File Id="ShortcutGuideSvgFiles_File_5.svg" Source="$(var.ShortcutGuideSvgFilesPath)\5.svg" />
<File Id="ShortcutGuideSvgFiles_File_6.svg" Source="$(var.ShortcutGuideSvgFilesPath)\6.svg" />
<File Id="ShortcutGuideSvgFiles_File_7.svg" Source="$(var.ShortcutGuideSvgFilesPath)\7.svg" />
<File Id="ShortcutGuideSvgFiles_File_8.svg" Source="$(var.ShortcutGuideSvgFilesPath)\8.svg" />
<File Id="ShortcutGuideSvgFiles_File_9.svg" Source="$(var.ShortcutGuideSvgFilesPath)\9.svg" />
<File Id="ShortcutGuideSvgFiles_File_no_active_window.svg" Source="$(var.ShortcutGuideSvgFilesPath)\no_active_window.svg" />
<File Id="ShortcutGuideSvgFiles_File_overlay.svg" Source="$(var.ShortcutGuideSvgFilesPath)\overlay.svg" />
<File Id="ShortcutGuideSvgFiles_File_overlay_portrait.svg" Source="$(var.ShortcutGuideSvgFilesPath)\overlay_portrait.svg" />
</Component>
</DirectoryRef>
<!-- Shortcut guide -->
@@ -25,6 +44,7 @@
</RegistryKey>
<RemoveFolder Id="RemoveFolderShortcutGuideSvgsInstallFolder" Directory="ShortcutGuideSvgsInstallFolder" On="uninstall"/>
</Component>
<ComponentRef Id="ShortcutGuideSvgFiles_Component" />
</ComponentGroup>
</Fragment>

File diff suppressed because one or more lines are too long

View File

@@ -4,7 +4,7 @@
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define WorkspacesImagesComponentFiles=?>
<?define WorkspacesImagesComponentFiles=DefaultIcon.ico;Workspaces.ico?>
<?define WorkspacesImagesComponentFilesPath=$(var.BinDir)Assets\Workspaces\?>
<Fragment>
@@ -14,7 +14,15 @@
</DirectoryRef>
<DirectoryRef Id="WorkspacesAssetsInstallFolder" FileSource="$(var.WorkspacesImagesComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<!--WorkspacesImagesComponentFiles_Component_Def-->
<Component Id="WorkspacesImagesComponentFiles_Component" Win64="yes" Guid="225E5E59-B0B3-4377-81CF-AD65C0CEEA57">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="WorkspacesImagesComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="WorkspacesImagesComponentFiles_File_DefaultIcon.ico" Source="$(var.WorkspacesImagesComponentFilesPath)\DefaultIcon.ico" />
<File Id="WorkspacesImagesComponentFiles_File_Workspaces.ico" Source="$(var.WorkspacesImagesComponentFilesPath)\Workspaces.ico" />
</Component>
</DirectoryRef>
<!-- Workspaces -->
@@ -25,6 +33,7 @@
</RegistryKey>
<RemoveFolder Id="RemoveFolderWorkspacesAssetsFolder" Directory="WorkspacesAssetsInstallFolder" On="uninstall"/>
</Component>
<ComponentRef Id="WorkspacesImagesComponentFiles_Component" />
</ComponentGroup>
</Fragment>

View File

@@ -78,8 +78,35 @@
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetup\Workspaces.wxs"" ""$(ProjectDir)..\PowerToysSetup\Workspaces.wxs.bk""""
if not "$(NormalizedPerUserValue)" == "true" call powershell.exe -NonInteractive -executionpolicy Unrestricted -File ..\PowerToysSetup\generateAllFileComponents.ps1 -platform $(Platform)
if "$(NormalizedPerUserValue)" == "true" call powershell.exe -NonInteractive -executionpolicy Unrestricted -File ..\PowerToysSetup\generateAllFileComponents.ps1 -platform $(Platform) -installscopeperuser $(NormalizedPerUserValue)
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\AdvancedPaste.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\AdvancedPaste.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\Awake.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\Awake.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\BaseApplications.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\BaseApplications.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\ColorPicker.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\ColorPicker.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\Core.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\Core.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\EnvironmentVariables.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\EnvironmentVariables.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\FileExplorerPreview.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\FileExplorerPreview.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\FileLocksmith.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\FileLocksmith.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\Hosts.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\Hosts.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\ImageResizer.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\ImageResizer.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\KeyboardManager.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\KeyboardManager.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\MouseWithoutBorders.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\MouseWithoutBorders.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\NewPlus.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\NewPlus.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\Peek.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\Peek.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\PowerRename.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\PowerRename.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\Product.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\Product.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\RegistryPreview.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\RegistryPreview.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\Resources.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\Resources.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\Run.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\Run.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\Settings.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\Settings.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\ShortcutGuide.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\ShortcutGuide.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\Tools.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\Tools.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\WinAppSDK.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\WinAppSDK.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\WinUI3Applications.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\WinUI3Applications.wxs.bk""""
call cmd /C "copy ""$(ProjectDir)..\PowerToysSetupVNext\Workspaces.wxs"" ""$(ProjectDir)..\PowerToysSetupVNext\Workspaces.wxs.bk""""
if not "$(NormalizedPerUserValue)" == "true" call powershell.exe -NonInteractive -executionpolicy Unrestricted -File ..\PowerToysSetupVNext\generateAllFileComponents.ps1 -platform $(Platform)
if "$(NormalizedPerUserValue)" == "true" call powershell.exe -NonInteractive -executionpolicy Unrestricted -File ..\PowerToysSetupVNext\generateAllFileComponents.ps1 -platform $(Platform) -installscopeperuser $(NormalizedPerUserValue)
</Command>
<Message>Backing up original files and populating .NET and WPF Runtime dependencies </Message>
<Message>Backing up original files and populating .NET and WPF Runtime dependencies for WiX3 based installer</Message>
</PreBuildEvent>
</ItemDefinitionGroup>
<PropertyGroup Condition="'$(RunBuildEvents)'=='false'">

View File

@@ -0,0 +1,38 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define AdvancedPasteAssetsFiles=AdvancedPaste.ico;AdvancedPaste.png;AIIcon.png;Gradient.png;LockScreenLogo.scale-200.png;SemanticKernel.svg;SplashScreen.scale-200.png;Square150x150Logo.scale-200.png;Square44x44Logo.scale-200.png;Square44x44Logo.targetsize-24_altform-unplated.png;StoreLogo.png;Wide310x150Logo.scale-200.pngAdvancedPaste.ico;AdvancedPaste.png;AIIcon.png;Gradient.png;LockScreenLogo.scale-200.png;SemanticKernel.svg;SplashScreen.scale-200.png;Square150x150Logo.scale-200.png;Square44x44Logo.scale-200.png;Square44x44Logo.targetsize-24_altform-unplated.png;StoreLogo.png;Wide310x150Logo.scale-200.pngAdvancedPaste.ico;AdvancedPaste.png;AIIcon.png;Gradient.png;LockScreenLogo.scale-200.png;SemanticKernel.svg;SplashScreen.scale-200.png;Square150x150Logo.scale-200.png;Square44x44Logo.scale-200.png;Square44x44Logo.targetsize-24_altform-unplated.png;StoreLogo.png;Wide310x150Logo.scale-200.png?>
<?define AdvancedPasteAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\AdvancedPaste\?>
<Fragment>
<DirectoryRef Id="WinUI3AppsAssetsFolder">
<Directory Id="AdvancedPasteAssetsFolder" Name="AdvancedPaste" />
</DirectoryRef>
<DirectoryRef Id="AdvancedPasteAssetsFolder" FileSource="$(var.AdvancedPasteAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="AdvancedPasteAssetsFiles_Component" Win64="yes" Guid="B1FB73E5-A29B-412D-B1A8-C452C4129E8C">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="AdvancedPasteAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="AdvancedPasteAssetsFiles_File_" Source="$(var.AdvancedPasteAssetsFilesPath)\" />
</Component>
</DirectoryRef>
<ComponentGroup Id="AdvancedPasteComponentGroup">
<Component Id="RemoveAdvancedPasteFolder" Guid="55AFE81D-F6BD-439A-A229-66AF5C360AB0" Directory="AdvancedPasteAssetsFolder">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveAdvancedPasteFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveFolderAdvancedPasteAssetsFolder" Directory="AdvancedPasteAssetsFolder" On="uninstall" />
</Component>
<ComponentRef Id="AdvancedPasteAssetsFiles_Component" />
<ComponentRef Id="AdvancedPasteAssetsFiles_Component" />
<ComponentRef Id="AdvancedPasteAssetsFiles_Component" />
<ComponentRef Id="AdvancedPasteAssetsFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,41 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define AwakeImagesFiles=Awake.ico;disabled.ico;expirable.ico;indefinite.ico;normal.ico;scheduled.ico;timed.icoAwake.ico;disabled.ico;expirable.ico;indefinite.ico;normal.ico;scheduled.ico;timed.icoAwake.ico;disabled.ico;expirable.ico;indefinite.ico;normal.ico;scheduled.ico;timed.ico?>
<?define AwakeImagesFilesPath=$(var.BinDir)\Assets\Awake\?>
<Fragment>
<!-- Awake images -->
<DirectoryRef Id="BaseApplicationsAssetsFolder">
<Directory Id="AwakeImagesFolder" Name="Awake" />
</DirectoryRef>
<DirectoryRef Id="AwakeImagesFolder" FileSource="$(var.AwakeImagesFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="AwakeImagesFiles_Component" Win64="yes" Guid="79192586-5532-4845-9F24-8C4614A0A61F">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="AwakeImagesFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="AwakeImagesFiles_File_" Source="$(var.AwakeImagesFilesPath)\" />
</Component>
</DirectoryRef>
<ComponentGroup Id="AwakeComponentGroup">
<Component Id="RemoveAwakeFolder" Guid="95D7774C-69A3-48A3-B417-1BD9664BE974" Directory="INSTALLFOLDER">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveAwakeFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveFolderAwakeImagesFolder" Directory="AwakeImagesFolder" On="uninstall" />
</Component>
<ComponentRef Id="AwakeImagesFiles_Component" />
<ComponentRef Id="AwakeImagesFiles_Component" />
<ComponentRef Id="AwakeImagesFiles_Component" />
<ComponentRef Id="AwakeImagesFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,40 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define ColorPickerAssetsFiles=colorPicker.curcolorPicker.curcolorPicker.cur?>
<?define ColorPickerAssetsFilesPath=$(var.BinDir)Assets\ColorPicker\?>
<Fragment>
<!-- Color Picker -->
<DirectoryRef Id="BaseApplicationsAssetsFolder">
<Directory Id="ColorPickerAssetsFolder" Name="ColorPicker" />
</DirectoryRef>
<!-- Color Picker Resources -->
<DirectoryRef Id="ColorPickerAssetsFolder" FileSource="$(var.ColorPickerAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="ColorPickerAssetsFiles_Component" Win64="yes" Guid="9BE2C6EB-E3DC-4A61-9072-4173913220F8">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="ColorPickerAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="ColorPickerAssetsFiles_File_" Source="$(var.ColorPickerAssetsFilesPath)\" />
</Component>
</DirectoryRef>
<ComponentGroup Id="ColorPickerComponentGroup">
<Component Id="RemoveColorPickerFolder" Guid="18C0C18C-F38A-4C88-B22C-9222F3A5B2EB" Directory="INSTALLFOLDER">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveColorPickerFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveFolderColorPickerAssetsFolder" Directory="ColorPickerAssetsFolder" On="uninstall" />
</Component>
<ComponentRef Id="ColorPickerAssetsFiles_Component" />
<ComponentRef Id="ColorPickerAssetsFiles_Component" />
<ComponentRef Id="ColorPickerAssetsFiles_Component" />
<ComponentRef Id="ColorPickerAssetsFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,58 @@
<Include>
<!-- Names of folders and projects -->
<?define FancyZonesProjectName="FancyZones"?>
<?define ImageResizerProjectName="ImageResizer"?>
<?define KeyboardManagerProjectName="KeyboardManager"?>
<?define PowerAccentProjectName="PowerAccent"?>
<?define PowerRenameProjectName="PowerRename"?>
<?define FileLocksmithProjectName="FileLocksmith"?>
<?define ColorPickerProjectName="ColorPicker"?>
<?define PowerOCRProjectName="PowerOCR"?>
<?define AwakeProjectName="Awake"?>
<?define MouseUtilsProjectName="MouseUtils"?>
<?define AlwaysOnTopProjectName="AlwaysOnTop"?>
<?define MeasureToolProjectName="MeasureTool"?>
<?define HostsProjectName="Hosts"?>
<?define MouseWithoutBordersProjectName="MouseWithoutBorders"?>
<?define AdvancedPasteProjectName="AdvancedPaste"?>
<?define RegistryPreviewProjectName="RegistryPreview"?>
<?define PeekProjectName="Peek"?>
<?define WorkspacesProjectName="Workspaces"?>
<?define RepoDir="$(var.ProjectDir)..\..\" ?>
<?if $(var.Platform) = x64?>
<?define PowerToysPlatform="x64"?>
<?define PlatformProgramFiles="[ProgramFiles64Folder]"?>
<?define PlatformLK="x64" ?>
<?define BinDir="$(var.RepoDir)x64\$(var.Configuration)\" ?>
<?else?>
<!-- stable WIX 3 doesn't support ARM64, so we build installers as x86 -->
<?define PowerToysPlatform="ARM64"?>
<!--TODO: define to ARM64 Program files once it's available-->
<?define PlatformProgramFiles="[ProgramFiles6432Folder]"?>
<?define PlatformLK="arm64" ?>
<?define BinDir="$(var.RepoDir)ARM64\$(var.Configuration)\" ?>
<?endif?>
<?if $(var.PerUser) = "true"?>
<?define PerMachineYesNo="no"?>
<?define MSIPath="UserSetup"?>
<?define MSIName="PowerToysUserSetup-$(var.Version)-$(var.PowerToysPlatform).msi"?>
<?define DefaultInstallDir="LocalAppDataFolder" ?>
<?define RegistryScope="HKCU" ?>
<?define InstallScope="perUser" ?>
<?define InstallPrivileges="limited" ?>
<?define UpgradeCodeGUID="D8B559DB-4C98-487A-A33F-50A8EEE42726" ?>
<?else?>
<?define PerMachineYesNo="yes"?>
<?define MSIPath="MachineSetup"?>
<?define MSIName="PowerToysSetup-$(var.Version)-$(var.PowerToysPlatform).msi"?>
<?define DefaultInstallDir="ProgramFiles64Folder" ?>
<?define RegistryScope="HKLM" ?>
<?define InstallScope="perMachine" ?>
<?define InstallPrivileges="elevated" ?>
<?define UpgradeCodeGUID="42B84BF7-5FBF-473B-9C8B-049DC16F7708" ?>
<?endif?>
<?define BinX32Dir="$(var.RepoDir)x86\$(var.Configuration)\" ?>
</Include>

View File

@@ -0,0 +1,122 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<Fragment>
<DirectoryRef Id="INSTALLFOLDER" FileSource="$(var.BinDir)">
<Component Id="powertoys_per_machine_comp" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys">
<RegistryValue Type="string" Name="InstallScope" Value="$(var.InstallScope)" />
</RegistryKey>
</Component>
<Component Id="powertoys_toast_clsid" Bitness="always64">
<RemoveFolder Id="Remove_powertoys_toast_clsid" On="uninstall" />
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\CLSID\{DD5CACDA-7C2E-4997-A62A-04A597B58F76}">
<RegistryValue Type="string" Value="PowerToys Toast Notifications Background Activator" />
<RegistryValue Type="string" Key="LocalServer32" Value="[INSTALLFOLDER]PowerToys.exe -ToastActivated" />
<RegistryValue Type="string" Key="LocalServer32" Name="ThreadingModel" Value="Apartment" />
</RegistryKey>
</Component>
<Component Id="powertoys_exe" Guid="30261594-41A6-4509-AD09-FBC4E692F441" Bitness="always64">
<File Id="PowerToys.exe" Checksum="yes" />
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys">
<RegistryValue Type="string" Name="URL Protocol" Value="" KeyPath="yes" />
<RegistryValue Type="string" Value="URL:PowerToys custom internal URI protocol" />
<RegistryKey Key="DefaultIcon">
<RegistryValue Type="string" Value="PowerToys.exe" />
</RegistryKey>
<RegistryKey Key="shell\open\command">
<RegistryValue Type="string" Value="&quot;[INSTALLFOLDER]PowerToys.exe&quot; &quot;%1&quot;" />
</RegistryKey>
</RegistryKey>
</Component>
<Component Id="License_rtf" Guid="632C60DF-0DDC-4F14-8F2B-A28136CD9E63" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="License_rtf" Value="" KeyPath="yes" />
</RegistryKey>
<File Source="$(var.RepoDir)\installer\License.rtf" Id="License.rtf" />
</Component>
<Component Id="Notice_md" Guid="1671B5F5-1260-42CF-83A8-9B3430DFF8C5" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="Notice_md" Value="" KeyPath="yes" />
</RegistryKey>
<File Source="$(var.RepoDir)\Notice.md" Id="Notice.md" />
</Component>
</DirectoryRef>
<DirectoryRef Id="DSCModulesReferenceFolder">
<Component Id="PowerToysDSCReference" Guid="40869ACB-0BEB-4911-AE41-5E73BC1586A9" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="DSCModulesReference" Value="" KeyPath="yes" />
</RegistryKey>
<File Source="$(var.RepoDir)\src\dsc\Microsoft.PowerToys.Configure\Generated\Microsoft.PowerToys.Configure\$(var.Version).0\Microsoft.PowerToys.Configure.psd1" Id="PTConfReference.psd1" />
<File Source="$(var.RepoDir)\src\dsc\Microsoft.PowerToys.Configure\Generated\Microsoft.PowerToys.Configure\$(var.Version).0\Microsoft.PowerToys.Configure.psm1" Id="PTConfReference.psm1" />
</Component>
</DirectoryRef>
<?if $(var.PerUser) = "true" ?>
<!-- DSC module files for PerUser handled in InstallDSCModule custom action. -->
<?else?>
<StandardDirectory Id="ProgramFiles64Folder">
<Directory Id="WindowsPowerShellFolder" Name="WindowsPowerShell">
<Directory Id="PowerShellModulesFolder" Name="Modules">
<Directory Id="PowerToysDscFolder" Name="Microsoft.PowerToys.Configure">
<Directory Id="PowerToysDscVerFolder" Name="$(var.Version).0">
<Component Id="PowerToysDSC" Guid="C52AECA0-DA73-49B8-BB49-31EF6640FF1F" Bitness="always64">
<!-- Don't fail installation because of DSC. Files are marked as not vital. -->
<File Vital="no" Source="$(var.RepoDir)\src\dsc\Microsoft.PowerToys.Configure\Generated\Microsoft.PowerToys.Configure\$(var.Version).0\Microsoft.PowerToys.Configure.psd1" Id="PTConf.psd1" />
<File Vital="no" Source="$(var.RepoDir)\src\dsc\Microsoft.PowerToys.Configure\Generated\Microsoft.PowerToys.Configure\$(var.Version).0\Microsoft.PowerToys.Configure.psm1" Id="PTConf.psm1" />
</Component>
</Directory>
</Directory>
</Directory>
</Directory>
</StandardDirectory>
<?endif?>
<DirectoryRef Id="ApplicationProgramsFolder">
<Component Id="PowerToysStartMenuShortcut">
<Shortcut Id="ApplicationStartMenuShortcut" Name="PowerToys (Preview)" Description="PowerToys - Windows system utilities to maximize productivity" Icon="powertoys.exe" IconIndex="0" Target="[!PowerToys.exe]" WorkingDirectory="INSTALLFOLDER">
<ShortcutProperty Key="System.AppUserModel.ID" Value="Microsoft.PowerToysWin32" />
</Shortcut>
<RemoveFolder Id="CleanUpStartMenuShortCut" Directory="ApplicationProgramsFolder" On="uninstall" />
<!-- ApplicationStartMenuShortcut is implicitly installed in HKCU, so WIX won't allow changing this reg value to HKLM. -->
<RegistryValue Root="HKCU" Key="Software\Microsoft\PowerToys" Name="installed" Type="integer" Value="1" KeyPath="yes" />
</Component>
</DirectoryRef>
<StandardDirectory Id="DesktopFolder">
<Component Id="DesktopShortcut" Condition="INSTALLDESKTOPSHORTCUT">
<!-- DesktopShortcutId is implicitly installed in HKCU, so WIX won't allow changing this reg value to HKLM. -->
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="desktopshorcutinstalled" Type="integer" Value="1" KeyPath="yes" />
<Shortcut Id="DesktopShortcutId" Name="PowerToys (Preview)" Description="PowerToys - Windows system utilities to maximize productivity" Target="[!PowerToys.exe]" WorkingDirectory="INSTALLFOLDER" Icon="powertoys.exe" Directory="DesktopFolder" />
</Component>
</StandardDirectory>
</Fragment>
<Fragment>
<ComponentGroup Id="CoreComponents">
<Component Id="RemoveCoreFolder" Guid="9330BD69-2D12-4D98-B0C7-66C99564D619" Directory="INSTALLFOLDER">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveCoreFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveBaseApplicationsAssetsFolder" Directory="BaseApplicationsAssetsFolder" On="uninstall" />
<RemoveFolder Id="RemoveDSCModulesReferenceFolder" Directory="DSCModulesReferenceFolder" On="uninstall" />
<RemoveFolder Id="RemoveWinUI3AppsInstallFolder" Directory="WinUI3AppsInstallFolder" On="uninstall" />
<RemoveFolder Id="RemoveWinUI3AppsAssetsFolder" Directory="WinUI3AppsAssetsFolder" On="uninstall" />
<RemoveFolder Id="RemoveINSTALLFOLDER" Directory="INSTALLFOLDER" On="uninstall" />
</Component>
<ComponentRef Id="powertoys_exe" />
<ComponentRef Id="PowerToysStartMenuShortcut" />
<ComponentRef Id="powertoys_per_machine_comp" />
<ComponentRef Id="powertoys_toast_clsid" />
<ComponentRef Id="License_rtf" />
<ComponentRef Id="Notice_md" />
<ComponentRef Id="DesktopShortcut" />
<ComponentRef Id="PowerToysDSCReference" />
<?if $(var.PerUser) = "false" ?>
<ComponentRef Id="PowerToysDSC" />
<?endif?>
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,28 @@
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Fragment>
<UI>
<Dialog Id="PTInstallDirDlg" Width="370" Height="270" Title="!(loc.InstallDirDlg_Title)">
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)" />
<Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)" />
<Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
<Publish Event="SpawnDialog" Value="CancelDlg" />
</Control>
<Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.InstallDirDlgDescription)" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.InstallDirDlgTitle)" />
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
<Control Id="FolderLabel" Type="Text" X="20" Y="60" Width="290" Height="30" NoPrefix="yes" Text="!(loc.InstallDirDlgFolderLabel)" />
<Control Id="Folder" Type="PathEdit" X="20" Y="100" Width="320" Height="18" Property="WIXUI_INSTALLDIR" Indirect="yes" />
<Control Id="ChangeFolder" Type="PushButton" X="20" Y="120" Width="56" Height="17" Text="!(loc.InstallDirDlgChange)" />
<Control Id="DesktopShortcutCheckBox" Type="CheckBox" X="20" Y="160" Width="290" Height="17" Property="INSTALLDESKTOPSHORTCUT" CheckBoxValue="1" Text="Create a shortcut for [ProductName] on the desktop." />
<Control Id="ScheduledTaskCheckBox" Type="CheckBox" X="20" Y="180" Width="330" Height="17" Property="CREATESCHEDULEDTASK" CheckBoxValue="1" Text="Automatically start [ProductName] at logon." />
</Dialog>
</UI>
</Fragment>
</Wix>

View File

@@ -0,0 +1,28 @@
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Fragment>
<UI>
<Dialog Id="PTLicenseDlg" Width="370" Height="270" Title="!(loc.LicenseAgreementDlg_Title)">
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.LicenseAgreementDlgBannerBitmap)" />
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
<Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}[ProductName] License" />
<Control Id="Print" Type="PushButton" X="112" Y="243" Width="56" Height="17" Text="!(loc.WixUIPrint)">
<Publish Event="DoAction" Value="WixUIPrintEula_$(sys.BUILDARCHSHORT)" />
</Control>
<Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)" />
<Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)">
<Publish Event="SpawnWaitDialog" Value="WaitForCostingDlg" Condition="!(wix.WixUICostingPopupOptOut) OR CostingComplete = 1" />
</Control>
<Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
<Publish Event="SpawnDialog" Value="CancelDlg" />
</Control>
<Control Id="LicenseText" Type="ScrollableText" X="20" Y="60" Width="330" Height="140" Sunken="yes" TabSkip="no">
<Text SourceFile="!(wix.WixUILicenseRtf)" />
</Control>
</Dialog>
</UI>
</Fragment>
</Wix>

View File

@@ -0,0 +1,77 @@
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
<!--
First-time install dialog sequence:
- WixUI_WelcomeDlg
- WixUI_LicenseAgreementDlg
- WixUI_PTInstallDirDlg
- WixUI_VerifyReadyDlg
- WixUI_DiskCostDlg
Maintenance dialog sequence:
- WixUI_MaintenanceWelcomeDlg
- WixUI_MaintenanceTypeDlg
- WixUI_PTInstallDirDlg
- WixUI_VerifyReadyDlg
Patch dialog sequence:
- WixUI_WelcomeDlg
- WixUI_VerifyReadyDlg
-->
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Fragment>
<UI Id="WixUI_PTInstallDir">
<TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
<TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
<TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
<Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
<Property Id="WixUI_Mode" Value="InstallDir" />
<DialogRef Id="BrowseDlg" />
<DialogRef Id="DiskCostDlg" />
<DialogRef Id="ErrorDlg" />
<DialogRef Id="FatalError" />
<DialogRef Id="FilesInUse" />
<DialogRef Id="MsiRMFilesInUse" />
<DialogRef Id="PrepareDlg" />
<DialogRef Id="ProgressDlg" />
<DialogRef Id="ResumeDlg" />
<DialogRef Id="UserExit" />
<Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath_$(sys.BUILDARCHSHORT)" Order="3" />
<Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4" Condition="NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID&lt;&gt;&quot;1&quot;" />
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999" />
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="PTLicenseDlg" Condition="NOT Installed" />
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Condition="Installed AND PATCH" />
<Publish Dialog="PTLicenseDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" />
<Publish Dialog="PTLicenseDlg" Control="Next" Event="NewDialog" Value="PTInstallDirDlg" />
<Publish Dialog="PTInstallDirDlg" Control="Back" Event="NewDialog" Value="PTLicenseDlg" />
<Publish Dialog="PTInstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1" />
<Publish Dialog="PTInstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath_$(sys.BUILDARCHSHORT)" Order="2" Condition="NOT WIXUI_DONTVALIDATEPATH" />
<Publish Dialog="PTInstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3" Condition="NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID&lt;&gt;&quot;1&quot;" />
<Publish Dialog="PTInstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4" Condition="WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID=&quot;1&quot;" />
<Publish Dialog="PTInstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1" />
<Publish Dialog="PTInstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2" />
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="PTInstallDirDlg" Order="1" Condition="NOT Installed" />
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2" Condition="Installed AND NOT PATCH" />
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2" Condition="Installed AND PATCH" />
<Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg" />
<Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg" />
<Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg" />
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg" />
</UI>
<UIRef Id="WixUI_Common" />
</Fragment>
</Wix>

View File

@@ -0,0 +1,38 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define EnvironmentVariablesAssetsFiles=EnvironmentVariables.ico;LockScreenLogo.scale-200.png;SplashScreen.scale-200.png;Square150x150Logo.scale-200.png;Square44x44Logo.scale-200.png;Square44x44Logo.targetsize-24_altform-unplated.png;StoreLogo.png;Wide310x150Logo.scale-200.pngEnvironmentVariables.ico;LockScreenLogo.scale-200.png;SplashScreen.scale-200.png;Square150x150Logo.scale-200.png;Square44x44Logo.scale-200.png;Square44x44Logo.targetsize-24_altform-unplated.png;StoreLogo.png;Wide310x150Logo.scale-200.pngEnvironmentVariables.ico;LockScreenLogo.scale-200.png;SplashScreen.scale-200.png;Square150x150Logo.scale-200.png;Square44x44Logo.scale-200.png;Square44x44Logo.targetsize-24_altform-unplated.png;StoreLogo.png;Wide310x150Logo.scale-200.png?>
<?define EnvironmentVariablesAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\EnvironmentVariables\?>
<Fragment>
<DirectoryRef Id="WinUI3AppsAssetsFolder">
<Directory Id="EnvironmentVariablesAssetsFolder" Name="EnvironmentVariables" />
</DirectoryRef>
<DirectoryRef Id="EnvironmentVariablesAssetsFolder" FileSource="$(var.EnvironmentVariablesAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="EnvironmentVariablesAssetsFiles_Component" Win64="yes" Guid="2E5A1C3F-43DD-4749-A175-C3F37AF31ECD">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="EnvironmentVariablesAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="EnvironmentVariablesAssetsFiles_File_" Source="$(var.EnvironmentVariablesAssetsFilesPath)\" />
</Component>
</DirectoryRef>
<ComponentGroup Id="EnvironmentVariablesComponentGroup">
<Component Id="RemoveEnvironmentVariablesFolder" Guid="B62A779D-38BA-46B2-859D-9D242D9B0CC1" Directory="EnvironmentVariablesAssetsFolder">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveEnvironmentVariablesFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveFolderEnvironmentVariablesAssetsFolder" Directory="EnvironmentVariablesAssetsFolder" On="uninstall" />
</Component>
<ComponentRef Id="EnvironmentVariablesAssetsFiles_Component" />
<ComponentRef Id="EnvironmentVariablesAssetsFiles_Component" />
<ComponentRef Id="EnvironmentVariablesAssetsFiles_Component" />
<ComponentRef Id="EnvironmentVariablesAssetsFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,61 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define MonacoPreviewHandlerMonacoAssetsFiles=customTokenThemeRules.js;index.html;monacoSpecialLanguages.js;monaco_languages.jsoncustomTokenThemeRules.js;index.html;monacoSpecialLanguages.js;monaco_languages.jsoncustomTokenThemeRules.js;index.html;monacoSpecialLanguages.js;monaco_languages.json?>
<?define MonacoPreviewHandlerMonacoAssetsFilesPath=$(var.BinDir)Assets\Monaco\?>
<?define MonacoPreviewHandlerCustomLanguagesFiles=gitignore.js;reg.js;srt.jsgitignore.js;reg.js;srt.jsgitignore.js;reg.js;srt.js?>
<?define MonacoPreviewHandlerCustomLanguagesFilesPath=$(var.BinDir)Assets\Monaco\customLanguages\?>
<Fragment>
<DirectoryRef Id="BaseApplicationsAssetsFolder">
<Directory Id="MonacoAssetsFolder" Name="Monaco">
<Directory Id="MonacoPreviewHandlerMonacoCustomLanguagesFolder" Name="customLanguages" />
<Directory Id="MonacoPreviewHandlerMonacoSRCFolder" Name="monacoSRC" />
</Directory>
</DirectoryRef>
<DirectoryRef Id="MonacoAssetsFolder" FileSource="$(var.MonacoPreviewHandlerMonacoAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="MonacoPreviewHandlerMonacoAssetsFiles_Component" Win64="yes" Guid="F4907F3C-EDCA-47E8-BED8-3C56806D7B47">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="MonacoPreviewHandlerMonacoAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="MonacoPreviewHandlerMonacoAssetsFiles_File_" Source="$(var.MonacoPreviewHandlerMonacoAssetsFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="MonacoPreviewHandlerMonacoCustomLanguagesFolder" FileSource="$(var.MonacoPreviewHandlerCustomLanguagesFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="MonacoPreviewHandlerCustomLanguagesFiles_Component" Win64="yes" Guid="377F116A-BE6A-4547-9465-1BE9630393F3">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="MonacoPreviewHandlerCustomLanguagesFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="MonacoPreviewHandlerCustomLanguagesFiles_File_" Source="$(var.MonacoPreviewHandlerCustomLanguagesFilesPath)\" />
</Component>
</DirectoryRef>
<ComponentGroup Id="FileExplorerPreviewComponentGroup">
<Component Id="RemoveFileExplorerPreviewFolder" Guid="4AB83E58-17F1-41AF-B67F-F6C36EFED28D" Directory="MonacoAssetsFolder">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveFileExplorerPreviewFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveMonacoAssetsFolder" Directory="MonacoAssetsFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderMonacoPreviewHandlerCustomLanguagesFolder" Directory="MonacoPreviewHandlerMonacoCustomLanguagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderMonacoPreviewHandlerMonacoSRCFolder" Directory="MonacoPreviewHandlerMonacoSRCFolder" On="uninstall" />
</Component>
<ComponentRef Id="MonacoPreviewHandlerMonacoAssetsFiles_Component" />
<ComponentRef Id="MonacoPreviewHandlerCustomLanguagesFiles_Component" />
<ComponentRef Id="MonacoPreviewHandlerMonacoAssetsFiles_Component" />
<ComponentRef Id="MonacoPreviewHandlerCustomLanguagesFiles_Component" />
<ComponentRef Id="MonacoPreviewHandlerMonacoAssetsFiles_Component" />
<ComponentRef Id="MonacoPreviewHandlerCustomLanguagesFiles_Component" />
<ComponentRef Id="MonacoPreviewHandlerMonacoAssetsFiles_Component" />
<ComponentRef Id="MonacoPreviewHandlerCustomLanguagesFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,54 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define FileLocksmithAssetsFiles=AppList.scale-100.png;AppList.scale-125.png;AppList.scale-150.png;AppList.scale-200.png;AppList.scale-400.png;FileLocksmith.ico;Icon.ico;LargeTile.png;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;storelogo.png;Wide310x150Logo.pngAppList.scale-100.png;AppList.scale-125.png;AppList.scale-150.png;AppList.scale-200.png;AppList.scale-400.png;FileLocksmith.ico;Icon.ico;LargeTile.png;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;storelogo.png;Wide310x150Logo.pngAppList.scale-100.png;AppList.scale-125.png;AppList.scale-150.png;AppList.scale-200.png;AppList.scale-400.png;FileLocksmith.ico;Icon.ico;LargeTile.png;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;storelogo.png;Wide310x150Logo.png?>
<?define FileLocksmithAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\FileLocksmith\?>
<Fragment>
<DirectoryRef Id="WinUI3AppsAssetsFolder">
<Directory Id="FileLocksmithAssetsInstallFolder" Name="FileLocksmith" />
</DirectoryRef>
<DirectoryRef Id="FileLocksmithAssetsInstallFolder" FileSource="$(var.FileLocksmithAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="FileLocksmithAssetsFiles_Component" Win64="yes" Guid="CD44A826-C256-4C31-AFA6-E12D4DF49E35">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="FileLocksmithAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="FileLocksmithAssetsFiles_File_" Source="$(var.FileLocksmithAssetsFilesPath)\" />
</Component>
<!-- !Warning! Make sure to change Component Guid if you update something here -->
<Component Id="Module_FileLocksmith" Guid="108D3EC1-E6E0-4E81-88EF-25966133CB41" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\CLSID\{84D68575-E186-46AD-B0CB-BAEB45EE29C0}">
<RegistryValue Type="string" Value="File Locksmith Shell Extension" />
<RegistryValue Type="string" Name="ContextMenuOptIn" Value="" />
<RegistryValue Type="string" Key="InprocServer32" Value="[WinUI3AppsInstallFolder]PowerToys.FileLocksmithExt.dll" />
<RegistryValue Type="string" Key="InprocServer32" Name="ThreadingModel" Value="Apartment" />
</RegistryKey>
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\AllFileSystemObjects\ShellEx\ContextMenuHandlers\FileLocksmithExt">
<RegistryValue Type="string" Value="{84D68575-E186-46AD-B0CB-BAEB45EE29C0}" />
</RegistryKey>
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\Drive\ShellEx\ContextMenuHandlers\FileLocksmithExt">
<RegistryValue Type="string" Value="{84D68575-E186-46AD-B0CB-BAEB45EE29C0}" />
</RegistryKey>
</Component>
</DirectoryRef>
<ComponentGroup Id="FileLocksmithComponentGroup">
<Component Id="RemoveFileLocksmithFolder" Guid="1DAC9A3F-D89C-4730-BF57-1778E011709B" Directory="FileLocksmithAssetsInstallFolder">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveFileLocksmithFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveFolderFileLocksmithAssetsFolder" Directory="FileLocksmithAssetsInstallFolder" On="uninstall" />
</Component>
<ComponentRef Id="Module_FileLocksmith" />
<ComponentRef Id="FileLocksmithAssetsFiles_Component" />
<ComponentRef Id="FileLocksmithAssetsFiles_Component" />
<ComponentRef Id="FileLocksmithAssetsFiles_Component" />
<ComponentRef Id="FileLocksmithAssetsFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,38 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define HostsAssetsFiles=AppList.scale-100.png;AppList.scale-125.png;AppList.scale-150.png;AppList.scale-200.png;AppList.scale-400.png;Hosts.icoAppList.scale-100.png;AppList.scale-125.png;AppList.scale-150.png;AppList.scale-200.png;AppList.scale-400.png;Hosts.icoAppList.scale-100.png;AppList.scale-125.png;AppList.scale-150.png;AppList.scale-200.png;AppList.scale-400.png;Hosts.ico?>
<?define HostsAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\Hosts\?>
<Fragment>
<DirectoryRef Id="WinUI3AppsAssetsFolder">
<Directory Id="HostsAssetsFolder" Name="Hosts" />
</DirectoryRef>
<DirectoryRef Id="HostsAssetsFolder" FileSource="$(var.HostsAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="HostsAssetsFiles_Component" Win64="yes" Guid="F331BAC0-D7B6-4E29-BCEF-85F5935B7972">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="HostsAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="HostsAssetsFiles_File_" Source="$(var.HostsAssetsFilesPath)\" />
</Component>
</DirectoryRef>
<ComponentGroup Id="HostsComponentGroup">
<Component Id="RemoveHostsFolder" Guid="7FF19EBB-041D-4498-9826-C9AECEBE86E1" Directory="HostsAssetsFolder">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveHostsFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveFolderHostsAssetsFolder" Directory="HostsAssetsFolder" On="uninstall" />
</Component>
<ComponentRef Id="HostsAssetsFiles_Component" />
<ComponentRef Id="HostsAssetsFiles_Component" />
<ComponentRef Id="HostsAssetsFiles_Component" />
<ComponentRef Id="HostsAssetsFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,63 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define ImageResizerAssetsFiles=ImageResizer.ico;LargeTile.png;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;storelogo.png;Wide310x150Logo.pngImageResizer.ico;LargeTile.png;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;storelogo.png;Wide310x150Logo.pngImageResizer.ico;LargeTile.png;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;storelogo.png;Wide310x150Logo.png?>
<?define ImageResizerAssetsFilesPath=$(var.BinDir)Assets\ImageResizer\?>
<Fragment>
<DirectoryRef Id="BaseApplicationsAssetsFolder">
<Directory Id="ImageResizerAssetsFolder" Name="ImageResizer" />
</DirectoryRef>
<DirectoryRef Id="ImageResizerAssetsFolder" FileSource="$(var.ImageResizerAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="ImageResizerAssetsFiles_Component" Win64="yes" Guid="017BC4A1-31A4-4B22-8C22-50D411B95EF0">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="ImageResizerAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="ImageResizerAssetsFiles_File_" Source="$(var.ImageResizerAssetsFilesPath)\" />
</Component>
<Component Id="Module_ImageResizer_Registry" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\CLSID\{51B4D7E5-7568-4234-B4BB-47FB3C016A69}\InprocServer32">
<RegistryValue Value="[INSTALLFOLDER]PowerToys.ImageResizerExt.dll" Type="string" />
<RegistryValue Name="ThreadingModel" Value="Apartment" Type="string" />
</RegistryKey>
<RegistryValue Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\Directory\ShellEx\DragDropHandlers\ImageResizer" Value="{51B4D7E5-7568-4234-B4BB-47FB3C016A69}" Type="string" />
<!-- Registry Keys for the context menu handler for each of the following image formats: bmp, dib, gif, jfif, jpe, jpeg, jpg, jxr, png, rle, tif, tiff, wdp -->
<RegistryValue Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\SystemFileAssociations\.bmp\ShellEx\ContextMenuHandlers\ImageResizer" Value="{51B4D7E5-7568-4234-B4BB-47FB3C016A69}" Type="string" />
<RegistryValue Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\SystemFileAssociations\.dib\ShellEx\ContextMenuHandlers\ImageResizer" Value="{51B4D7E5-7568-4234-B4BB-47FB3C016A69}" Type="string" />
<RegistryValue Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\SystemFileAssociations\.gif\ShellEx\ContextMenuHandlers\ImageResizer" Value="{51B4D7E5-7568-4234-B4BB-47FB3C016A69}" Type="string" />
<RegistryValue Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\SystemFileAssociations\.jfif\ShellEx\ContextMenuHandlers\ImageResizer" Value="{51B4D7E5-7568-4234-B4BB-47FB3C016A69}" Type="string" />
<RegistryValue Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\SystemFileAssociations\.jpe\ShellEx\ContextMenuHandlers\ImageResizer" Value="{51B4D7E5-7568-4234-B4BB-47FB3C016A69}" Type="string" />
<RegistryValue Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\SystemFileAssociations\.jpeg\ShellEx\ContextMenuHandlers\ImageResizer" Value="{51B4D7E5-7568-4234-B4BB-47FB3C016A69}" Type="string" />
<RegistryValue Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\SystemFileAssociations\.jpg\ShellEx\ContextMenuHandlers\ImageResizer" Value="{51B4D7E5-7568-4234-B4BB-47FB3C016A69}" Type="string" />
<RegistryValue Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\SystemFileAssociations\.jxr\ShellEx\ContextMenuHandlers\ImageResizer" Value="{51B4D7E5-7568-4234-B4BB-47FB3C016A69}" Type="string" />
<RegistryValue Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\SystemFileAssociations\.png\ShellEx\ContextMenuHandlers\ImageResizer" Value="{51B4D7E5-7568-4234-B4BB-47FB3C016A69}" Type="string" />
<RegistryValue Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\SystemFileAssociations\.rle\ShellEx\ContextMenuHandlers\ImageResizer" Value="{51B4D7E5-7568-4234-B4BB-47FB3C016A69}" Type="string" />
<RegistryValue Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\SystemFileAssociations\.tif\ShellEx\ContextMenuHandlers\ImageResizer" Value="{51B4D7E5-7568-4234-B4BB-47FB3C016A69}" Type="string" />
<RegistryValue Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\SystemFileAssociations\.tiff\ShellEx\ContextMenuHandlers\ImageResizer" Value="{51B4D7E5-7568-4234-B4BB-47FB3C016A69}" Type="string" />
<RegistryValue Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\SystemFileAssociations\.wdp\ShellEx\ContextMenuHandlers\ImageResizer" Value="{51B4D7E5-7568-4234-B4BB-47FB3C016A69}" Type="string" />
</Component>
</DirectoryRef>
<ComponentGroup Id="ImageResizerComponentGroup">
<Component Id="RemoveImageResizerFolder" Guid="8E5DE86A-8618-4590-9584-51BCD3A14280" Directory="ImageResizerAssetsFolder">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveImageResizerFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveFolderImageResizerAssetsFolder" Directory="ImageResizerAssetsFolder" On="uninstall" />
</Component>
<ComponentRef Id="Module_ImageResizer_Registry" />
<ComponentRef Id="ImageResizerAssetsFiles_Component" />
<ComponentRef Id="ImageResizerAssetsFiles_Component" />
<ComponentRef Id="ImageResizerAssetsFiles_Component" />
<ComponentRef Id="ImageResizerAssetsFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,55 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<Fragment>
<DirectoryRef Id="INSTALLFOLDER">
<Directory Id="KeyboardManagerEditorInstallFolder" Name="KeyboardManagerEditor" />
<Directory Id="KeyboardManagerEngineInstallFolder" Name="KeyboardManagerEngine" />
</DirectoryRef>
<!-- KBM Editor -->
<DirectoryRef Id="KeyboardManagerEditorInstallFolder" FileSource="$(var.BinDir)KeyboardManagerEditor">
<Component Id="Module_KeyboardManager_Editor" Guid="E9C74E78-970F-4DF5-9CC0-FFD3CCF285B4" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="Module_KeyboardManager_Editor" Value="" KeyPath="yes" />
</RegistryKey>
<File Id="PowerToys.KeyboardManagerEditor.exe" Source="$(var.BinDir)KeyboardManagerEditor\PowerToys.KeyboardManagerEditor.exe" />
<File Id="Microsoft.Toolkit.Win32.UI.XamlHost.dll" Source="$(var.BinDir)KeyboardManagerEditor\Microsoft.Toolkit.Win32.UI.XamlHost.dll" />
<File Id="Microsoft.UI.Xaml.dll" Source="$(var.BinDir)KeyboardManagerEditor\Microsoft.UI.Xaml.dll" />
<File Id="msvcp140_app.dll" Source="$(var.BinDir)KeyboardManagerEditor\msvcp140_app.dll" />
<File Id="resources.pri" Source="$(var.BinDir)KeyboardManagerEditor\resources.pri" />
<File Id="vcruntime140_app.dll" Source="$(var.BinDir)KeyboardManagerEditor\vcruntime140_app.dll" />
<?if $(sys.BUILDARCH) = x64 ?>
<File Id="vcruntime140_1_app.dll" Source="$(var.BinDir)KeyboardManagerEditor\vcruntime140_1_app.dll" />
<?endif?>
<File Id="vcruntime140.dll" Source="$(var.BinDir)KeyboardManagerEditor\vcruntime140.dll" />
<File Id="vcruntime140_1.dll" Source="$(var.BinDir)KeyboardManagerEditor\vcruntime140_1.dll" />
<File Id="msvcp140.dll" Source="$(var.BinDir)KeyboardManagerEditor\msvcp140.dll" />
</Component>
</DirectoryRef>
<!-- KBM Engine -->
<DirectoryRef Id="KeyboardManagerEngineInstallFolder" FileSource="$(var.BinDir)KeyboardManagerEngine">
<Component Id="Module_KeyboardManager_Engine" Guid="3F58FCE3-B44D-4676-94E9-C59F1FE42FFD" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="Module_KeyboardManager_Engine" Value="" KeyPath="yes" />
</RegistryKey>
<File Id="PowerToys.KeyboardManagerEngine.exe" Source="$(var.BinDir)KeyboardManagerEngine\PowerToys.KeyboardManagerEngine.exe" />
</Component>
</DirectoryRef>
<ComponentGroup Id="KeyboardManagerComponentGroup">
<Component Id="RemoveKeyboardManagerFolder" Guid="C411CB11-4617-40A4-B6DA-1823B49FB9FF" Directory="INSTALLFOLDER">
<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>
<ComponentRef Id="Module_KeyboardManager_Editor" />
<ComponentRef Id="Module_KeyboardManager_Engine" />
</ComponentGroup>
</Fragment>
</Wix>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,17 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:Fire="http://wixtoolset.org/schemas/v4/wxs/firewall">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<Fragment>
<ComponentGroup Id="MouseWithoutBordersComponentGroup">
<Component Id="MouseWithoutBordersFirewallComponent" Directory="INSTALLFOLDER" Guid="FEA59459-EC0E-4636-8E76-4C168235982B">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="MouseWithoutBordersFirewall_Component" Value="" KeyPath="yes" />
</RegistryKey>
<!-- The program name used here will be generated by generateFileComponents.ps1 -->
<Fire:FirewallException Id="MouseWithoutBordersFirewallException1" Name="PowerToys.MouseWithoutBorders" Scope="localSubnet" IgnoreFailure="yes" Program="[#BaseApplicationsFiles_File_PowerToys.MouseWithoutBorders.exe]" />
</Component>
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,100 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define NewPlusAssetsFiles=LargeTile.png;New_dark.ico;New_light.ico;Open_templates_dark.ico;Open_templates_light.ico;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;StoreLogo.png;Wide310x150Logo.pngLargeTile.png;New_dark.ico;New_light.ico;Open_templates_dark.ico;Open_templates_light.ico;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;StoreLogo.png;Wide310x150Logo.pngLargeTile.png;New_dark.ico;New_light.ico;Open_templates_dark.ico;Open_templates_light.ico;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;StoreLogo.png;Wide310x150Logo.png?>
<?define NewPlusAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\NewPlus\?>
<?define NewPlusTemplateFilesPath=$(var.BinDir)WinUI3Apps\Assets\NewPlus\Templates\?>
<?define NewPlusTemplateSubFilesPath=$(var.BinDir)WinUI3Apps\Assets\NewPlus\Templates\Example folder\?>
<Fragment>
<!-- Assets -->
<DirectoryRef Id="WinUI3AppsAssetsFolder">
<Directory Id="NewPlusAssetsInstallFolder" Name="NewPlus" />
</DirectoryRef>
<DirectoryRef Id="NewPlusAssetsInstallFolder" FileSource="$(var.NewPlusAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="NewPlusAssetsFiles_Component" Win64="yes" Guid="7CDC984B-6CA0-4802-9410-00C5AF9FCBE0">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="NewPlusAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="NewPlusAssetsFiles_File_" Source="$(var.NewPlusAssetsFilesPath)\" />
</Component>
<!-- NewPlus Shell Extension for Win10 registration -->
<Component Id="NewPlus_ShellExtension_win10" Guid="D5456D4A-6EEC-4B85-944D-6A6A4A74FFA6" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\CLSID\{FF90D477-E32A-4BE8-8CC5-A502A97F5401}">
<RegistryValue Type="string" Value="NewPlus Shell Extension Win10" />
<RegistryValue Type="string" Name="ContextMenuOptIn" Value="" />
<RegistryValue Type="string" Key="InprocServer32" Value="[WinUI3AppsInstallFolder]PowerToys.NewPlus.ShellExtension.win10.dll" />
<RegistryValue Type="string" Key="InprocServer32" Name="ThreadingModel" Value="Apartment" />
</RegistryKey>
<RegistryKey Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\Directory\background\ShellEx\ContextMenuHandlers\NewPlusShellExtensionWin10">
<RegistryValue Type="string" Value="{FF90D477-E32A-4BE8-8CC5-A502A97F5401}" />
</RegistryKey>
</Component>
</DirectoryRef>
<ComponentGroup Id="NewPlusComponentGroup">
<Component Id="RemoveNewPlusFolder" Guid="4189C789-56EB-409D-912E-3F4F3F4F1FFA" Directory="NewPlusAssetsInstallFolder">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveNewPlusFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveFolderNewPlusAssetsFolder" Directory="NewPlusAssetsInstallFolder" On="uninstall" />
</Component>
<ComponentRef Id="NewPlus_ShellExtension_win10" />
<ComponentRef Id="NewPlusAssetsFiles_Component" />
<ComponentRef Id="NewPlusAssetsFiles_Component" />
<ComponentRef Id="NewPlusAssetsFiles_Component" />
<ComponentRef Id="NewPlusAssetsFiles_Component" />
</ComponentGroup>
<!-- Example templates -->
<DirectoryRef Id="WinUI3AppsAssetsFolder">
<Directory Id="NewPlusInstallFolder" Name="NewPlus">
<Directory Id="NewPlusTemplatesInstallFolder" Name="Templates">
<Directory Id="NewPlusTemplatesSubInstallFolder" Name="Example folder" />
</Directory>
</Directory>
</DirectoryRef>
<DirectoryRef Id="NewPlusTemplatesInstallFolder" FileSource="$(var.NewPlusTemplateFilesPath)">
<Component Id="NewPlusTemplateFiles_Component" Guid="39264075-4B7F-40E3-A76F-21E68576D43E" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="NewPlusTemplateFiles_Component" Value="" KeyPath="yes" />
</RegistryKey>
<File Id="NewPlusTemplateFiles_File_1.md" Source="$(var.NewPlusTemplateFilesPath)Any files or folders placed in the template folder are available via New+.txt" />
</Component>
</DirectoryRef>
<DirectoryRef Id="NewPlusTemplatesSubInstallFolder" FileSource="$(var.NewPlusTemplateSubFilesPath)">
<Component Id="NewPlusTemplateSubFiles_Component" Guid="7618E61C-CCB8-492F-B284-E1AE2954AF0B" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="NewPlusTemplateSubFiles_Component" Value="" KeyPath="yes" />
</RegistryKey>
<File Id="NewPlusTemplateSubFiles_File_1.md" Source="$(var.NewPlusTemplateSubFilesPath)Example txt file.txt" />
<File Id="NewPlusTemplateSubFiles_File_2.md" Source="$(var.NewPlusTemplateSubFilesPath)Another example txt file.txt" />
</Component>
</DirectoryRef>
<ComponentGroup Id="NewPlusTemplatesComponentGroup">
<Component Id="RemoveNewPlusTemplateFolder" Guid="3E9B15CA-A50C-42DA-977F-5E9914562FE7" Directory="NewPlusInstallFolder">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveNewPlusTemplateFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveFolderNewPlusInstallFolder" Directory="NewPlusInstallFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderNewPlusTemplatesInstallFolder" Directory="NewPlusTemplatesInstallFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderNewPlusTemplatesSubInstallFolder" Directory="NewPlusTemplatesSubInstallFolder" On="uninstall" />
</Component>
<ComponentRef Id="NewPlusTemplateFiles_Component" />
<ComponentRef Id="NewPlusTemplateSubFiles_Component" />
<ComponentRef Id="NewPlusAssetsFiles_Component" />
<ComponentRef Id="NewPlusAssetsFiles_Component" />
<ComponentRef Id="NewPlusAssetsFiles_Component" />
<ComponentRef Id="NewPlusAssetsFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,38 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define PeekAssetsFiles=AppList.scale-100.png;AppList.scale-125.png;AppList.scale-150.png;AppList.scale-200.png;AppList.scale-400.png;DefaultFileIcon.svg;Icon.icoAppList.scale-100.png;AppList.scale-125.png;AppList.scale-150.png;AppList.scale-200.png;AppList.scale-400.png;DefaultFileIcon.svg;Icon.icoAppList.scale-100.png;AppList.scale-125.png;AppList.scale-150.png;AppList.scale-200.png;AppList.scale-400.png;DefaultFileIcon.svg;Icon.ico?>
<?define PeekAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\Peek\?>
<Fragment>
<DirectoryRef Id="WinUI3AppsAssetsFolder">
<Directory Id="PeekAssetsFolder" Name="Peek" />
</DirectoryRef>
<DirectoryRef Id="PeekAssetsFolder" FileSource="$(var.PeekAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="PeekAssetsFiles_Component" Win64="yes" Guid="2CF45FF9-D53E-4687-B8C6-5F42D486B3BF">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="PeekAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="PeekAssetsFiles_File_" Source="$(var.PeekAssetsFilesPath)\" />
</Component>
</DirectoryRef>
<ComponentGroup Id="PeekComponentGroup">
<Component Id="RemovePeekFolder" Guid="EF9422D7-FF0A-4887-968A-E61B53ACD23A" Directory="PeekAssetsFolder">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemovePeekFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveFolderPeekAssetsFolder" Directory="PeekAssetsFolder" On="uninstall" />
</Component>
<ComponentRef Id="PeekAssetsFiles_Component" />
<ComponentRef Id="PeekAssetsFiles_Component" />
<ComponentRef Id="PeekAssetsFiles_Component" />
<ComponentRef Id="PeekAssetsFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,55 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define PowerRenameAssetsFiles=file.png;folder.png;LargeTile.png;PowerRenameUI.ico;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;storelogo.png;Wide310x150Logo.pngfile.png;folder.png;LargeTile.png;PowerRenameUI.ico;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;storelogo.png;Wide310x150Logo.pngfile.png;folder.png;LargeTile.png;PowerRenameUI.ico;SmallTile.png;SplashScreen.png;Square150x150Logo.png;Square44x44Logo.png;storelogo.png;Wide310x150Logo.png?>
<?define PowerRenameAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\PowerRename\?>
<Fragment>
<DirectoryRef Id="WinUI3AppsAssetsFolder">
<Directory Id="PowerRenameAssetsFolder" Name="PowerRename" />
</DirectoryRef>
<DirectoryRef Id="PowerRenameAssetsFolder" FileSource="$(var.PowerRenameAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="PowerRenameAssetsFiles_Component" Win64="yes" Guid="2283E306-7311-40A6-9629-487FDB35B2CB">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="PowerRenameAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="PowerRenameAssetsFiles_File_" Source="$(var.PowerRenameAssetsFilesPath)\" />
</Component>
<!-- !Warning! Make sure to change Component Guid if you update something here -->
<Component Id="Module_PowerRename" Guid="40D43079-240E-402D-8CE8-571BFFA71175" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\CLSID\{0440049F-D1DC-4E46-B27B-98393D79486B}">
<RegistryValue Type="string" Value="PowerRename Shell Extension" />
<RegistryValue Type="string" Name="ContextMenuOptIn" Value="" />
<RegistryValue Type="string" Key="InprocServer32" Value="[WinUI3AppsInstallFolder]PowerToys.PowerRenameExt.dll" />
<RegistryValue Type="string" Key="InprocServer32" Name="ThreadingModel" Value="Apartment" />
</RegistryKey>
<RegistryKey Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\AllFileSystemObjects\ShellEx\ContextMenuHandlers\PowerRenameExt">
<RegistryValue Type="string" Value="{0440049F-D1DC-4E46-B27B-98393D79486B}" />
</RegistryKey>
<RegistryKey Root="$(var.RegistryScope)" Key="SOFTWARE\Classes\Directory\background\ShellEx\ContextMenuHandlers\PowerRenameExt">
<RegistryValue Type="string" Value="{0440049F-D1DC-4E46-B27B-98393D79486B}" />
</RegistryKey>
</Component>
</DirectoryRef>
<ComponentGroup Id="PowerRenameComponentGroup">
<Component Id="RemovePowerRenameFolder" Guid="2028549B-02E3-4D80-BC3F-59AEA37AC73D" Directory="PowerRenameAssetsFolder">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemovePowerRenameFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveFolderPowerRenameAssetsFolder" Directory="PowerRenameAssetsFolder" On="uninstall" />
</Component>
<ComponentRef Id="Module_PowerRename" />
<ComponentRef Id="PowerRenameAssetsFiles_Component" />
<ComponentRef Id="PowerRenameAssetsFiles_Component" />
<ComponentRef Id="PowerRenameAssetsFiles_Component" />
<ComponentRef Id="PowerRenameAssetsFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,56 @@
<?define UpgradeCode="6341382d-c0a9-4238-9188-be9607e3fab2"?>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<Bundle Name="PowerToys (Preview) $(var.PowerToysPlatform)" Version="$(var.Version)" Manufacturer="Microsoft Corporation" IconSourceFile="$(var.BinDir)svgs\icon.ico" UpgradeCode="$(var.UpgradeCode)">
<BootstrapperApplication>
<bal:WixStandardBootstrapperApplication LicenseFile="$(var.RepoDir)\installer\License.rtf" LogoFile="$(var.RepoDir)\installer\PowerToysSetup\Images\logo44.png" SuppressOptionsUI="no" SuppressRepair="yes" Theme="rtfLicense" />
</BootstrapperApplication>
<util:RegistrySearch Variable="HasWebView2PerMachine" Root="HKLM" Key="SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" Result="exists" />
<util:RegistrySearch Variable="HasWebView2PerUser" Root="HKCU" Key="Software\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" Result="exists" />
<?if $(var.PerUser) = "true" ?>
<Variable Name="InstallFolder" Type="formatted" Value="[LocalAppDataFolder]PowerToys" bal:Overridable="yes" />
<?else?>
<Variable Name="InstallFolder" Type="formatted" Value="$(var.PlatformProgramFiles)PowerToys" bal:Overridable="yes" />
<?endif?>
<Variable Name="MsiLogFolder" Type="formatted" Value="[LocalAppDataFolder]\Microsoft\PowerToys\" />
<Log Disable="no" Prefix="powertoys-bootstrapper-msi-$(var.Version)" Extension=".log" />
<!-- Only install/upgrade if the version is greater or equal than the currently installed version of PowerToys, to handle the case in which PowerToys was installed from old MSI (before WiX bootstrapper was used) -->
<!-- If the previous installation is a bundle installation, just let WiX run its logic. -->
<Variable Name="MinimumVersion" Type="version" Value="0.0.0.0" />
<Variable Name="TargetPowerToysVersion" Type="version" Value="$(var.Version)" />
<Variable Name="DetectedPowerToysVersion" Type="version" Value="0.0.0.0" />
<Variable Name="DetectedPowerToysUserVersion" Type="version" Value="0.0.0.0" />
<util:ProductSearch Id="SearchInstalledPowerToysVersion" Variable="DetectedPowerToysVersion" UpgradeCode="42B84BF7-5FBF-473B-9C8B-049DC16F7708" Result="version" />
<util:ProductSearch Id="SearchInstalledPowerToysUserVersion" Variable="DetectedPowerToysUserVersion" UpgradeCode="D8B559DB-4C98-487A-A33F-50A8EEE42726" Result="version" />
<?if $(var.PerUser) = "true" ?>
<bal:Condition Message="PowerToys is already installed on this system for all users. We recommend first uninstalling that version before installing this one." Condition="MinimumVersion &gt;= DetectedPowerToysVersion" />
<bal:Condition Message="The same or later version of PowerToys is already installed." Condition="TargetPowerToysVersion &gt;= DetectedPowerToysUserVersion OR WixBundleInstalled" />
<?else?>
<bal:Condition Message="PowerToys is already installed on this system for current user. We recommend first uninstalling that version before installing this one." Condition="MinimumVersion &gt;= DetectedPowerToysUserVersion" />
<bal:Condition Message="A later version of PowerToys is already installed." Condition="TargetPowerToysVersion &gt;= DetectedPowerToysVersion OR WixBundleInstalled" />
<?endif?>
<Variable Name="DetectedWindowsBuildNumber" Type="version" Value="0" />
<util:RegistrySearch Id="SearchWindowsBuildNumber" Root="HKLM" Key="SOFTWARE\Microsoft\Windows NT\CurrentVersion" Value="CurrentBuildNumber" Result="value" Variable="DetectedWindowsBuildNumber" />
<bal:Condition Message="This application is only supported on Windows 10 version v2004 (build 19041) or higher." Condition="DetectedWindowsBuildNumber &gt;= 19041 OR WixBundleInstalled" />
<Chain>
<ExePackage DisplayName="Closing PowerToys application" Name="terminate_powertoys.cmd" Cache="remove" Compressed="yes" Id="TerminatePowerToys" SourceFile="terminate_powertoys.cmd" Permanent="yes" PerMachine="$(var.PerMachineYesNo)" Vital="no">
</ExePackage>
<ExePackage DisplayName="Microsoft Edge WebView2" Name="MicrosoftEdgeWebview2Setup.exe" Compressed="yes" Id="WebView2" DetectCondition="HasWebView2PerMachine OR HasWebView2PerUser" SourceFile="WebView2\MicrosoftEdgeWebview2Setup.exe" Permanent="yes" PerMachine="$(var.PerMachineYesNo)" InstallArguments="/silent /install" RepairArguments="/repair /passive" UninstallArguments="/silent /uninstall">
</ExePackage>
<MsiPackage DisplayName="PowerToys MSI" SourceFile="$(var.PowerToysPlatform)\Release\$(var.MSIPath)\$(var.MSIName)" Compressed="yes" >
<MsiProperty Name="BOOTSTRAPPERINSTALLFOLDER" Value="[InstallFolder]" />
</MsiPackage>
</Chain>
</Bundle>
</Wix>

View File

@@ -0,0 +1,47 @@
<Project Sdk="WixToolset.Sdk/5.0.2">
<PropertyGroup>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup>
<PropertyGroup>
<DefineConstants>Version=$(Version)</DefineConstants>
<Name>PowerToysVNextBootstrapper</Name>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition=" '$(PerUser)' == 'true' ">
<DefineConstants>$(DefineConstants);PerUser=true</DefineConstants>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition=" '$(PerUser)' != 'true' ">
<DefineConstants>$(DefineConstants);PerUser=false</DefineConstants>
</PropertyGroup>
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform Condition="'$(Platform)'=='x64'">x64</Platform>
<Platform Condition="'$(Platform)'!='x64'">arm64</Platform>
<OutputName>PowerToysSetup-$(Version)-$(Platform)</OutputName>
<OutputType>Bundle</OutputType>
<SuppressAclReset>True</SuppressAclReset>
<OutputName Condition=" '$(PerUser)' != 'true' ">PowerToysSetup-$(Version)-$(Platform)</OutputName>
<OutputName Condition=" '$(PerUser)' == 'true' ">PowerToysUserSetup-$(Version)-$(Platform)</OutputName>
<OutputPath Condition=" '$(PerUser)' != 'true' ">$(Platform)\$(Configuration)\MachineSetup</OutputPath>
<OutputPath Condition=" '$(PerUser)' == 'true' ">$(Platform)\$(Configuration)\UserSetup</OutputPath>
<IntermediateOutputPath>obj\$(Platform)\$(Configuration)\</IntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
<Compile Include="PowerToys.wxs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="WixToolset.Util.wixext" />
<PackageReference Include="WixToolset.UI.wixext" />
<PackageReference Include="WixToolset.NetFx.wixext" />
<PackageReference Include="WixToolset.Bal.wixext" />
</ItemGroup>
<ItemGroup>
<Folder Include="CustomDialogs" />
</ItemGroup>
<!-- Prevents NU1503 -->
<Target Name="_IsProjectRestoreSupported" Returns="@(_ValidProjectsForRestore)">
<ItemGroup>
<_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" />
</ItemGroup>
</Target>
<Target Name="Restore" />
</Project>

View File

@@ -0,0 +1,123 @@
<Project Sdk="WixToolset.Sdk/5.0.2">
<PropertyGroup>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup>
<PropertyGroup Condition="'$(Platform)' == 'x64'">
<DefineConstants>Version=$(Version);MonacoSRCHarvestPath=$(ProjectDir)..\..\x64\$(Configuration)\Assets\Monaco\monacoSRC</DefineConstants>
<!-- THIS IS AN INNER LOOP OPTIMIZATION
The build pipeline builds the Settings and Launcher projects for Publication
using a specific profile. If you're doing local installer builds, this will
simulate the build pipeline doing that for you. -->
</PropertyGroup>
<PropertyGroup Condition="'$(Platform)' != 'x64'">
<DefineConstants>Version=$(Version);MonacoSRCHarvestPath=$(ProjectDir)..\..\ARM64\$(Configuration)\Assets\Monaco\monacoSRC</DefineConstants>
<PreBuildEvent>IF NOT DEFINED IsPipeline (
call "$([MSBuild]::GetVsInstallRoot())\Common7\Tools\VsDevCmd.bat" -arch=arm64 -host_arch=amd64 -winsdk=10.0.19041.0 -vcvars_ver=$(VCToolsVersion)
SET PTRoot=$(SolutionDir)\..
call "..\..\..\publish.cmd" arm64
)
call powershell.exe -NonInteractive -executionpolicy Unrestricted -File $(MSBuildThisFileDirectory)\generateMonacoWxs.ps1 -monacoWxsFile "$(MSBuildThisFileDirectory)\MonacoSRC.wxs"
</PreBuildEvent>
</PropertyGroup>
<PropertyGroup>
<RunPostBuildEvent>Always</RunPostBuildEvent>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition=" '$(PerUser)' == 'true' ">
<DefineConstants>$(DefineConstants);PerUser=true</DefineConstants>
</PropertyGroup>
<PropertyGroup Label="UserMacros" Condition=" '$(PerUser)' != 'true' ">
<DefineConstants>$(DefineConstants);PerUser=false</DefineConstants>
</PropertyGroup>
<PropertyGroup>
<Name>PowerToysVNextInstaller</Name>
<!-- We do not support debug installer builds -->
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<Platform>$(Platform)</Platform>
<OutputName Condition=" '$(PerUser)' != 'true' ">PowerToysSetup-$(Version)-$(Platform)</OutputName>
<OutputName Condition=" '$(PerUser)' == 'true' ">PowerToysUserSetup-$(Version)-$(Platform)</OutputName>
<SuppressAclReset>True</SuppressAclReset>
<!-- 1076 and ICE91 - warning: using this configuration for perMachine install could cause problems. -->
<!-- 1026 - warning: file ID is too long -->
<SuppressIces>ICE91</SuppressIces>
<SuppressSpecificWarnings>1026;1076</SuppressSpecificWarnings>
</PropertyGroup>
<PropertyGroup>
<OutputPath Condition=" '$(PerUser)' != 'true' ">$(Platform)\$(Configuration)\MachineSetup</OutputPath>
<OutputPath Condition=" '$(PerUser)' == 'true' ">$(Platform)\$(Configuration)\UserSetup</OutputPath>
<IntermediateOutputPath Condition=" '$(PerUser)' != 'true' ">obj\$(Platform)\$(Configuration)\MachineSetup</IntermediateOutputPath>
<IntermediateOutputPath Condition=" '$(PerUser)' == 'true' ">obj\$(Platform)\$(Configuration)\UserSetup</IntermediateOutputPath>
<SuppressIces>ICE40</SuppressIces>
</PropertyGroup>
<PropertyGroup>
<!-- suppress warning 1108 regarding -sh being deprecated -->
<!-- -sh suppresses file information which was causing wix build to hang in CI -->
<LinkerAdditionalOptions>-v -sh -sw1108</LinkerAdditionalOptions>
</PropertyGroup>
<ItemGroup>
<Compile Include="CustomDialogs\PTInstallDirDlg.wxs" />
<Compile Include="CustomDialogs\PTLicenseDlg.wxs" />
<Compile Include="CustomDialogs\WixUI_PTInstallDir.wxs" />
<Compile Include="NewPlus.wxs" />
<Compile Include="Product.wxs" />
<Compile Include="AdvancedPaste.wxs" />
<Compile Include="Awake.wxs" />
<Compile Include="BaseApplications.wxs" />
<Compile Include="ColorPicker.wxs" />
<Compile Include="EnvironmentVariables.wxs" />
<Compile Include="FileExplorerPreview.wxs" />
<Compile Include="FileLocksmith.wxs" />
<Compile Include="Hosts.wxs" />
<Compile Include="ImageResizer.wxs" />
<Compile Include="KeyboardManager.wxs" />
<Compile Include="Peek.wxs" />
<Compile Include="PowerRename.wxs" />
<Compile Include="RegistryPreview.wxs" />
<Compile Include="Run.wxs" />
<Compile Include="Settings.wxs" />
<Compile Include="ShortcutGuide.wxs" />
<Compile Include="Tools.wxs" />
<Compile Include="MouseWithoutBorders.wxs" />
<Compile Include="WinUI3Applications.wxs" />
<Compile Include="MonacoSRC.wxs" />
<Compile Include="Core.wxs" />
<Compile Include="Resources.wxs" />
<Compile Include="WinAppSDK.wxs" />
<Compile Include="Workspaces.wxs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="WixToolset.Firewall.wixext" />
<PackageReference Include="WixToolset.Util.wixext" />
<PackageReference Include="WixToolset.UI.wixext" />
<PackageReference Include="WixToolset.NetFx.wixext" />
<PackageReference Include="WixToolset.Heat" />
</ItemGroup>
<ItemGroup>
<Folder Include="CustomDialogs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\PowerToysSetupCustomActions\PowerToysSetupCustomActions.vcxproj">
<Name>PowerToysSetupCustomActions</Name>
<Project>{32f3882b-f2d6-4586-b5ed-11e39e522bd3}</Project>
<Private>True</Private>
<DoNotHarvest>True</DoNotHarvest>
<RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
<RefTargetDir>INSTALLFOLDER</RefTargetDir>
</ProjectReference>
</ItemGroup>
<!-- Prevents NU1503 -->
<Target Name="_IsProjectRestoreSupported" Returns="@(_ValidProjectsForRestore)">
<ItemGroup>
<_ValidProjectsForRestore Include="$(MSBuildProjectFullPath)" />
</ItemGroup>
</Target>
<Target Name="Restore" />
<Target Name="BeforeBuild">
<HeatDirectory Directory="..\..\src\Monaco\monacoSRC" PreprocessorVariable="var.MonacoSRCHarvestPath" OutputFile="MonacoSRC.wxs" ComponentGroupName="MonacoSRCHeatGenerated" DirectoryRefId="MonacoPreviewHandlerMonacoSRCFolder" AutogenerateGuids="false" GenerateGuidsNow="true" ToolPath="$(WixToolPath)" SuppressFragments="false" SuppressRegistry="false" SuppressRootDirectory="true" />
</Target>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="IF NOT DEFINED IsPipeline (&#xA;call &quot;$([MSBuild]::GetVsInstallRoot())\Common7\Tools\VsDevCmd.bat&quot; -arch=amd64 -host_arch=amd64 -winsdk=10.0.19041.0 -vcvars_ver=$(VCToolsVersion)&#xA;SET PTRoot=$(SolutionDir)\..&#xA;call &quot;..\..\..\publish.cmd&quot; x64&#xA;)&#xA;call powershell.exe -NonInteractive -executionpolicy Unrestricted -File $(MSBuildThisFileDirectory)\generateMonacoWxs.ps1 -monacoWxsFile &quot;$(MSBuildThisFileDirectory)\MonacoSRC.wxs&quot;&#xA; " />
</Target>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="&#xA; call move /Y ..\..\..\AdvancedPaste.wxs.bk ..\..\..\AdvancedPaste.wxs&#xA; call move /Y ..\..\..\Awake.wxs.bk ..\..\..\Awake.wxs&#xA; call move /Y ..\..\..\BaseApplications.wxs.bk ..\..\..\BaseApplications.wxs&#xA; call move /Y ..\..\..\ColorPicker.wxs.bk ..\..\..\ColorPicker.wxs&#xA; call move /Y ..\..\..\Core.wxs.bk ..\..\..\Core.wxs&#xA; call move /Y ..\..\..\EnvironmentVariables.wxs.bk ..\..\..\EnvironmentVariables.wxs&#xA; call move /Y ..\..\..\FileExplorerPreview.wxs.bk ..\..\..\FileExplorerPreview.wxs&#xA; call move /Y ..\..\..\FileLocksmith.wxs.bk ..\..\..\FileLocksmith.wxs&#xA; call move /Y ..\..\..\Hosts.wxs.bk ..\..\..\Hosts.wxs&#xA; call move /Y ..\..\..\ImageResizer.wxs.bk ..\..\..\ImageResizer.wxs&#xA; call move /Y ..\..\..\KeyboardManager.wxs.bk ..\..\..\KeyboardManager.wxs&#xA; call move /Y ..\..\..\MouseWithoutBorders.wxs.bk ..\..\..\MouseWithoutBorders.wxs&#xA; call move /Y ..\..\..\NewPlus.wxs.bk ..\..\..\NewPlus.wxs&#xA; call move /Y ..\..\..\Peek.wxs.bk ..\..\..\Peek.wxs&#xA; call move /Y ..\..\..\PowerRename.wxs.bk ..\..\..\PowerRename.wxs&#xA; call move /Y ..\..\..\Product.wxs.bk ..\..\..\Product.wxs&#xA; call move /Y ..\..\..\RegistryPreview.wxs.bk ..\..\..\RegistryPreview.wxs&#xA; call move /Y ..\..\..\Resources.wxs.bk ..\..\..\Resources.wxs&#xA; call move /Y ..\..\..\Run.wxs.bk ..\..\..\Run.wxs&#xA; call move /Y ..\..\..\Settings.wxs.bk ..\..\..\Settings.wxs&#xA; call move /Y ..\..\..\ShortcutGuide.wxs.bk ..\..\..\ShortcutGuide.wxs&#xA; call move /Y ..\..\..\Tools.wxs.bk ..\..\..\Tools.wxs&#xA; call move /Y ..\..\..\WinAppSDK.wxs.bk ..\..\..\WinAppSDK.wxs&#xA; call move /Y ..\..\..\WinUI3Applications.wxs.bk ..\..\..\WinUI3Applications.wxs&#xA; call move /Y ..\..\..\Workspaces.wxs.bk ..\..\..\Workspaces.wxs&#xA; " />
</Target>
</Project>

View File

@@ -0,0 +1,257 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util" xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<!-- WiX Components with multiple files cause issues due to the way Windows installs them.
Windows decides whether to install a component by checking the existence of KeyPath file and its version.
Thus, if some files were updated but KeyPath file was not, the component wouldn't be updated.
Some resource files, e.g. images, do not have version, so even if Component has only a single image and a static GUID, it won't be updated.
Considering all of the above, it's much simpler to just have one file per Component with an implicit Guid.
More info:
- https://stackoverflow.com/a/1604348/657390
- https://stackoverflow.com/a/1422121/657390
- https://robmensching.com/blog/posts/2003/10/18/component-rules-101/
- https://robmensching.com/blog/posts/2003/10/4/windows-installer-components-introduction/
-->
<Package Name="PowerToys (Preview)" Language="1033" Version="$(var.Version)" Manufacturer="Microsoft Corporation" UpgradeCode="$(var.UpgradeCodeGUID)" Scope="$(var.InstallScope)">
<MajorUpgrade DowngradeErrorMessage="A later version of [ProductName] is already installed." />
<Upgrade Id="$(var.UpgradeCodeGUID)">
<UpgradeVersion Minimum="0.0.0" Maximum="$(var.Version)" Property="PREVIOUSVERSIONSINSTALLED" IncludeMinimum="yes" IncludeMaximum="no" />
</Upgrade>
<MediaTemplate EmbedCab="yes" />
<Property Id="REINSTALLMODE" Value="amus" />
<Property Id="WINDOWSBUILDNUMBER" Secure="yes">
<RegistrySearch Id="BuildNumberSearch" Root="HKLM" Key="SOFTWARE\Microsoft\Windows NT\CurrentVersion" Name="CurrentBuildNumber" Type="raw" />
</Property>
<Launch Condition="(WINDOWSBUILDNUMBER &gt;= 19041)" Message="This application is only supported on Windows 10 version v2004 (build 19041) or higher." />
<Icon Id="powertoys.exe" SourceFile="$(var.BinDir)svgs\icon.ico" />
<Property Id="ARPPRODUCTICON" Value="powertoys.exe" />
<Feature Id="CoreFeature" Title="PowerToys" AllowAdvertise="no" TypicalDefault="install" Description="Contains all PowerToys features." AllowAbsent="no">
<ComponentGroupRef Id="CoreComponents" />
<ComponentGroupRef Id="BaseApplicationsComponentGroup" />
<ComponentGroupRef Id="WinUI3ApplicationsComponentGroup" />
<ComponentGroupRef Id="AwakeComponentGroup" />
<ComponentGroupRef Id="ColorPickerComponentGroup" />
<ComponentGroupRef Id="FileExplorerPreviewComponentGroup" />
<ComponentGroupRef Id="FileLocksmithComponentGroup" />
<ComponentGroupRef Id="HostsComponentGroup" />
<ComponentGroupRef Id="ImageResizerComponentGroup" />
<ComponentGroupRef Id="KeyboardManagerComponentGroup" />
<ComponentGroupRef Id="PeekComponentGroup" />
<ComponentGroupRef Id="PowerRenameComponentGroup" />
<ComponentGroupRef Id="RegistryPreviewComponentGroup" />
<ComponentGroupRef Id="RunComponentGroup" />
<ComponentGroupRef Id="SettingsComponentGroup" />
<ComponentGroupRef Id="ShortcutGuideComponentGroup" />
<ComponentGroupRef Id="MouseWithoutBordersComponentGroup" />
<ComponentGroupRef Id="EnvironmentVariablesComponentGroup" />
<ComponentGroupRef Id="AdvancedPasteComponentGroup" />
<ComponentGroupRef Id="NewPlusComponentGroup" />
<ComponentGroupRef Id="NewPlusTemplatesComponentGroup" />
<ComponentGroupRef Id="ResourcesComponentGroup" />
<ComponentGroupRef Id="WindowsAppSDKComponentGroup" />
<ComponentGroupRef Id="ToolComponentGroup" />
<ComponentGroupRef Id="MonacoSRCHeatGenerated" />
<ComponentGroupRef Id="WorkspacesComponentGroup" />
</Feature>
<SetProperty Id="ARPINSTALLLOCATION" Value="[INSTALLFOLDER]" After="CostFinalize" />
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
<UI>
<ui:WixUI Id="WixUI_InstallDir" />
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg" Order="99" />
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="99" />
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Condition="NOT Installed" />
<Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Property="_REMOVE_ALL" Value="Yes" />
<Publish Dialog="UserExit" Control="Finish" Event="DoAction" Value="TelemetryLogInstallCancel" Condition="NOT Installed" />
<Publish Dialog="FatalError" Control="Finish" Event="DoAction" Value="TelemetryLogInstallFail" Condition="NOT Installed" />
<Publish Dialog="UserExit" Control="Finish" Event="DoAction" Value="TelemetryLogUninstallCancel" Condition="Installed AND _REMOVE_ALL=&quot;Yes&quot;" />
<Publish Dialog="FatalError" Control="Finish" Event="DoAction" Value="TelemetryLogUninstallFail" Condition="Installed AND _REMOVE_ALL=&quot;Yes&quot;" />
<Publish Dialog="UserExit" Control="Finish" Event="DoAction" Value="TelemetryLogRepairCancel" Condition="Installed AND NOT (_REMOVE_ALL=&quot;Yes&quot;)" />
<Publish Dialog="FatalError" Control="Finish" Event="DoAction" Value="TelemetryLogRepairFail" Condition="Installed AND NOT (_REMOVE_ALL=&quot;Yes&quot;)" />
</UI>
<WixVariable Id="WixUIBannerBmp" Value="$(var.ProjectDir)\Images\banner.png" />
<WixVariable Id="WixUIDialogBmp" Value="$(var.ProjectDir)\Images\dialog.png" />
<WixVariable Id="WixUILicenseRtf" Value="$(var.RepoDir)\installer\License.rtf" />
<Property Id="INSTALLSTARTMENUSHORTCUT" Value="1" />
<Property Id="WixShellExecTarget" Value="[#PowerToys_ActionRunner.exe]" />
<SetProperty Action="SetDEFAULTBOOTSTRAPPERINSTALLFOLDER" Id="DEFAULTBOOTSTRAPPERINSTALLFOLDER" Value="[$(var.DefaultInstallDir)]PowerToys" Before="SetBOOTSTRAPPERINSTALLFOLDER" Sequence="execute"></SetProperty>
<!-- In case we didn't receive a value from the bootstrapper. -->
<SetProperty Action="SetBOOTSTRAPPERINSTALLFOLDER" Id="BOOTSTRAPPERINSTALLFOLDER" Value="[DEFAULTBOOTSTRAPPERINSTALLFOLDER]" Before="DetectPrevInstallPath" Sequence="execute" Condition="BOOTSTRAPPERINSTALLFOLDER = &quot;&quot;" />
<!-- Have to compare value sent by bootstrapper to default to avoid using it, as a check to verify it's not default. This hack can be removed if it's possible to set the bootstrapper option to the previous install folder-->
<SetProperty Action="SetINSTALLFOLDERTOPREVIOUSINSTALLFOLDER" Id="INSTALLFOLDER" Value="[PREVIOUSINSTALLFOLDER]" After="DetectPrevInstallPath" Sequence="execute" Condition="BOOTSTRAPPERINSTALLFOLDER = DEFAULTBOOTSTRAPPERINSTALLFOLDER AND PREVIOUSINSTALLFOLDER &lt;&gt; &quot;&quot;" />
<SetProperty Action="SetINSTALLFOLDERTOBOOTSTRAPPERINSTALLFOLDER" Id="INSTALLFOLDER" Value="[BOOTSTRAPPERINSTALLFOLDER]" After="DetectPrevInstallPath" Sequence="execute" Condition="BOOTSTRAPPERINSTALLFOLDER &lt;&gt; DEFAULTBOOTSTRAPPERINSTALLFOLDER OR PREVIOUSINSTALLFOLDER = &quot;&quot;" />
<SetProperty Id="InstallScope" Value="$(var.InstallScope)" Before="DetectPrevInstallPath" Sequence="execute"></SetProperty>
<InstallExecuteSequence>
<Custom Action="DetectPrevInstallPath" After="AppSearch" />
<Custom Action="SetLaunchPowerToysParam" Before="LaunchPowerToys" />
<Custom Action="SetUninstallCommandNotFoundParam" Before="UninstallCommandNotFound" />
<Custom Action="SetUpgradeCommandNotFoundParam" Before="UpgradeCommandNotFound" />
<Custom Action="SetApplyModulesRegistryChangeSetsParam" Before="ApplyModulesRegistryChangeSets" />
<?if $(var.PerUser) = "true" ?>
<Custom Action="SetInstallDSCModuleParam" Before="InstallDSCModule" />
<?endif?>
<Custom Action="SetUnApplyModulesRegistryChangeSetsParam" Before="UnApplyModulesRegistryChangeSets" />
<Custom Action="CheckGPO" After="InstallInitialize" Condition="NOT Installed" />
<Custom Action="ApplyModulesRegistryChangeSets" After="InstallFiles" Condition="NOT Installed" />
<Custom Action="WixCloseApplications_x64" Before="RemoveFiles" />
<Custom Action="RemovePowerToysSchTasks" After="RemoveFiles" />
<!-- TODO: Use to activate embedded MSIX -->
<!--<Custom Action="InstallEmbeddedMSIXTask" After="InstallFinalize">
NOT Installed
</Custom>-->
<?if $(var.PerUser) = "true" ?>
<Custom Action="InstallDSCModule" After="InstallFiles" />
<?endif?>
<Custom Action="TelemetryLogInstallSuccess" After="InstallFinalize" Condition="NOT Installed" />
<Custom Action="TelemetryLogUninstallSuccess" After="InstallFinalize" Condition="Installed and (NOT UPGRADINGPRODUCTCODE) AND (REMOVE=&quot;ALL&quot;)" />
<Custom Action="UnApplyModulesRegistryChangeSets" Before="RemoveFiles" Condition="Installed AND (REMOVE=&quot;ALL&quot;)" />
<Custom Action="UnRegisterContextMenuPackages" Before="RemoveFiles" Condition="Installed AND (REMOVE=&quot;ALL&quot;)" />
<Custom Action="UnsetAdvancedPasteAPIKey" Before="RemoveFiles" Condition="Installed AND (NOT UPGRADINGPRODUCTCODE) AND (REMOVE=&quot;ALL&quot;)" />
<Custom Action="UninstallCommandNotFound" Before="RemoveFiles" Condition="Installed AND (NOT UPGRADINGPRODUCTCODE) AND (REMOVE=&quot;ALL&quot;)" />
<Custom Action="UpgradeCommandNotFound" After="InstallFiles" Condition="WIX_UPGRADE_DETECTED" />
<Custom Action="UninstallServicesTask" After="InstallFinalize" Condition="Installed AND (NOT UPGRADINGPRODUCTCODE) AND (REMOVE=&quot;ALL&quot;)" />
<!-- TODO: Use to activate embedded MSIX -->
<!--<Custom Action="UninstallEmbeddedMSIXTask" After="InstallFinalize">
Installed AND (REMOVE="ALL")
</Custom>-->
<?if $(var.PerUser) = "true" ?>
<Custom Action="UninstallDSCModule" After="InstallFinalize" Condition="Installed AND (REMOVE=&quot;ALL&quot;)" />
<?endif?>
<Custom Action="TerminateProcesses" Before="InstallValidate" />
<Custom Action="LaunchPowerToys" Before="InstallFinalize" Condition="NOT Installed" />
<!-- Clean Video Conference Mute registry keys that might be around from previous installations. We've deprecated this utility since then. -->
<Custom Action="CleanVideoConferenceRegistry" Before="InstallFinalize" Condition="NOT Installed" />
</InstallExecuteSequence>
<CustomAction Id="SetLaunchPowerToysParam" Property="LaunchPowerToys" Value="[INSTALLFOLDER]" />
<CustomAction Id="LaunchPowerToys" Return="ignore" Impersonate="yes" Execute="deferred" DllEntry="LaunchPowerToysCA" BinaryRef="PTCustomActions" />
<CustomAction Id="TerminateProcesses" Return="ignore" Execute="immediate" DllEntry="TerminateProcessesCA" BinaryRef="PTCustomActions" />
<CustomAction Id="SetApplyModulesRegistryChangeSetsParam" Property="ApplyModulesRegistryChangeSets" Value="[INSTALLFOLDER]" />
<CustomAction Id="SetUnApplyModulesRegistryChangeSetsParam" Property="UnApplyModulesRegistryChangeSets" Value="[INSTALLFOLDER]" />
<CustomAction Id="SetInstallDSCModuleParam" Property="InstallDSCModule" Value="[INSTALLFOLDER]" />
<CustomAction Id="SetUninstallCommandNotFoundParam" Property="UninstallCommandNotFound" Value="[INSTALLFOLDER]" />
<CustomAction Id="SetUpgradeCommandNotFoundParam" Property="UpgradeCommandNotFound" Value="[INSTALLFOLDER]" />
<CustomAction Id="SetCreateWinAppSDKHardlinksParam" Property="CreateWinAppSDKHardlinks" Value="[INSTALLFOLDER]" />
<CustomAction Id="SetDeleteWinAppSDKHardlinksParam" Property="DeleteWinAppSDKHardlinks" Value="[INSTALLFOLDER]" />
<CustomAction Id="SetCreatePTInteropHardlinksParam" Property="CreatePTInteropHardlinks" Value="[INSTALLFOLDER]" />
<CustomAction Id="SetDeletePTInteropHardlinksParam" Property="DeletePTInteropHardlinks" Value="[INSTALLFOLDER]" />
<CustomAction Id="SetCreateDotnetRuntimeHardlinksParam" Property="CreateDotnetRuntimeHardlinks" Value="[INSTALLFOLDER]" />
<CustomAction Id="SetDeleteDotnetRuntimeHardlinksParam" Property="DeleteDotnetRuntimeHardlinks" Value="[INSTALLFOLDER]" />
<CustomAction Id="RemovePowerToysSchTasks" Return="ignore" Impersonate="no" Execute="deferred" DllEntry="RemoveScheduledTasksCA" BinaryRef="PTCustomActions" />
<CustomAction Id="InstallEmbeddedMSIXTask" Return="ignore" Impersonate="yes" DllEntry="InstallEmbeddedMSIXCA" BinaryRef="PTCustomActions" />
<CustomAction Id="UninstallEmbeddedMSIXTask" Return="ignore" Impersonate="yes" DllEntry="UninstallEmbeddedMSIXCA" BinaryRef="PTCustomActions" />
<CustomAction Id="InstallDSCModule" Return="ignore" Impersonate="yes" Execute="deferred" DllEntry="InstallDSCModuleCA" BinaryRef="PTCustomActions" />
<CustomAction Id="UninstallDSCModule" Return="ignore" Impersonate="yes" DllEntry="UninstallDSCModuleCA" BinaryRef="PTCustomActions" />
<CustomAction Id="UninstallServicesTask" Return="ignore" Impersonate="yes" DllEntry="UninstallServicesCA" BinaryRef="PTCustomActions" />
<CustomAction Id="UninstallCommandNotFound" Return="ignore" Impersonate="yes" Execute="deferred" DllEntry="UninstallCommandNotFoundModuleCA" BinaryRef="PTCustomActions" />
<CustomAction Id="UpgradeCommandNotFound" Return="ignore" Impersonate="yes" Execute="deferred" DllEntry="UpgradeCommandNotFoundModuleCA" BinaryRef="PTCustomActions" />
<CustomAction Id="UnsetAdvancedPasteAPIKey" Return="ignore" Impersonate="yes" Execute="deferred" DllEntry="UnsetAdvancedPasteAPIKeyCA" BinaryRef="PTCustomActions" />
<CustomAction Id="TelemetryLogInstallSuccess" Return="ignore" Impersonate="yes" DllEntry="TelemetryLogInstallSuccessCA" BinaryRef="PTCustomActions" />
<CustomAction Id="TelemetryLogInstallCancel" Return="ignore" Impersonate="yes" DllEntry="TelemetryLogInstallCancelCA" BinaryRef="PTCustomActions" />
<CustomAction Id="TelemetryLogInstallFail" Return="ignore" Impersonate="yes" DllEntry="TelemetryLogInstallFailCA" BinaryRef="PTCustomActions" />
<CustomAction Id="TelemetryLogUninstallSuccess" Return="ignore" Impersonate="yes" DllEntry="TelemetryLogUninstallSuccessCA" BinaryRef="PTCustomActions" />
<CustomAction Id="TelemetryLogUninstallCancel" Return="ignore" Impersonate="yes" DllEntry="TelemetryLogUninstallCancelCA" BinaryRef="PTCustomActions" />
<CustomAction Id="TelemetryLogUninstallFail" Return="ignore" Impersonate="yes" DllEntry="TelemetryLogUninstallFailCA" BinaryRef="PTCustomActions" />
<CustomAction Id="TelemetryLogRepairCancel" Return="ignore" Impersonate="yes" DllEntry="TelemetryLogRepairCancelCA" BinaryRef="PTCustomActions" />
<CustomAction Id="TelemetryLogRepairFail" Return="ignore" Impersonate="yes" DllEntry="TelemetryLogRepairFailCA" BinaryRef="PTCustomActions" />
<CustomAction Id="DetectPrevInstallPath" Return="check" Impersonate="yes" DllEntry="DetectPrevInstallPathCA" BinaryRef="PTCustomActions" />
<CustomAction Id="CleanVideoConferenceRegistry" Return="ignore" Impersonate="yes" Execute="deferred" DllEntry="CleanVideoConferenceRegistryCA" BinaryRef="PTCustomActions" />
<CustomAction Id="ApplyModulesRegistryChangeSets" Return="check" Impersonate="yes" Execute="deferred" DllEntry="ApplyModulesRegistryChangeSetsCA" BinaryRef="PTCustomActions" />
<CustomAction Id="UnApplyModulesRegistryChangeSets" Return="check" Impersonate="yes" Execute="deferred" DllEntry="UnApplyModulesRegistryChangeSetsCA" BinaryRef="PTCustomActions" />
<CustomAction Id="UnRegisterContextMenuPackages" Return="ignore" Impersonate="yes" Execute="deferred" DllEntry="UnRegisterContextMenuPackagesCA" BinaryRef="PTCustomActions" />
<CustomAction Id="CheckGPO" Return="check" Impersonate="yes" DllEntry="CheckGPOCA" BinaryRef="PTCustomActions" />
<!-- Close 'PowerToys.exe' before uninstall-->
<Property Id="MSIRESTARTMANAGERCONTROL" Value="DisableShutdown" />
<Property Id="MSIFASTINSTALL" Value="DisableShutdown" />
<util:CloseApplication CloseMessage="yes" Target="PowerToys.exe" ElevatedCloseMessage="yes" RebootPrompt="no" TerminateProcess="0" />
</Package>
<Fragment>
<Binary Id="PTCustomActions" SourceFile="$(var.PowerToysSetupCustomActions.TargetPath)" />
</Fragment>
<!-- Installation directory structure -->
<Fragment>
<Directory Id="$(var.DefaultInstallDir)">
<Directory Id="INSTALLFOLDER" Name="PowerToys">
<Directory Id="BaseApplicationsAssetsFolder" Name="Assets">
</Directory>
<Directory Id="DSCModulesReferenceFolder" Name="DSCModules" />
<Directory Id="WinUI3AppsInstallFolder" Name="WinUI3Apps">
<Directory Id="WinUI3AppsMicrosoftUIXamlInstallFolder" Name="Microsoft.UI.Xaml">
<Directory Id="WinUI3AppsMicrosoftUIXamlAssetsInstallFolder" Name="Assets" />
</Directory>
<Directory Id="WinUI3AppsAssetsFolder" Name="Assets">
</Directory>
</Directory>
<Directory Id="ToolsFolder" Name="Tools" />
</Directory>
</Directory>
<StandardDirectory Id="ProgramMenuFolder">
<Directory Id="ApplicationProgramsFolder" Name="PowerToys (Preview)" />
</StandardDirectory>
<StandardDirectory Id="DesktopFolder" />
</Fragment>
</Wix>

View File

@@ -0,0 +1,39 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define RegistryPreviewAssetsFiles=data32.png;deleted-folder32.png;deleted-value32.png;error32.png;folder32.png;index.html;RegistryPreview.ico;string32.pngdata32.png;deleted-folder32.png;deleted-value32.png;error32.png;folder32.png;index.html;RegistryPreview.ico;string32.pngdata32.png;deleted-folder32.png;deleted-value32.png;error32.png;folder32.png;index.html;RegistryPreview.ico;string32.png?>
<?define RegistryPreviewAssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\RegistryPreview?>
<Fragment>
<!-- Registry Preview -->
<DirectoryRef Id="WinUI3AppsAssetsFolder">
<Directory Id="RegistryPreviewAssetsInstallFolder" Name="RegistryPreview" />
</DirectoryRef>
<DirectoryRef Id="RegistryPreviewAssetsInstallFolder" FileSource="$(var.RegistryPreviewAssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="RegistryPreviewAssetsFiles_Component" Win64="yes" Guid="D8F2E58D-C8BD-4F30-863E-E674F0CDBF16">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RegistryPreviewAssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="RegistryPreviewAssetsFiles_File_" Source="$(var.RegistryPreviewAssetsFilesPath)\" />
</Component>
</DirectoryRef>
<ComponentGroup Id="RegistryPreviewComponentGroup">
<Component Id="RemoveRegistryPreviewFolder" Guid="D3DBC395-FAC5-44B1-BE44-3FE2B6E0F391" Directory="RegistryPreviewAssetsInstallFolder">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveRegistryPreviewFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveFolderRegistryPreviewAssetsFolder" Directory="RegistryPreviewAssetsInstallFolder" On="uninstall" />
</Component>
<ComponentRef Id="RegistryPreviewAssetsFiles_Component" />
<ComponentRef Id="RegistryPreviewAssetsFiles_Component" />
<ComponentRef Id="RegistryPreviewAssetsFiles_Component" />
<ComponentRef Id="RegistryPreviewAssetsFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,454 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<!-- Languages for localization on build farm -->
<!-- qps-ploc;qps-ploca;qps-plocm; -->
<?define LocLanguageList = ar-SA;cs-CZ;de-DE;es-ES;fa-IR;fr-FR;he-IL;hu-HU;it-IT;ja-JP;ko-KR;nl-NL;pl-PL;pt-BR;pt-PT;ru-RU;sv-SE;tr-TR;uk-UA;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) = ar-SA?>
<?define IdSafeLanguage = ar_SA?>
<?elseif $(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) = fa-IR?>
<?define IdSafeLanguage = fa_IR?>
<?elseif $(var.Language) = fr-FR?>
<?define IdSafeLanguage = fr_FR?>
<?elseif $(var.Language) = he-IL?>
<?define IdSafeLanguage = he_IL?>
<?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) = uk-UA?>
<?define IdSafeLanguage = uk_UA?>
<?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) = ar-SA?>
<!-- CompGUIDPrefix is language-dependent guid prefix missing the last 2 digits. -->
<?define CompGUIDPrefix = 4CF0A1CD-CA13-408B-AAC1-6E024B86A9?>
<?define IdSafeLanguage = ar_SA?>
<?elseif $(var.Language) = cs-CZ?>
<?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) = fa-IR?>
<?define CompGUIDPrefix = 157411C9-CAB8-4CC5-AEA4-5ABEB91E59?>
<?define IdSafeLanguage = fa_IR?>
<?elseif $(var.Language) = fr-FR?>
<?define CompGUIDPrefix = F9F86D61-C747-43FC-8509-F3D1F198E1?>
<?define IdSafeLanguage = fr_FR?>
<?elseif $(var.Language) = he-IL?>
<?define CompGUIDPrefix = AFEA6E19-5B93-4CBB-B0CB-AFB2565C7D?>
<?define IdSafeLanguage = he_IL?>
<?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) = uk-UA?>
<?define CompGUIDPrefix = 17BA6BA7-8CB6-47CA-BEB1-2FE87A0724?>
<?define IdSafeLanguage = uk_UA?>
<?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>
<Component Id="QoiPreviewHandler_$(var.IdSafeLanguage)_Component" Directory="Resource$(var.IdSafeLanguage)INSTALLFOLDER" Guid="$(var.CompGUIDPrefix)1E">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="QoiPreviewHandler_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes" />
</RegistryKey>
<File Id="QoiPreviewHandler_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)\$(var.Language)\PowerToys.QoiPreviewHandler.resources.dll" />
</Component>
<Component Id="Awake_$(var.IdSafeLanguage)_Component" Directory="Resource$(var.IdSafeLanguage)INSTALLFOLDER" Guid="$(var.CompGUIDPrefix)1F">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="Awake_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes" />
</RegistryKey>
<File Id="Awake_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)\$(var.Language)\PowerToys.Awake.resources.dll" />
</Component>
<Component Id="PowerOCR_$(var.IdSafeLanguage)_Component" Directory="Resource$(var.IdSafeLanguage)INSTALLFOLDER" Guid="$(var.CompGUIDPrefix)20">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="PowerOCR_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes" />
</RegistryKey>
<File Id="PowerOCR_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)\$(var.Language)\PowerToys.PowerOCR.resources.dll" />
</Component>
<Component Id="WorkspacesEditor_$(var.IdSafeLanguage)_Component" Directory="Resource$(var.IdSafeLanguage)INSTALLFOLDER" Guid="$(var.CompGUIDPrefix)21">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="WorkspacesEditor_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes" />
</RegistryKey>
<File Id="WorkspacesEditor_$(var.IdSafeLanguage)_File" Source="$(var.BinDir)\$(var.Language)\PowerToys.WorkspacesEditor.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) = ar-SA?>
<?define IdSafeLanguage = ar_SA?>
<?elseif $(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) = fa-IR?>
<?define IdSafeLanguage = fa_IR?>
<?elseif $(var.Language) = fr-FR?>
<?define IdSafeLanguage = fr_FR?>
<?elseif $(var.Language) = he-IL?>
<?define IdSafeLanguage = he_IL?>
<?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) = uk-UA?>
<?define IdSafeLanguage = uk_UA?>
<?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>

View File

@@ -0,0 +1,897 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define launcherImagesComponentFiles=app_error.dark.png;app_error.light.png;RunAsset.icoapp_error.dark.png;app_error.light.png;RunAsset.icoapp_error.dark.png;app_error.light.png;RunAsset.ico?>
<?define launcherImagesComponentFilesPath=$(var.BinDir)Assets\PowerLauncher\?>
<?define calcComponentFiles=backup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.Calculator.deps.json;Microsoft.PowerToys.Run.Plugin.Calculator.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.Calculator.deps.json;Microsoft.PowerToys.Run.Plugin.Calculator.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.Calculator.deps.json;Microsoft.PowerToys.Run.Plugin.Calculator.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define calcComponentFilesPath=$(var.BinDir)RunPlugins\Calculator\?>
<?define calcImagesComponentFiles=calculator.dark.png;calculator.light.pngcalculator.dark.png;calculator.light.pngcalculator.dark.png;calculator.light.png?>
<?define calcImagesComponentFilesPath=$(var.BinDir)RunPlugins\Calculator\Images\?>
<?define FolderComponentFiles=Dia2Lib.dll;Microsoft.Plugin.Folder.deps.json;Microsoft.Plugin.Folder.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllDia2Lib.dll;Microsoft.Plugin.Folder.deps.json;Microsoft.Plugin.Folder.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllDia2Lib.dll;Microsoft.Plugin.Folder.deps.json;Microsoft.Plugin.Folder.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define FolderComponentFilesPath=$(var.BinDir)RunPlugins\Folder\?>
<?define FolderImagesComponentFiles=copy.dark.png;copy.light.png;delete.dark.png;delete.light.png;file.dark.png;file.light.png;folder.dark.png;folder.light.png;user.dark.png;user.light.png;Warning.dark.png;Warning.light.pngcopy.dark.png;copy.light.png;delete.dark.png;delete.light.png;file.dark.png;file.light.png;folder.dark.png;folder.light.png;user.dark.png;user.light.png;Warning.dark.png;Warning.light.pngcopy.dark.png;copy.light.png;delete.dark.png;delete.light.png;file.dark.png;file.light.png;folder.dark.png;folder.light.png;user.dark.png;user.light.png;Warning.dark.png;Warning.light.png?>
<?define FolderImagesComponentFilesPath=$(var.BinDir)RunPlugins\Folder\Images?>
<?define ProgramComponentFiles=backup_restore_settings.json;Dia2Lib.dll;Microsoft.Plugin.Program.deps.json;Microsoft.Plugin.Program.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.Plugin.Program.deps.json;Microsoft.Plugin.Program.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.Plugin.Program.deps.json;Microsoft.Plugin.Program.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define ProgramComponentFilesPath=$(var.BinDir)RunPlugins\Program\?>
<?define ProgramImagesComponentFiles=app.dark.png;app.light.png;disable.dark.png;disable.light.png;folder.dark.png;folder.light.png;shell.dark.png;shell.light.png;user.dark.png;user.light.pngapp.dark.png;app.light.png;disable.dark.png;disable.light.png;folder.dark.png;folder.light.png;shell.dark.png;shell.light.png;user.dark.png;user.light.pngapp.dark.png;app.light.png;disable.dark.png;disable.light.png;folder.dark.png;folder.light.png;shell.dark.png;shell.light.png;user.dark.png;user.light.png?>
<?define ProgramImagesComponentFilesPath=$(var.BinDir)RunPlugins\Program\Images\?>
<?define ShellComponentFiles=backup_restore_settings.json;Dia2Lib.dll;Microsoft.Plugin.Shell.deps.json;Microsoft.Plugin.Shell.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.Plugin.Shell.deps.json;Microsoft.Plugin.Shell.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.Plugin.Shell.deps.json;Microsoft.Plugin.Shell.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define ShellComponentFilesPath=$(var.BinDir)RunPlugins\Shell\?>
<?define ShellImagesComponentFiles=shell.dark.png;shell.light.png;user.dark.png;user.light.pngshell.dark.png;shell.light.png;user.dark.png;user.light.pngshell.dark.png;shell.light.png;user.dark.png;user.light.png?>
<?define ShellImagesComponentFilesPath=$(var.BinDir)RunPlugins\Shell\Images\?>
<?define IndexerComponentFiles=backup_restore_settings.json;Dia2Lib.dll;Microsoft.Plugin.Indexer.deps.json;Microsoft.Plugin.Indexer.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.Plugin.Indexer.deps.json;Microsoft.Plugin.Indexer.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.Plugin.Indexer.deps.json;Microsoft.Plugin.Indexer.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define IndexerComponentFilesPath=$(var.BinDir)RunPlugins\Indexer\?>
<?define IndexerImagesComponentFiles=indexer.dark.png;indexer.light.png;Warning.dark.png;Warning.light.pngindexer.dark.png;indexer.light.png;Warning.dark.png;Warning.light.pngindexer.dark.png;indexer.light.png;Warning.dark.png;Warning.light.png?>
<?define IndexerImagesComponentFilesPath=$(var.BinDir)RunPlugins\Indexer\Images\?>
<?define UnitConvCompFiles=backup_restore_settings.json;Community.PowerToys.Run.Plugin.UnitConverter.deps.json;Community.PowerToys.Run.Plugin.UnitConverter.dll;Dia2Lib.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Community.PowerToys.Run.Plugin.UnitConverter.deps.json;Community.PowerToys.Run.Plugin.UnitConverter.dll;Dia2Lib.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Community.PowerToys.Run.Plugin.UnitConverter.deps.json;Community.PowerToys.Run.Plugin.UnitConverter.dll;Dia2Lib.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define UnitConvCompFilesPath=$(var.BinDir)RunPlugins\UnitConverter\?>
<?define UnitConvImagesCompFiles=unitconverter.dark.png;unitconverter.light.pngunitconverter.dark.png;unitconverter.light.pngunitconverter.dark.png;unitconverter.light.png?>
<?define UnitConvImagesCompFilesPath=$(var.BinDir)RunPlugins\UnitConverter\Images\?>
<?define WebSrchCompFiles=backup_restore_settings.json;Community.PowerToys.Run.Plugin.WebSearch.deps.json;Community.PowerToys.Run.Plugin.WebSearch.dll;Dia2Lib.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Community.PowerToys.Run.Plugin.WebSearch.deps.json;Community.PowerToys.Run.Plugin.WebSearch.dll;Dia2Lib.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Community.PowerToys.Run.Plugin.WebSearch.deps.json;Community.PowerToys.Run.Plugin.WebSearch.dll;Dia2Lib.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define WebSrchCompFilesPath=$(var.BinDir)RunPlugins\WebSearch\?>
<?define WebSrchImagesCompFiles=WebSearch.dark.png;WebSearch.light.pngWebSearch.dark.png;WebSearch.light.pngWebSearch.dark.png;WebSearch.light.png?>
<?define WebSrchImagesCompFilesPath=$(var.BinDir)RunPlugins\WebSearch\Images\?>
<?define HistoryPluginComponentFiles=backup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.History.deps.json;Microsoft.PowerToys.Run.Plugin.History.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.History.deps.json;Microsoft.PowerToys.Run.Plugin.History.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.History.deps.json;Microsoft.PowerToys.Run.Plugin.History.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define HistoryPluginComponentFilesPath=$(var.BinDir)RunPlugins\History\?>
<?define HistoryPluginImagesComponentFiles=history.dark.png;history.light.pnghistory.dark.png;history.light.pnghistory.dark.png;history.light.png?>
<?define HistoryPluginImagesComponentFilesPath=$(var.BinDir)RunPlugins\History\Images\?>
<?define UriComponentFiles=backup_restore_settings.json;Dia2Lib.dll;Microsoft.Plugin.Uri.deps.json;Microsoft.Plugin.Uri.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.Plugin.Uri.deps.json;Microsoft.Plugin.Uri.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.Plugin.Uri.deps.json;Microsoft.Plugin.Uri.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define UriComponentFilesPath=$(var.BinDir)RunPlugins\Uri\?>
<?define UriImagesComponentFiles=uri.dark.png;uri.light.pnguri.dark.png;uri.light.pnguri.dark.png;uri.light.png?>
<?define UriImagesComponentFilesPath=$(var.BinDir)RunPlugins\Uri\Images\?>
<?define VSCWrkCompFiles=backup_restore_settings.json;Community.PowerToys.Run.Plugin.VSCodeWorkspaces.deps.json;Community.PowerToys.Run.Plugin.VSCodeWorkspaces.dll;Dia2Lib.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Community.PowerToys.Run.Plugin.VSCodeWorkspaces.deps.json;Community.PowerToys.Run.Plugin.VSCodeWorkspaces.dll;Dia2Lib.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Community.PowerToys.Run.Plugin.VSCodeWorkspaces.deps.json;Community.PowerToys.Run.Plugin.VSCodeWorkspaces.dll;Dia2Lib.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define VSCWrkCompFilesPath=$(var.BinDir)RunPlugins\VSCodeWorkspaces\?>
<?define VSCWrkImagesCompFiles=code.dark.png;code.light.png;folder.png;monitor.pngcode.dark.png;code.light.png;folder.png;monitor.pngcode.dark.png;code.light.png;folder.png;monitor.png?>
<?define VSCWrkImagesCompFilesPath=$(var.BinDir)RunPlugins\VSCodeWorkspaces\Images\?>
<?define WindowWlkrCompFiles=backup_restore_settings.json;Dia2Lib.dll;Microsoft.Plugin.WindowWalker.deps.json;Microsoft.Plugin.WindowWalker.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.Plugin.WindowWalker.deps.json;Microsoft.Plugin.WindowWalker.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.Plugin.WindowWalker.deps.json;Microsoft.Plugin.WindowWalker.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define WindowWlkrCompFilesPath=$(var.BinDir)RunPlugins\WindowWalker\?>
<?define WindowWlkrImagesCompFiles=info.dark.png;info.light.png;windowwalker.dark.png;windowwalker.light.pnginfo.dark.png;info.light.png;windowwalker.dark.png;windowwalker.light.pnginfo.dark.png;info.light.png;windowwalker.dark.png;windowwalker.light.png?>
<?define WindowWlkrImagesCompFilesPath=$(var.BinDir)RunPlugins\WindowWalker\Images\?>
<?define OneNoteComponentFiles=backup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.OneNote.deps.json;Microsoft.PowerToys.Run.Plugin.OneNote.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.OneNote.deps.json;Microsoft.PowerToys.Run.Plugin.OneNote.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.OneNote.deps.json;Microsoft.PowerToys.Run.Plugin.OneNote.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define OneNoteComponentFilesPath=$(var.BinDir)RunPlugins\OneNote\?>
<?define OneNoteImagesComponentFiles=oneNote.dark.png;oneNote.light.pngoneNote.dark.png;oneNote.light.pngoneNote.dark.png;oneNote.light.png?>
<?define OneNoteImagesComponentFilesPath=$(var.BinDir)RunPlugins\OneNote\Images\?>
<?define RegistryComponentFiles=backup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.Registry.deps.json;Microsoft.PowerToys.Run.Plugin.Registry.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.Registry.deps.json;Microsoft.PowerToys.Run.Plugin.Registry.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.Registry.deps.json;Microsoft.PowerToys.Run.Plugin.Registry.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define RegistryComponentFilesPath=$(var.BinDir)RunPlugins\Registry\?>
<?define RegistryImagesComponentFiles=reg.dark.png;reg.light.pngreg.dark.png;reg.light.pngreg.dark.png;reg.light.png?>
<?define RegistryImagesComponentFilesPath=$(var.BinDir)RunPlugins\Registry\Images\?>
<?define ServiceComponentFiles=backup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.Service.deps.json;Microsoft.PowerToys.Run.Plugin.Service.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.Service.deps.json;Microsoft.PowerToys.Run.Plugin.Service.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.Service.deps.json;Microsoft.PowerToys.Run.Plugin.Service.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define ServiceComponentFilesPath=$(var.BinDir)RunPlugins\Service\?>
<?define ServiceImagesComponentFiles=service.dark.png;service.light.pngservice.dark.png;service.light.pngservice.dark.png;service.light.png?>
<?define ServiceImagesComponentFilesPath=$(var.BinDir)RunPlugins\Service\Images\?>
<?define SystemComponentFiles=backup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.System.deps.json;Microsoft.PowerToys.Run.Plugin.System.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.System.deps.json;Microsoft.PowerToys.Run.Plugin.System.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.System.deps.json;Microsoft.PowerToys.Run.Plugin.System.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define SystemComponentFilesPath=$(var.BinDir)RunPlugins\System\?>
<?define SystemImagesComponentFiles=firmwareSettings.dark.png;firmwareSettings.light.png;lock.dark.png;lock.light.png;logoff.dark.png;logoff.light.png;networkAdapter.dark.png;networkAdapter.light.png;recyclebin.dark.png;recyclebin.light.png;restart.dark.png;restart.light.png;shutdown.dark.png;shutdown.light.png;sleep.dark.png;sleep.light.pngfirmwareSettings.dark.png;firmwareSettings.light.png;lock.dark.png;lock.light.png;logoff.dark.png;logoff.light.png;networkAdapter.dark.png;networkAdapter.light.png;recyclebin.dark.png;recyclebin.light.png;restart.dark.png;restart.light.png;shutdown.dark.png;shutdown.light.png;sleep.dark.png;sleep.light.pngfirmwareSettings.dark.png;firmwareSettings.light.png;lock.dark.png;lock.light.png;logoff.dark.png;logoff.light.png;networkAdapter.dark.png;networkAdapter.light.png;recyclebin.dark.png;recyclebin.light.png;restart.dark.png;restart.light.png;shutdown.dark.png;shutdown.light.png;sleep.dark.png;sleep.light.png?>
<?define SystemImagesComponentFilesPath=$(var.BinDir)RunPlugins\System\Images\?>
<?define TimeDateComponentFiles=backup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.TimeDate.deps.json;Microsoft.PowerToys.Run.Plugin.TimeDate.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.TimeDate.deps.json;Microsoft.PowerToys.Run.Plugin.TimeDate.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.TimeDate.deps.json;Microsoft.PowerToys.Run.Plugin.TimeDate.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define TimeDateComponentFilesPath=$(var.BinDir)RunPlugins\TimeDate\?>
<?define TimeDateImagesComponentFiles=calendar.dark.png;calendar.light.png;time.dark.png;time.light.png;timeDate.dark.png;timeDate.light.png;Warning.dark.png;Warning.light.pngcalendar.dark.png;calendar.light.png;time.dark.png;time.light.png;timeDate.dark.png;timeDate.light.png;Warning.dark.png;Warning.light.pngcalendar.dark.png;calendar.light.png;time.dark.png;time.light.png;timeDate.dark.png;timeDate.light.png;Warning.dark.png;Warning.light.png?>
<?define TimeDateImagesComponentFilesPath=$(var.BinDir)RunPlugins\TimeDate\Images\?>
<?define WinSetCmpFiles=backup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.WindowsSettings.deps.json;Microsoft.PowerToys.Run.Plugin.WindowsSettings.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.WindowsSettings.deps.json;Microsoft.PowerToys.Run.Plugin.WindowsSettings.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.WindowsSettings.deps.json;Microsoft.PowerToys.Run.Plugin.WindowsSettings.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define WinSetCmpFilesPath=$(var.BinDir)RunPlugins\WindowsSettings\?>
<?define WinSetImagesCmpFiles=WindowsSettings.dark.png;WindowsSettings.light.pngWindowsSettings.dark.png;WindowsSettings.light.pngWindowsSettings.dark.png;WindowsSettings.light.png?>
<?define WinSetImagesCmpFilesPath=$(var.BinDir)RunPlugins\WindowsSettings\Images\?>
<?define WinTermCmpFiles=backup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.WindowsTerminal.deps.json;Microsoft.PowerToys.Run.Plugin.WindowsTerminal.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.WindowsTerminal.deps.json;Microsoft.PowerToys.Run.Plugin.WindowsTerminal.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.WindowsTerminal.deps.json;Microsoft.PowerToys.Run.Plugin.WindowsTerminal.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define WinTermCmpFilesPath=$(var.BinDir)RunPlugins\WindowsTerminal\?>
<?define WinTermImagesCmpFiles=WindowsTerminal.dark.png;WindowsTerminal.light.pngWindowsTerminal.dark.png;WindowsTerminal.light.pngWindowsTerminal.dark.png;WindowsTerminal.light.png?>
<?define WinTermImagesCmpFilesPath=$(var.BinDir)RunPlugins\WindowsTerminal\Images\?>
<?define PowerToysCmpFiles=backup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.PowerToys.deps.json;Microsoft.PowerToys.Run.Plugin.PowerToys.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.PowerToys.deps.json;Microsoft.PowerToys.Run.Plugin.PowerToys.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Dia2Lib.dll;Microsoft.PowerToys.Run.Plugin.PowerToys.deps.json;Microsoft.PowerToys.Run.Plugin.PowerToys.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define PowerToysCmpFilesPath=$(var.BinDir)RunPlugins\PowerToys\?>
<?define PowerToysImagesCmpFiles=ColorPicker.png;CropAndLock.png;EnvironmentVariables.png;FancyZones.png;Hosts.png;PowerOcr.png;PowerToys.dark.png;PowerToys.light.png;RegistryPreview.png;ScreenRuler.png;ShortcutGuide.png;Workspaces.pngColorPicker.png;CropAndLock.png;EnvironmentVariables.png;FancyZones.png;Hosts.png;PowerOcr.png;PowerToys.dark.png;PowerToys.light.png;RegistryPreview.png;ScreenRuler.png;ShortcutGuide.png;Workspaces.pngColorPicker.png;CropAndLock.png;EnvironmentVariables.png;FancyZones.png;Hosts.png;PowerOcr.png;PowerToys.dark.png;PowerToys.light.png;RegistryPreview.png;ScreenRuler.png;ShortcutGuide.png;Workspaces.png?>
<?define PowerToysImagesCmpFilesPath=$(var.BinDir)RunPlugins\PowerToys\Images\?>
<?define ValueGeneratorCmpFiles=backup_restore_settings.json;Community.PowerToys.Run.Plugin.ValueGenerator.deps.json;Community.PowerToys.Run.Plugin.ValueGenerator.dll;Dia2Lib.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Community.PowerToys.Run.Plugin.ValueGenerator.deps.json;Community.PowerToys.Run.Plugin.ValueGenerator.dll;Dia2Lib.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dllbackup_restore_settings.json;Community.PowerToys.Run.Plugin.ValueGenerator.deps.json;Community.PowerToys.Run.Plugin.ValueGenerator.dll;Dia2Lib.dll;plugin.json;PowerToys.Interop.dll;PowerToys.ManagedTelemetry.dll;PowerToys.MouseJump.Common.dll;PowerToys.ZoomItSettingsInterop.dll;TraceReloggerLib.dll?>
<?define ValueGeneratorCmpFilesPath=$(var.BinDir)RunPlugins\ValueGenerator\?>
<?define ValueGeneratorImagesCmpFiles=ValueGenerator.dark.png;ValueGenerator.light.png;Warning.dark.png;Warning.light.pngValueGenerator.dark.png;ValueGenerator.light.png;Warning.dark.png;Warning.light.pngValueGenerator.dark.png;ValueGenerator.light.png;Warning.dark.png;Warning.light.png?>
<?define ValueGeneratorImagesCmpFilesPath=$(var.BinDir)RunPlugins\ValueGenerator\Images\?>
<Fragment>
<DirectoryRef Id="BaseApplicationsAssetsFolder">
<Directory Id="LauncherImagesFolder" Name="PowerLauncher" />
</DirectoryRef>
<DirectoryRef Id="INSTALLFOLDER">
<!-- Plugins -->
<Directory Id="LauncherPluginsFolder" Name="RunPlugins">
<Directory Id="WebSearchPluginFolder" Name="WebSearch">
<Directory Id="WebSearchImagesFolder" Name="Images" />
</Directory>
<Directory Id="CalculatorPluginFolder" Name="Calculator">
<Directory Id="CalculatorImagesFolder" Name="Images" />
</Directory>
<Directory Id="FolderPluginFolder" Name="Folder">
<Directory Id="FolderPluginImagesFolder" Name="Images" />
</Directory>
<Directory Id="ProgramPluginFolder" Name="Program">
<Directory Id="ProgramImagesFolder" Name="Images" />
</Directory>
<Directory Id="ShellPluginFolder" Name="Shell">
<Directory Id="ShellImagesFolder" Name="Images" />
</Directory>
<Directory Id="IndexerPluginFolder" Name="Indexer">
<Directory Id="IndexerImagesFolder" Name="Images" />
</Directory>
<Directory Id="UriPluginFolder" Name="Uri">
<Directory Id="UriImagesFolder" Name="Images" />
</Directory>
<Directory Id="HistoryPluginFolder" Name="History">
<Directory Id="HistoryImagesFolder" Name="Images" />
</Directory>
<Directory Id="UnitConverterPluginFolder" Name="UnitConverter">
<Directory Id="UnitConverterImagesFolder" Name="Images" />
</Directory>
<Directory Id="VSCodeWorkspacesPluginFolder" Name="VSCodeWorkspaces">
<Directory Id="VSCodeWorkspaceImagesFolder" Name="Images" />
</Directory>
<Directory Id="WindowWalkerPluginFolder" Name="WindowWalker">
<Directory Id="WindowWalkerImagesFolder" Name="Images" />
</Directory>
<Directory Id="OneNotePluginFolder" Name="OneNote">
<Directory Id="OneNoteImagesFolder" Name="Images" />
</Directory>
<Directory Id="PowerToysPluginFolder" Name="PowerToys">
<Directory Id="PowerToysImagesFolder" Name="Images" />
</Directory>
<Directory Id="RegistryPluginFolder" Name="Registry">
<Directory Id="RegistryImagesFolder" Name="Images" />
</Directory>
<Directory Id="ServicePluginFolder" Name="Service">
<Directory Id="ServiceImagesFolder" Name="Images" />
</Directory>
<Directory Id="WindowsTerminalPluginFolder" Name="WindowsTerminal">
<Directory Id="WindowsTerminalImagesFolder" Name="Images" />
</Directory>
<Directory Id="SystemPluginFolder" Name="System">
<Directory Id="SystemImagesFolder" Name="Images" />
</Directory>
<Directory Id="TimeDatePluginFolder" Name="TimeDate">
<Directory Id="TimeDateImagesFolder" Name="Images" />
</Directory>
<Directory Id="WindowsSettingsPluginFolder" Name="WindowsSettings">
<Directory Id="WindowsSettingsImagesFolder" Name="Images" />
</Directory>
<Directory Id="ValueGeneratorPluginFolder" Name="ValueGenerator">
<Directory Id="ValueGeneratorImagesFolder" Name="Images" />
</Directory>
</Directory>
</DirectoryRef>
<DirectoryRef Id="LauncherImagesFolder" FileSource="$(var.launcherImagesComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="launcherImagesComponentFiles_Component" Win64="yes" Guid="CF6EBA52-4CB4-4A3E-94B3-FDC6C20CFBDB">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="launcherImagesComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="launcherImagesComponentFiles_File_" Source="$(var.launcherImagesComponentFilesPath)\" />
</Component>
</DirectoryRef>
<!-- Calculator Plugin -->
<DirectoryRef Id="CalculatorPluginFolder" FileSource="$(var.calcComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="calcComponentFiles_Component" Win64="yes" Guid="2493C766-4772-4B05-B5CE-899A7CDBC0D9">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="calcComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="calcComponentFiles_File_" Source="$(var.calcComponentFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="CalculatorImagesFolder" FileSource="$(var.calcImagesComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="calcImagesComponentFiles_Component" Win64="yes" Guid="5ACAD3F8-CD14-4E1A-A88D-E543070F44D7">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="calcImagesComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="calcImagesComponentFiles_File_" Source="$(var.calcImagesComponentFilesPath)\" />
</Component>
</DirectoryRef>
<!-- Folder Plugin -->
<DirectoryRef Id="FolderPluginFolder" FileSource="$(var.FolderComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="FolderComponentFiles_Component" Win64="yes" Guid="CFD28CAE-1514-469A-B78B-A8D9335806D4">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="FolderComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="FolderComponentFiles_File_" Source="$(var.FolderComponentFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="FolderPluginImagesFolder" FileSource="$(var.FolderImagesComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="FolderImagesComponentFiles_Component" Win64="yes" Guid="82622472-84B8-45BA-A5DC-E392EDD96151">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="FolderImagesComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="FolderImagesComponentFiles_File_" Source="$(var.FolderImagesComponentFilesPath)\" />
</Component>
</DirectoryRef>
<!-- Program Plugin -->
<DirectoryRef Id="ProgramPluginFolder" FileSource="$(var.ProgramComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="ProgramComponentFiles_Component" Win64="yes" Guid="BF6D8D95-9B93-492C-BFBB-F077A73641C0">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="ProgramComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="ProgramComponentFiles_File_" Source="$(var.ProgramComponentFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="ProgramImagesFolder" FileSource="$(var.ProgramImagesComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="ProgramImagesComponentFiles_Component" Win64="yes" Guid="225197B5-002B-4127-91F3-62BACCD5ABFC">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="ProgramImagesComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="ProgramImagesComponentFiles_File_" Source="$(var.ProgramImagesComponentFilesPath)\" />
</Component>
</DirectoryRef>
<!-- Shell Plugin -->
<DirectoryRef Id="ShellPluginFolder" FileSource="$(var.ShellComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="ShellComponentFiles_Component" Win64="yes" Guid="8BB92277-2366-4287-9AE5-358129BBD2C3">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="ShellComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="ShellComponentFiles_File_" Source="$(var.ShellComponentFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="ShellImagesFolder" FileSource="$(var.ShellImagesComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="ShellImagesComponentFiles_Component" Win64="yes" Guid="1FFCB410-99D0-4EA2-B2B2-B6D0DAD0741B">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="ShellImagesComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="ShellImagesComponentFiles_File_" Source="$(var.ShellImagesComponentFilesPath)\" />
</Component>
</DirectoryRef>
<!-- Indexer Plugin -->
<DirectoryRef Id="IndexerPluginFolder" FileSource="$(var.IndexerComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="IndexerComponentFiles_Component" Win64="yes" Guid="F362E106-4129-4142-92AB-15417DDC6DF0">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="IndexerComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="IndexerComponentFiles_File_" Source="$(var.IndexerComponentFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="IndexerImagesFolder" FileSource="$(var.IndexerImagesComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="IndexerImagesComponentFiles_Component" Win64="yes" Guid="1B57B225-B6A7-4CEA-AAE1-E7DDE4967FA9">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="IndexerImagesComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="IndexerImagesComponentFiles_File_" Source="$(var.IndexerImagesComponentFilesPath)\" />
</Component>
</DirectoryRef>
<!-- UnitConverter Plugin -->
<DirectoryRef Id="UnitConverterPluginFolder" FileSource="$(var.UnitConvCompFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="UnitConvCompFiles_Component" Win64="yes" Guid="470C2254-66A5-4A63-B4BF-F9577AABDCB0">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="UnitConvCompFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="UnitConvCompFiles_File_" Source="$(var.UnitConvCompFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="UnitConverterImagesFolder" FileSource="$(var.UnitConvImagesCompFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="UnitConvImagesCompFiles_Component" Win64="yes" Guid="4911B4C3-3BD2-4642-B4EA-56386EAEB6B2">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="UnitConvImagesCompFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="UnitConvImagesCompFiles_File_" Source="$(var.UnitConvImagesCompFilesPath)\" />
</Component>
</DirectoryRef>
<!-- WebSearch Plugin -->
<DirectoryRef Id="WebSearchPluginFolder" FileSource="$(var.WebSrchCompFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="WebSrchCompFiles_Component" Win64="yes" Guid="E54213C6-9AA3-4E12-92AE-90976344B069">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="WebSrchCompFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="WebSrchCompFiles_File_" Source="$(var.WebSrchCompFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="WebSearchImagesFolder" FileSource="$(var.WebSrchImagesCompFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="WebSrchImagesCompFiles_Component" Win64="yes" Guid="45100912-31E3-4889-A39E-701B18AC040E">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="WebSrchImagesCompFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="WebSrchImagesCompFiles_File_" Source="$(var.WebSrchImagesCompFilesPath)\" />
</Component>
</DirectoryRef>
<!-- History Plugin -->
<DirectoryRef Id="HistoryPluginFolder" FileSource="$(var.HistoryPluginComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="HistoryPluginComponentFiles_Component" Win64="yes" Guid="0F2A8B26-DFC7-49A7-BFBD-B224BE1043BE">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="HistoryPluginComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="HistoryPluginComponentFiles_File_" Source="$(var.HistoryPluginComponentFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="HistoryImagesFolder" FileSource="$(var.HistoryPluginImagesComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="HistoryPluginImagesComponentFiles_Component" Win64="yes" Guid="0218B28E-74B5-4A9D-AEC7-8AAE19C48B09">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="HistoryPluginImagesComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="HistoryPluginImagesComponentFiles_File_" Source="$(var.HistoryPluginImagesComponentFilesPath)\" />
</Component>
</DirectoryRef>
<!-- Uri Plugin -->
<DirectoryRef Id="UriPluginFolder" FileSource="$(var.UriComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="UriComponentFiles_Component" Win64="yes" Guid="44DBF3DD-6F5A-4F10-AA26-5239326ACDD7">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="UriComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="UriComponentFiles_File_" Source="$(var.UriComponentFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="UriImagesFolder" FileSource="$(var.UriImagesComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="UriImagesComponentFiles_Component" Win64="yes" Guid="021FEBEC-E0B9-4E58-8008-014D1A3A4658">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="UriImagesComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="UriImagesComponentFiles_File_" Source="$(var.UriImagesComponentFilesPath)\" />
</Component>
</DirectoryRef>
<!-- VSCodeWorkspaces Plugin -->
<DirectoryRef Id="VSCodeWorkspacesPluginFolder" FileSource="$(var.VSCWrkCompFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="VSCWrkCompFiles_Component" Win64="yes" Guid="B02A3EA8-DE3C-481D-A907-6806DA43B911">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="VSCWrkCompFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="VSCWrkCompFiles_File_" Source="$(var.VSCWrkCompFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="VSCodeWorkspaceImagesFolder" FileSource="$(var.VSCWrkImagesCompFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="VSCWrkImagesCompFiles_Component" Win64="yes" Guid="7CFB0898-2BEF-43E2-8CF1-75656ABC8C34">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="VSCWrkImagesCompFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="VSCWrkImagesCompFiles_File_" Source="$(var.VSCWrkImagesCompFilesPath)\" />
</Component>
</DirectoryRef>
<!-- WindowWalker Plugin -->
<DirectoryRef Id="WindowWalkerPluginFolder" FileSource="$(var.WindowWlkrCompFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="WindowWlkrCompFiles_Component" Win64="yes" Guid="C1F0C1B8-3B7F-4E75-AC6D-735D04C32555">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="WindowWlkrCompFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="WindowWlkrCompFiles_File_" Source="$(var.WindowWlkrCompFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="WindowWalkerImagesFolder" FileSource="$(var.WindowWlkrImagesCompFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="WindowWlkrImagesCompFiles_Component" Win64="yes" Guid="B925F851-682C-443C-8852-F282CD2DA5DE">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="WindowWlkrImagesCompFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="WindowWlkrImagesCompFiles_File_" Source="$(var.WindowWlkrImagesCompFilesPath)\" />
</Component>
</DirectoryRef>
<!-- OneNote Plugin -->
<DirectoryRef Id="OneNotePluginFolder" FileSource="$(var.OneNoteComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="OneNoteComponentFiles_Component" Win64="yes" Guid="ECDEF746-545A-4EDE-AFFB-F2D7EFA07798">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="OneNoteComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="OneNoteComponentFiles_File_" Source="$(var.OneNoteComponentFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="OneNoteImagesFolder" FileSource="$(var.OneNoteImagesComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="OneNoteImagesComponentFiles_Component" Win64="yes" Guid="6C046B06-C7A5-4C6E-9B01-75361E328AE1">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="OneNoteImagesComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="OneNoteImagesComponentFiles_File_" Source="$(var.OneNoteImagesComponentFilesPath)\" />
</Component>
</DirectoryRef>
<!-- Registry Plugin -->
<DirectoryRef Id="RegistryPluginFolder" FileSource="$(var.RegistryComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="RegistryComponentFiles_Component" Win64="yes" Guid="A9125015-F88F-46BC-B02E-5A2B6337D04E">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RegistryComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="RegistryComponentFiles_File_" Source="$(var.RegistryComponentFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="RegistryImagesFolder" FileSource="$(var.RegistryImagesComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="RegistryImagesComponentFiles_Component" Win64="yes" Guid="0C05D428-097E-41DC-9017-373BAFEE3304">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RegistryImagesComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="RegistryImagesComponentFiles_File_" Source="$(var.RegistryImagesComponentFilesPath)\" />
</Component>
</DirectoryRef>
<!-- Service Plugin -->
<DirectoryRef Id="ServicePluginFolder" FileSource="$(var.ServiceComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="ServiceComponentFiles_Component" Win64="yes" Guid="14F8D4AF-38B0-4230-A25A-504B223D0492">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="ServiceComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="ServiceComponentFiles_File_" Source="$(var.ServiceComponentFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="ServiceImagesFolder" FileSource="$(var.ServiceImagesComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="ServiceImagesComponentFiles_Component" Win64="yes" Guid="288AD275-A995-4E55-B6E7-56BB8BDE45E2">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="ServiceImagesComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="ServiceImagesComponentFiles_File_" Source="$(var.ServiceImagesComponentFilesPath)\" />
</Component>
</DirectoryRef>
<!-- System Plugin -->
<DirectoryRef Id="SystemPluginFolder" FileSource="$(var.SystemComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="SystemComponentFiles_Component" Win64="yes" Guid="8E518E30-E17E-47A2-B82F-82F459B93707">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="SystemComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="SystemComponentFiles_File_" Source="$(var.SystemComponentFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="SystemImagesFolder" FileSource="$(var.SystemImagesComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="SystemImagesComponentFiles_Component" Win64="yes" Guid="2E15B01B-2810-454D-8790-0AA4A8FE7CDF">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="SystemImagesComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="SystemImagesComponentFiles_File_" Source="$(var.SystemImagesComponentFilesPath)\" />
</Component>
</DirectoryRef>
<!-- TimeDate Plugin -->
<DirectoryRef Id="TimeDatePluginFolder" FileSource="$(var.TimeDateComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="TimeDateComponentFiles_Component" Win64="yes" Guid="70E47219-C2AF-421C-9308-354C609E8611">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="TimeDateComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="TimeDateComponentFiles_File_" Source="$(var.TimeDateComponentFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="TimeDateImagesFolder" FileSource="$(var.TimeDateImagesComponentFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="TimeDateImagesComponentFiles_Component" Win64="yes" Guid="07F158D3-6377-48E0-A9AC-D521D81376C3">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="TimeDateImagesComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="TimeDateImagesComponentFiles_File_" Source="$(var.TimeDateImagesComponentFilesPath)\" />
</Component>
</DirectoryRef>
<!-- WindowsSettings Plugin -->
<DirectoryRef Id="WindowsSettingsPluginFolder" FileSource="$(var.WinSetCmpFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="WinSetCmpFiles_Component" Win64="yes" Guid="84580A6A-31B8-4B06-9AEA-A1850D8E9B4B">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="WinSetCmpFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="WinSetCmpFiles_File_" Source="$(var.WinSetCmpFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="WindowsSettingsImagesFolder" FileSource="$(var.WinSetImagesCmpFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="WinSetImagesCmpFiles_Component" Win64="yes" Guid="E46A2227-7278-47A4-B366-A60B62F64639">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="WinSetImagesCmpFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="WinSetImagesCmpFiles_File_" Source="$(var.WinSetImagesCmpFilesPath)\" />
</Component>
</DirectoryRef>
<!-- WindowsTerminal Plugin -->
<DirectoryRef Id="WindowsTerminalPluginFolder" FileSource="$(var.WinTermCmpFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="WinTermCmpFiles_Component" Win64="yes" Guid="A0137357-8190-4EE9-A4D4-B78B0811E346">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="WinTermCmpFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="WinTermCmpFiles_File_" Source="$(var.WinTermCmpFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="WindowsTerminalImagesFolder" FileSource="$(var.WinTermImagesCmpFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="WinTermImagesCmpFiles_Component" Win64="yes" Guid="F43D03D7-B3E7-4DE5-AB5F-188FFCABF6C8">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="WinTermImagesCmpFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="WinTermImagesCmpFiles_File_" Source="$(var.WinTermImagesCmpFilesPath)\" />
</Component>
</DirectoryRef>
<!-- PowerToys Plugin -->
<DirectoryRef Id="PowerToysPluginFolder" FileSource="$(var.PowerToysCmpFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="PowerToysCmpFiles_Component" Win64="yes" Guid="7E532569-D787-43BC-84E4-AA622D4593C6">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="PowerToysCmpFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="PowerToysCmpFiles_File_" Source="$(var.PowerToysCmpFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="PowerToysImagesFolder" FileSource="$(var.PowerToysImagesCmpFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="PowerToysImagesCmpFiles_Component" Win64="yes" Guid="E2935DE9-4973-4306-9E6B-6984BB02D32F">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="PowerToysImagesCmpFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="PowerToysImagesCmpFiles_File_" Source="$(var.PowerToysImagesCmpFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="ValueGeneratorPluginFolder" FileSource="$(var.ValueGeneratorCmpFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="ValueGeneratorCmpFiles_Component" Win64="yes" Guid="DAB9D05F-A697-4DB7-A4C6-4F319A510D32">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="ValueGeneratorCmpFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="ValueGeneratorCmpFiles_File_" Source="$(var.ValueGeneratorCmpFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="ValueGeneratorImagesFolder" FileSource="$(var.ValueGeneratorImagesCmpFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="ValueGeneratorImagesCmpFiles_Component" Win64="yes" Guid="41426EC2-FC78-44BB-8FAD-B9DD21B4FD6F">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="ValueGeneratorImagesCmpFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="ValueGeneratorImagesCmpFiles_File_" Source="$(var.ValueGeneratorImagesCmpFilesPath)\" />
</Component>
</DirectoryRef>
<ComponentGroup Id="RunComponentGroup">
<Component Id="RemoveLauncherFolder" Guid="3FFDC0B6-82BC-4C57-AEB1-C710DB108C23" Directory="INSTALLFOLDER">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveLauncherFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveFolderLauncherImagesFolder" Directory="LauncherImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderLauncherPluginsFolder" Directory="LauncherPluginsFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderCalculatorPluginFolder" Directory="CalculatorPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderCalculatorImagesFolder" Directory="CalculatorImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderFolderPluginFolder" Directory="FolderPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderFolderPluginImagesFolder" Directory="FolderPluginImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderProgramPluginFolder" Directory="ProgramPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderProgramImagesFolder" Directory="ProgramImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderShellPluginFolder" Directory="ShellPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderShellImagesFolder" Directory="ShellImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderIndexerPluginFolder" Directory="IndexerPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderIndexerImagesFolder" Directory="IndexerImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderUnitConverterPluginFolder" Directory="UnitConverterPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderUnitConverterImagesFolder" Directory="UnitConverterImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderWebSearchPluginFolder" Directory="WebSearchPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderWebSearchImagesFolder" Directory="WebSearchImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderHistoryPluginFolder" Directory="HistoryPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderHistoryImagesFolder" Directory="HistoryImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderUriPluginFolder" Directory="UriPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderUriImagesFolder" Directory="UriImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderVSCodeWorkspacesPluginFolder" Directory="VSCodeWorkspacesPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderVSCodeWorkspaceImagesFolder" Directory="VSCodeWorkspaceImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderWindowWalkerPluginFolder" Directory="WindowWalkerPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderWindowWalkerImagesFolder" Directory="WindowWalkerImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderOneNotePluginFolder" Directory="OneNotePluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderOneNoteImagesFolder" Directory="OneNoteImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderRegistryPluginFolder" Directory="RegistryPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderRegistryImagesFolder" Directory="RegistryImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderServicePluginFolder" Directory="ServicePluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderServiceImagesFolder" Directory="ServiceImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderSystemPluginFolder" Directory="SystemPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderSystemImagesFolder" Directory="SystemImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderTimeDatePluginFolder" Directory="TimeDatePluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderTimeDateImagesFolder" Directory="TimeDateImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderWindowsSettingsPluginFolder" Directory="WindowsSettingsPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderWindowsSettingsImagesFolder" Directory="WindowsSettingsImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderWindowsTerminalPluginFolder" Directory="WindowsTerminalPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderWindowsTerminalImagesFolder" Directory="WindowsTerminalImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderPowerToysPluginFolder" Directory="PowerToysPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderPowerToysImagesFolder" Directory="PowerToysImagesFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderValueGeneratorPluginFolder" Directory="ValueGeneratorPluginFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderValueGeneratorImagesFolder" Directory="ValueGeneratorImagesFolder" On="uninstall" />
</Component>
<ComponentRef Id="launcherImagesComponentFiles_Component" />
<ComponentRef Id="calcComponentFiles_Component" />
<ComponentRef Id="calcImagesComponentFiles_Component" />
<ComponentRef Id="FolderComponentFiles_Component" />
<ComponentRef Id="FolderImagesComponentFiles_Component" />
<ComponentRef Id="ProgramComponentFiles_Component" />
<ComponentRef Id="ProgramImagesComponentFiles_Component" />
<ComponentRef Id="ShellComponentFiles_Component" />
<ComponentRef Id="ShellImagesComponentFiles_Component" />
<ComponentRef Id="IndexerComponentFiles_Component" />
<ComponentRef Id="IndexerImagesComponentFiles_Component" />
<ComponentRef Id="UnitConvCompFiles_Component" />
<ComponentRef Id="UnitConvImagesCompFiles_Component" />
<ComponentRef Id="WebSrchCompFiles_Component" />
<ComponentRef Id="WebSrchImagesCompFiles_Component" />
<ComponentRef Id="HistoryPluginComponentFiles_Component" />
<ComponentRef Id="HistoryPluginImagesComponentFiles_Component" />
<ComponentRef Id="UriComponentFiles_Component" />
<ComponentRef Id="UriImagesComponentFiles_Component" />
<ComponentRef Id="VSCWrkCompFiles_Component" />
<ComponentRef Id="VSCWrkImagesCompFiles_Component" />
<ComponentRef Id="WindowWlkrCompFiles_Component" />
<ComponentRef Id="WindowWlkrImagesCompFiles_Component" />
<ComponentRef Id="OneNoteComponentFiles_Component" />
<ComponentRef Id="OneNoteImagesComponentFiles_Component" />
<ComponentRef Id="RegistryComponentFiles_Component" />
<ComponentRef Id="RegistryImagesComponentFiles_Component" />
<ComponentRef Id="ServiceComponentFiles_Component" />
<ComponentRef Id="ServiceImagesComponentFiles_Component" />
<ComponentRef Id="SystemComponentFiles_Component" />
<ComponentRef Id="SystemImagesComponentFiles_Component" />
<ComponentRef Id="TimeDateComponentFiles_Component" />
<ComponentRef Id="TimeDateImagesComponentFiles_Component" />
<ComponentRef Id="WinSetCmpFiles_Component" />
<ComponentRef Id="WinSetImagesCmpFiles_Component" />
<ComponentRef Id="WinTermCmpFiles_Component" />
<ComponentRef Id="WinTermImagesCmpFiles_Component" />
<ComponentRef Id="PowerToysCmpFiles_Component" />
<ComponentRef Id="PowerToysImagesCmpFiles_Component" />
<ComponentRef Id="ValueGeneratorCmpFiles_Component" />
<ComponentRef Id="ValueGeneratorImagesCmpFiles_Component" />
<ComponentRef Id="launcherImagesComponentFiles_Component" />
<ComponentRef Id="calcComponentFiles_Component" />
<ComponentRef Id="calcImagesComponentFiles_Component" />
<ComponentRef Id="FolderComponentFiles_Component" />
<ComponentRef Id="FolderImagesComponentFiles_Component" />
<ComponentRef Id="ProgramComponentFiles_Component" />
<ComponentRef Id="ProgramImagesComponentFiles_Component" />
<ComponentRef Id="ShellComponentFiles_Component" />
<ComponentRef Id="ShellImagesComponentFiles_Component" />
<ComponentRef Id="IndexerComponentFiles_Component" />
<ComponentRef Id="IndexerImagesComponentFiles_Component" />
<ComponentRef Id="UnitConvCompFiles_Component" />
<ComponentRef Id="UnitConvImagesCompFiles_Component" />
<ComponentRef Id="WebSrchCompFiles_Component" />
<ComponentRef Id="WebSrchImagesCompFiles_Component" />
<ComponentRef Id="HistoryPluginComponentFiles_Component" />
<ComponentRef Id="HistoryPluginImagesComponentFiles_Component" />
<ComponentRef Id="UriComponentFiles_Component" />
<ComponentRef Id="UriImagesComponentFiles_Component" />
<ComponentRef Id="VSCWrkCompFiles_Component" />
<ComponentRef Id="VSCWrkImagesCompFiles_Component" />
<ComponentRef Id="WindowWlkrCompFiles_Component" />
<ComponentRef Id="WindowWlkrImagesCompFiles_Component" />
<ComponentRef Id="OneNoteComponentFiles_Component" />
<ComponentRef Id="OneNoteImagesComponentFiles_Component" />
<ComponentRef Id="RegistryComponentFiles_Component" />
<ComponentRef Id="RegistryImagesComponentFiles_Component" />
<ComponentRef Id="ServiceComponentFiles_Component" />
<ComponentRef Id="ServiceImagesComponentFiles_Component" />
<ComponentRef Id="SystemComponentFiles_Component" />
<ComponentRef Id="SystemImagesComponentFiles_Component" />
<ComponentRef Id="TimeDateComponentFiles_Component" />
<ComponentRef Id="TimeDateImagesComponentFiles_Component" />
<ComponentRef Id="WinSetCmpFiles_Component" />
<ComponentRef Id="WinSetImagesCmpFiles_Component" />
<ComponentRef Id="WinTermCmpFiles_Component" />
<ComponentRef Id="WinTermImagesCmpFiles_Component" />
<ComponentRef Id="PowerToysCmpFiles_Component" />
<ComponentRef Id="PowerToysImagesCmpFiles_Component" />
<ComponentRef Id="ValueGeneratorCmpFiles_Component" />
<ComponentRef Id="ValueGeneratorImagesCmpFiles_Component" />
<ComponentRef Id="launcherImagesComponentFiles_Component" />
<ComponentRef Id="calcComponentFiles_Component" />
<ComponentRef Id="calcImagesComponentFiles_Component" />
<ComponentRef Id="FolderComponentFiles_Component" />
<ComponentRef Id="FolderImagesComponentFiles_Component" />
<ComponentRef Id="ProgramComponentFiles_Component" />
<ComponentRef Id="ProgramImagesComponentFiles_Component" />
<ComponentRef Id="ShellComponentFiles_Component" />
<ComponentRef Id="ShellImagesComponentFiles_Component" />
<ComponentRef Id="IndexerComponentFiles_Component" />
<ComponentRef Id="IndexerImagesComponentFiles_Component" />
<ComponentRef Id="UnitConvCompFiles_Component" />
<ComponentRef Id="UnitConvImagesCompFiles_Component" />
<ComponentRef Id="WebSrchCompFiles_Component" />
<ComponentRef Id="WebSrchImagesCompFiles_Component" />
<ComponentRef Id="HistoryPluginComponentFiles_Component" />
<ComponentRef Id="HistoryPluginImagesComponentFiles_Component" />
<ComponentRef Id="UriComponentFiles_Component" />
<ComponentRef Id="UriImagesComponentFiles_Component" />
<ComponentRef Id="VSCWrkCompFiles_Component" />
<ComponentRef Id="VSCWrkImagesCompFiles_Component" />
<ComponentRef Id="WindowWlkrCompFiles_Component" />
<ComponentRef Id="WindowWlkrImagesCompFiles_Component" />
<ComponentRef Id="OneNoteComponentFiles_Component" />
<ComponentRef Id="OneNoteImagesComponentFiles_Component" />
<ComponentRef Id="RegistryComponentFiles_Component" />
<ComponentRef Id="RegistryImagesComponentFiles_Component" />
<ComponentRef Id="ServiceComponentFiles_Component" />
<ComponentRef Id="ServiceImagesComponentFiles_Component" />
<ComponentRef Id="SystemComponentFiles_Component" />
<ComponentRef Id="SystemImagesComponentFiles_Component" />
<ComponentRef Id="TimeDateComponentFiles_Component" />
<ComponentRef Id="TimeDateImagesComponentFiles_Component" />
<ComponentRef Id="WinSetCmpFiles_Component" />
<ComponentRef Id="WinSetImagesCmpFiles_Component" />
<ComponentRef Id="WinTermCmpFiles_Component" />
<ComponentRef Id="WinTermImagesCmpFiles_Component" />
<ComponentRef Id="PowerToysCmpFiles_Component" />
<ComponentRef Id="PowerToysImagesCmpFiles_Component" />
<ComponentRef Id="ValueGeneratorCmpFiles_Component" />
<ComponentRef Id="ValueGeneratorImagesCmpFiles_Component" />
<ComponentRef Id="launcherImagesComponentFiles_Component" />
<ComponentRef Id="calcComponentFiles_Component" />
<ComponentRef Id="calcImagesComponentFiles_Component" />
<ComponentRef Id="FolderComponentFiles_Component" />
<ComponentRef Id="FolderImagesComponentFiles_Component" />
<ComponentRef Id="ProgramComponentFiles_Component" />
<ComponentRef Id="ProgramImagesComponentFiles_Component" />
<ComponentRef Id="ShellComponentFiles_Component" />
<ComponentRef Id="ShellImagesComponentFiles_Component" />
<ComponentRef Id="IndexerComponentFiles_Component" />
<ComponentRef Id="IndexerImagesComponentFiles_Component" />
<ComponentRef Id="UnitConvCompFiles_Component" />
<ComponentRef Id="UnitConvImagesCompFiles_Component" />
<ComponentRef Id="WebSrchCompFiles_Component" />
<ComponentRef Id="WebSrchImagesCompFiles_Component" />
<ComponentRef Id="HistoryPluginComponentFiles_Component" />
<ComponentRef Id="HistoryPluginImagesComponentFiles_Component" />
<ComponentRef Id="UriComponentFiles_Component" />
<ComponentRef Id="UriImagesComponentFiles_Component" />
<ComponentRef Id="VSCWrkCompFiles_Component" />
<ComponentRef Id="VSCWrkImagesCompFiles_Component" />
<ComponentRef Id="WindowWlkrCompFiles_Component" />
<ComponentRef Id="WindowWlkrImagesCompFiles_Component" />
<ComponentRef Id="OneNoteComponentFiles_Component" />
<ComponentRef Id="OneNoteImagesComponentFiles_Component" />
<ComponentRef Id="RegistryComponentFiles_Component" />
<ComponentRef Id="RegistryImagesComponentFiles_Component" />
<ComponentRef Id="ServiceComponentFiles_Component" />
<ComponentRef Id="ServiceImagesComponentFiles_Component" />
<ComponentRef Id="SystemComponentFiles_Component" />
<ComponentRef Id="SystemImagesComponentFiles_Component" />
<ComponentRef Id="TimeDateComponentFiles_Component" />
<ComponentRef Id="TimeDateImagesComponentFiles_Component" />
<ComponentRef Id="WinSetCmpFiles_Component" />
<ComponentRef Id="WinSetImagesCmpFiles_Component" />
<ComponentRef Id="WinTermCmpFiles_Component" />
<ComponentRef Id="WinTermImagesCmpFiles_Component" />
<ComponentRef Id="PowerToysCmpFiles_Component" />
<ComponentRef Id="PowerToysImagesCmpFiles_Component" />
<ComponentRef Id="ValueGeneratorCmpFiles_Component" />
<ComponentRef Id="ValueGeneratorImagesCmpFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,122 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define SettingsV2AssetsFiles=icon.ico;LockScreenLogo.scale-200.png;logo.png;Logo.scale-200.png;logo150.png;logo44.png;SplashScreen.png;SplashScreen.scale-200.png;Square150x150Logo.scale-200.png;Square44x44Logo.scale-200.png;Square44x44Logo.targetsize-24_altform-unplated.png;StoreLogo.png;StoreLogo.scale-100.png;Wide310x150Logo.scale-200.pngicon.ico;LockScreenLogo.scale-200.png;logo.png;Logo.scale-200.png;logo150.png;logo44.png;SplashScreen.png;SplashScreen.scale-200.png;Square150x150Logo.scale-200.png;Square44x44Logo.scale-200.png;Square44x44Logo.targetsize-24_altform-unplated.png;StoreLogo.png;StoreLogo.scale-100.png;Wide310x150Logo.scale-200.pngicon.ico;LockScreenLogo.scale-200.png;logo.png;Logo.scale-200.png;logo150.png;logo44.png;SplashScreen.png;SplashScreen.scale-200.png;Square150x150Logo.scale-200.png;Square44x44Logo.scale-200.png;Square44x44Logo.targetsize-24_altform-unplated.png;StoreLogo.png;StoreLogo.scale-100.png;Wide310x150Logo.scale-200.png?>
<?define SettingsV2AssetsFilesPath=$(var.BinDir)WinUI3Apps\Assets\Settings\?>
<?define SettingsV2AssetsModulesFiles=AdvancedPaste.png;AlwaysOnTop.png;APDialog.dark.png;APDialog.light.png;Awake.png;CmdNotFound.png;ColorPicker.png;CropAndLock.png;EnvironmentVariables.png;FancyZones.png;FileExplorerPreview.png;FileLocksmith.png;HostsFileEditor.png;ImageResizer.png;KBM.png;MouseUtils.png;MouseWithoutBorders.png;NewPlus.png;Peek.png;PowerLauncher.png;PowerRename.png;PT.png;QuickAccent.png;RegistryPreview.png;Run.png;ScreenRuler.png;ShortcutGuide.png;TextExtractor.png;Wallpaper.png;Workspaces.png;ZoomIt.pngAdvancedPaste.png;AlwaysOnTop.png;APDialog.dark.png;APDialog.light.png;Awake.png;CmdNotFound.png;ColorPicker.png;CropAndLock.png;EnvironmentVariables.png;FancyZones.png;FileExplorerPreview.png;FileLocksmith.png;HostsFileEditor.png;ImageResizer.png;KBM.png;MouseUtils.png;MouseWithoutBorders.png;NewPlus.png;Peek.png;PowerLauncher.png;PowerRename.png;PT.png;QuickAccent.png;RegistryPreview.png;Run.png;ScreenRuler.png;ShortcutGuide.png;TextExtractor.png;Wallpaper.png;Workspaces.png;ZoomIt.pngAdvancedPaste.png;AlwaysOnTop.png;APDialog.dark.png;APDialog.light.png;Awake.png;CmdNotFound.png;ColorPicker.png;CropAndLock.png;EnvironmentVariables.png;FancyZones.png;FileExplorerPreview.png;FileLocksmith.png;HostsFileEditor.png;ImageResizer.png;KBM.png;MouseUtils.png;MouseWithoutBorders.png;NewPlus.png;Peek.png;PowerLauncher.png;PowerRename.png;PT.png;QuickAccent.png;RegistryPreview.png;Run.png;ScreenRuler.png;ShortcutGuide.png;TextExtractor.png;Wallpaper.png;Workspaces.png;ZoomIt.png?>
<?define SettingsV2AssetsModulesFilesPath=$(var.BinDir)WinUI3Apps\Assets\Settings\Modules\?>
<?define SettingsV2OOBEAssetsModulesFiles=AdvancedPaste.gif;AlwaysOnTop.png;Awake.png;CmdNotFound.png;ColorPicker.gif;CropAndLock.gif;EnvironmentVariables.png;FancyZones.gif;FileExplorer.png;FileLocksmith.gif;HostsFileEditor.png;ImageResizer.gif;KBM.gif;MouseUtils.gif;MouseWithoutBorders.png;NewPlus.png;Peek.png;PowerRename.gif;PTHero.png;PTHeroShort.png;QuickAccent.gif;RegistryPreview.png;Run.gif;ScreenRuler.gif;ShortcutGuide.png;TextExtractor.gif;Workspaces.png;ZoomIt.gifAdvancedPaste.gif;AlwaysOnTop.png;Awake.png;CmdNotFound.png;ColorPicker.gif;CropAndLock.gif;EnvironmentVariables.png;FancyZones.gif;FileExplorer.png;FileLocksmith.gif;HostsFileEditor.png;ImageResizer.gif;KBM.gif;MouseUtils.gif;MouseWithoutBorders.png;NewPlus.png;Peek.png;PowerRename.gif;PTHero.png;PTHeroShort.png;QuickAccent.gif;RegistryPreview.png;Run.gif;ScreenRuler.gif;ShortcutGuide.png;TextExtractor.gif;Workspaces.png;ZoomIt.gifAdvancedPaste.gif;AlwaysOnTop.png;Awake.png;CmdNotFound.png;ColorPicker.gif;CropAndLock.gif;EnvironmentVariables.png;FancyZones.gif;FileExplorer.png;FileLocksmith.gif;HostsFileEditor.png;ImageResizer.gif;KBM.gif;MouseUtils.gif;MouseWithoutBorders.png;NewPlus.png;Peek.png;PowerRename.gif;PTHero.png;PTHeroShort.png;QuickAccent.gif;RegistryPreview.png;Run.gif;ScreenRuler.gif;ShortcutGuide.png;TextExtractor.gif;Workspaces.png;ZoomIt.gif?>
<?define SettingsV2OOBEAssetsModulesFilesPath=$(var.BinDir)WinUI3Apps\Assets\Settings\Modules\OOBE\?>
<?define SettingsV2OOBEAssetsFluentIconsFiles=Advanced.png;AdvancedPaste.png;AlwaysOnTop.png;Awake.png;ColorPicker.png;CommandNotFound.png;CropAndLock.png;EnvironmentVariables.png;FancyZones.png;FileExplorerPreview.png;FileLocksmith.png;FileManagement.png;FindMyMouse.png;Hosts.png;ImageResizer.png;InputOutput.png;KeyboardManager.png;MouseCrosshairs.png;MouseHighlighter.png;MouseJump.png;MouseUtils.png;MouseWithoutBorders.png;NewPlus.png;Peek.png;PowerRename.png;PowerToys.png;PowerToysRun.png;QuickAccent.png;RegistryPreview.png;ScreenRuler.png;SemanticKernel.png;ShortcutGuide.png;SystemTools.png;TextExtractor.png;WindowingAndLayouts.png;Workspaces.png;ZoomIt.pngAdvanced.png;AdvancedPaste.png;AlwaysOnTop.png;Awake.png;ColorPicker.png;CommandNotFound.png;CropAndLock.png;EnvironmentVariables.png;FancyZones.png;FileExplorerPreview.png;FileLocksmith.png;FileManagement.png;FindMyMouse.png;Hosts.png;ImageResizer.png;InputOutput.png;KeyboardManager.png;MouseCrosshairs.png;MouseHighlighter.png;MouseJump.png;MouseUtils.png;MouseWithoutBorders.png;NewPlus.png;Peek.png;PowerRename.png;PowerToys.png;PowerToysRun.png;QuickAccent.png;RegistryPreview.png;ScreenRuler.png;SemanticKernel.png;ShortcutGuide.png;SystemTools.png;TextExtractor.png;WindowingAndLayouts.png;Workspaces.png;ZoomIt.pngAdvanced.png;AdvancedPaste.png;AlwaysOnTop.png;Awake.png;ColorPicker.png;CommandNotFound.png;CropAndLock.png;EnvironmentVariables.png;FancyZones.png;FileExplorerPreview.png;FileLocksmith.png;FileManagement.png;FindMyMouse.png;Hosts.png;ImageResizer.png;InputOutput.png;KeyboardManager.png;MouseCrosshairs.png;MouseHighlighter.png;MouseJump.png;MouseUtils.png;MouseWithoutBorders.png;NewPlus.png;Peek.png;PowerRename.png;PowerToys.png;PowerToysRun.png;QuickAccent.png;RegistryPreview.png;ScreenRuler.png;SemanticKernel.png;ShortcutGuide.png;SystemTools.png;TextExtractor.png;WindowingAndLayouts.png;Workspaces.png;ZoomIt.png?>
<?define SettingsV2OOBEAssetsFluentIconsFilesPath=$(var.BinDir)WinUI3Apps\Assets\Settings\Icons\?>
<Fragment>
<DirectoryRef Id="WinUI3AppsAssetsFolder">
<Directory Id="SettingsV2AssetsInstallFolder" Name="Settings">
<Directory Id="SettingsAppAssetsScriptsFolder" Name="Scripts" />
<Directory Id="SettingsV2OOBEAssetsFluentIconsInstallFolder" Name="Icons" />
<Directory Id="SettingsV2AssetsModulesInstallFolder" Name="Modules">
<Directory Id="SettingsV2OOBEAssetsModulesInstallFolder" Name="OOBE" />
</Directory>
</Directory>
</DirectoryRef>
<DirectoryRef Id="SettingsV2AssetsInstallFolder" FileSource="$(var.SettingsV2AssetsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="SettingsV2AssetsFiles_Component" Win64="yes" Guid="13677681-2733-47DA-8D30-4F687575EF92">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="SettingsV2AssetsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="SettingsV2AssetsFiles_File_" Source="$(var.SettingsV2AssetsFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="SettingsV2AssetsModulesInstallFolder" FileSource="$(var.SettingsV2AssetsModulesFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="SettingsV2AssetsModulesFiles_Component" Win64="yes" Guid="5AE32787-7BFA-4511-9CE3-DCE4621B931C">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="SettingsV2AssetsModulesFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="SettingsV2AssetsModulesFiles_File_" Source="$(var.SettingsV2AssetsModulesFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="SettingsV2OOBEAssetsModulesInstallFolder" FileSource="$(var.SettingsV2OOBEAssetsModulesFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="SettingsV2OOBEAssetsModulesFiles_Component" Win64="yes" Guid="8964F987-E750-4C22-9776-0E3F0B5E4A43">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="SettingsV2OOBEAssetsModulesFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="SettingsV2OOBEAssetsModulesFiles_File_" Source="$(var.SettingsV2OOBEAssetsModulesFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="SettingsV2OOBEAssetsFluentIconsInstallFolder" FileSource="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="SettingsV2OOBEAssetsFluentIconsFiles_Component" Win64="yes" Guid="BA9D085A-3A29-4467-9BD3-48D1A27BBCA5">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="SettingsV2OOBEAssetsFluentIconsFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="SettingsV2OOBEAssetsFluentIconsFiles_File_" Source="$(var.SettingsV2OOBEAssetsFluentIconsFilesPath)\" />
</Component>
</DirectoryRef>
<DirectoryRef Id="SettingsAppAssetsScriptsFolder" FileSource="$(var.SettingsV2AssetsFilesPath)\Scripts\">
<Component Id="CommandNotFound_Scripts" Guid="898EFA1E-EDD3-4F4B-8C7F-4A14B0D05B02" Bitness="always64">
<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" />
<File Id="CommandNotFound_Scripts_UpgradeModule.ps1" Source="$(var.SettingsV2AssetsFilesPath)\Scripts\UpgradeModule.ps1" />
<File Id="CommandNotFound_Scripts_DisableModule.ps1" Source="$(var.SettingsV2AssetsFilesPath)\Scripts\DisableModule.ps1" />
<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" />
</Component>
</DirectoryRef>
<ComponentGroup Id="SettingsComponentGroup">
<Component Id="RemoveSettingsFolder" Guid="2D3AEF68-4E5A-4FF9-A5C0-9E53391AC754" Directory="SettingsV2AssetsInstallFolder">
<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" />
<RemoveFolder Id="RemoveFolderSettingsAppAssetsScriptsFolder" Directory="SettingsAppAssetsScriptsFolder" On="uninstall" />
</Component>
<ComponentRef Id="CommandNotFound_Scripts" />
<ComponentRef Id="SettingsV2AssetsFiles_Component" />
<ComponentRef Id="SettingsV2AssetsModulesFiles_Component" />
<ComponentRef Id="SettingsV2OOBEAssetsModulesFiles_Component" />
<ComponentRef Id="SettingsV2OOBEAssetsFluentIconsFiles_Component" />
<ComponentRef Id="SettingsV2AssetsFiles_Component" />
<ComponentRef Id="SettingsV2AssetsModulesFiles_Component" />
<ComponentRef Id="SettingsV2OOBEAssetsModulesFiles_Component" />
<ComponentRef Id="SettingsV2OOBEAssetsFluentIconsFiles_Component" />
<ComponentRef Id="SettingsV2AssetsFiles_Component" />
<ComponentRef Id="SettingsV2AssetsModulesFiles_Component" />
<ComponentRef Id="SettingsV2OOBEAssetsModulesFiles_Component" />
<ComponentRef Id="SettingsV2OOBEAssetsFluentIconsFiles_Component" />
<ComponentRef Id="SettingsV2AssetsFiles_Component" />
<ComponentRef Id="SettingsV2AssetsModulesFiles_Component" />
<ComponentRef Id="SettingsV2OOBEAssetsModulesFiles_Component" />
<ComponentRef Id="SettingsV2OOBEAssetsFluentIconsFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,40 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define ShortcutGuideSvgFiles=0.svg;1.svg;2.svg;3.svg;4.svg;5.svg;6.svg;7.svg;8.svg;9.svg;no_active_window.svg;overlay.svg;overlay_portrait.svg0.svg;1.svg;2.svg;3.svg;4.svg;5.svg;6.svg;7.svg;8.svg;9.svg;no_active_window.svg;overlay.svg;overlay_portrait.svg0.svg;1.svg;2.svg;3.svg;4.svg;5.svg;6.svg;7.svg;8.svg;9.svg;no_active_window.svg;overlay.svg;overlay_portrait.svg?>
<?define ShortcutGuideSvgFilesPath=$(var.BinDir)\Assets\ShortcutGuide\?>
<Fragment>
<!-- Shortcut guide files -->
<DirectoryRef Id="BaseApplicationsAssetsFolder">
<Directory Id="ShortcutGuideSvgsInstallFolder" Name="ShortcutGuide" />
</DirectoryRef>
<DirectoryRef Id="ShortcutGuideSvgsInstallFolder" FileSource="$(var.ShortcutGuideSvgFilesPath)">
<!-- Generated by generateFileComponents.ps1 -->
<Component Id="ShortcutGuideSvgFiles_Component" Win64="yes" Guid="BFC5F264-5D7E-4896-B7D1-3B2F2FCD9A8E">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="ShortcutGuideSvgFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="ShortcutGuideSvgFiles_File_" Source="$(var.ShortcutGuideSvgFilesPath)\" />
</Component>
</DirectoryRef>
<!-- Shortcut guide -->
<ComponentGroup Id="ShortcutGuideComponentGroup">
<Component Id="RemoveShortcutGuideFolder" Guid="AD1ABC55-B593-4A60-A86A-BA8C0ED493A5" Directory="ShortcutGuideSvgsInstallFolder">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveShortcutGuideFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveFolderShortcutGuideSvgsInstallFolder" Directory="ShortcutGuideSvgsInstallFolder" On="uninstall" />
</Component>
<ComponentRef Id="ShortcutGuideSvgFiles_Component" />
<ComponentRef Id="ShortcutGuideSvgFiles_Component" />
<ComponentRef Id="ShortcutGuideSvgFiles_Component" />
<ComponentRef Id="ShortcutGuideSvgFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,33 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<Fragment>
<DirectoryRef Id="ToolsFolder">
<Component Id="BugReportTool_exe" Guid="370D0C28-F423-4A12-9A64-6BAB57C7E5C3" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="BugReportTool_exe" Value="" KeyPath="yes" />
</RegistryKey>
<File Source="$(var.BinDir)Tools\PowerToys.BugReportTool.exe" Id="BugReportTool.exe" Checksum="yes" />
</Component>
<Component Id="StylesReportTool_exe" Guid="9D348A78-38A0-4FDC-8D16-BDB0178E5F1E" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="StylesReportTool_exe" Value="" KeyPath="yes" />
</RegistryKey>
<File Source="$(var.BinDir)StylesReportTool\PowerToys.StylesReportTool.exe" Id="StylesReportTool.exe" Checksum="yes" />
</Component>
</DirectoryRef>
<ComponentGroup Id="ToolComponentGroup">
<Component Id="RemoveToolsFolder" Guid="0402A3E8-1B4F-4762-9CCF-2267BCF8B6EE" Directory="ToolsFolder">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveToolsFolder" Value="" KeyPath="yes" />
</RegistryKey>
<RemoveFolder Id="RemoveFolderToolsFolder" Directory="ToolsFolder" On="uninstall" />
</Component>
<ComponentRef Id="BugReportTool_exe" />
<ComponentRef Id="StylesReportTool_exe" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,461 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<!-- Localization languages shipped with WinAppSDK. We should ship these as well. -->
<?define WinAppSDKLocLanguageList = af-ZA;ar-SA;az-Latn-AZ;bg-BG;bs-Latn-BA;ca-ES;cs-CZ;cy-GB;da-DK;de-DE;el-GR;en-GB;en-us;es-ES;es-MX;et-EE;eu-ES;fa-IR;fi-FI;fr-CA;fr-FR;gl-ES;he-IL;hi-IN;hr-HR;hu-HU;id-ID;is-IS;it-IT;ja-JP;ka-GE;kk-KZ;ko-KR;lt-LT;lv-LV;ms-MY;nb-NO;nl-NL;nn-NO;pl-PL;pt-BR;pt-PT;ro-RO;ru-RU;sk-SK;sl-SI;sq-AL;sr-Cyrl-RS;sr-Latn-RS;sv-SE;th-TH;tr-TR;uk-UA;vi-VN;zh-CN;zh-TW?>
<Fragment>
<DirectoryRef Id="WinUI3AppsMicrosoftUIXamlAssetsInstallFolder" FileSource="$(var.BinDir)WinUI3Apps\Microsoft.UI.Xaml\Assets">
<Component Id="WinUI3AppsMicrosoftUIXamlAssets_NoiseAsset_256x256_PNG.png" Guid="39889494-838A-4B9A-BD0A-105A1F0161BF" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="WinUI3AppsMicrosoftUIXamlAssets_NoiseAsset_256x256_PNG" Value="" KeyPath="yes" />
</RegistryKey>
<File Id="WinUI3AppsMicrosoftUIXamlAssetsFile_NoiseAsset_256x256_PNG.png" Source="$(var.BinDir)WinUI3Apps\Microsoft.UI.Xaml\Assets\NoiseAsset_256x256_PNG.png" />
</Component>
<Component Id="WinUI3AppsMicrosoftUIXamlAssets_map.html" Guid="A970464C-A5BC-43DB-ACB3-7D83CF3047B3" Bitness="always64">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="WinUI3AppsMicrosoftUIXamlAssets_map" Value="" KeyPath="yes" />
</RegistryKey>
<File Id="WinUI3AppsMicrosoftUIXamlAssetsFile_map.html" Source="$(var.BinDir)WinUI3Apps\Microsoft.UI.Xaml\Assets\map.html" />
</Component>
</DirectoryRef>
<DirectoryRef Id="WinUI3AppsInstallFolder">
<?foreach Language in $(var.WinAppSDKLocLanguageList)?>
<?if $(var.Language) = af-ZA?>
<?define IdSafeLanguage = af_ZA?>
<?elseif $(var.Language) = ar-SA?>
<?define IdSafeLanguage = ar_SA?>
<?elseif $(var.Language) = az-Latn-AZ?>
<?define IdSafeLanguage = az_Latn_AZ?>
<?elseif $(var.Language) = bg-BG?>
<?define IdSafeLanguage = bg_BG?>
<?elseif $(var.Language) = bs-Latn-BA?>
<?define IdSafeLanguage = bs_Latn_BA?>
<?elseif $(var.Language) = ca-ES?>
<?define IdSafeLanguage = ca_ES?>
<?elseif $(var.Language) = cs-CZ?>
<?define IdSafeLanguage = cs_CZ?>
<?elseif $(var.Language) = cy-GB?>
<?define IdSafeLanguage = cy_GB?>
<?elseif $(var.Language) = da-DK?>
<?define IdSafeLanguage = da_DK?>
<?elseif $(var.Language) = de-DE?>
<?define IdSafeLanguage = de_DE?>
<?elseif $(var.Language) = el-GR?>
<?define IdSafeLanguage = el_GR?>
<?elseif $(var.Language) = en-GB?>
<?define IdSafeLanguage = en_GB?>
<?elseif $(var.Language) = en-us?>
<?define IdSafeLanguage = en_us?>
<?elseif $(var.Language) = es-ES?>
<?define IdSafeLanguage = es_ES?>
<?elseif $(var.Language) = es-MX?>
<?define IdSafeLanguage = es_MX?>
<?elseif $(var.Language) = et-EE?>
<?define IdSafeLanguage = et_EE?>
<?elseif $(var.Language) = eu-ES?>
<?define IdSafeLanguage = eu_ES?>
<?elseif $(var.Language) = fa-IR?>
<?define IdSafeLanguage = fa_IR?>
<?elseif $(var.Language) = fi-FI?>
<?define IdSafeLanguage = fi_FI?>
<?elseif $(var.Language) = fr-CA?>
<?define IdSafeLanguage = fr_CA?>
<?elseif $(var.Language) = fr-FR?>
<?define IdSafeLanguage = fr_FR?>
<?elseif $(var.Language) = gl-ES?>
<?define IdSafeLanguage = gl_ES?>
<?elseif $(var.Language) = he-IL?>
<?define IdSafeLanguage = he_IL?>
<?elseif $(var.Language) = hi-IN?>
<?define IdSafeLanguage = hi_IN?>
<?elseif $(var.Language) = hr-HR?>
<?define IdSafeLanguage = hr_HR?>
<?elseif $(var.Language) = hu-HU?>
<?define IdSafeLanguage = hu_HU?>
<?elseif $(var.Language) = id-ID?>
<?define IdSafeLanguage = id_ID?>
<?elseif $(var.Language) = is-IS?>
<?define IdSafeLanguage = is_IS?>
<?elseif $(var.Language) = it-IT?>
<?define IdSafeLanguage = it_IT?>
<?elseif $(var.Language) = ja-JP?>
<?define IdSafeLanguage = ja_JP?>
<?elseif $(var.Language) = ka-GE?>
<?define IdSafeLanguage = ka_GE?>
<?elseif $(var.Language) = kk-KZ?>
<?define IdSafeLanguage = kk_KZ?>
<?elseif $(var.Language) = ko-KR?>
<?define IdSafeLanguage = ko_KR?>
<?elseif $(var.Language) = lt-LT?>
<?define IdSafeLanguage = lt_LT?>
<?elseif $(var.Language) = lv-LV?>
<?define IdSafeLanguage = lv_LV?>
<?elseif $(var.Language) = ms-MY?>
<?define IdSafeLanguage = ms_MY?>
<?elseif $(var.Language) = nb-NO?>
<?define IdSafeLanguage = nb_NO?>
<?elseif $(var.Language) = nl-NL?>
<?define IdSafeLanguage = nl_NL?>
<?elseif $(var.Language) = nn-NO?>
<?define IdSafeLanguage = nn_NO?>
<?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) = ro-RO?>
<?define IdSafeLanguage = ro_RO?>
<?elseif $(var.Language) = ru-RU?>
<?define IdSafeLanguage = ru_RU?>
<?elseif $(var.Language) = sk-SK?>
<?define IdSafeLanguage = sk_SK?>
<?elseif $(var.Language) = sl-SI?>
<?define IdSafeLanguage = sl_SI?>
<?elseif $(var.Language) = sq-AL?>
<?define IdSafeLanguage = sq_AL?>
<?elseif $(var.Language) = sr-Cyrl-RS?>
<?define IdSafeLanguage = sr_Cyrl_RS?>
<?elseif $(var.Language) = sr-Latn-RS?>
<?define IdSafeLanguage = sr_Latn_RS?>
<?elseif $(var.Language) = sv-SE?>
<?define IdSafeLanguage = sv_SE?>
<?elseif $(var.Language) = th-TH?>
<?define IdSafeLanguage = th_TH?>
<?elseif $(var.Language) = tr-TR?>
<?define IdSafeLanguage = tr_TR?>
<?elseif $(var.Language) = uk-UA?>
<?define IdSafeLanguage = uk_UA?>
<?elseif $(var.Language) = vi-VN?>
<?define IdSafeLanguage = vi_VN?>
<?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="WinAppSDKLoc$(var.IdSafeLanguage)WinUI3AppsInstallFolder" Name="$(var.Language)" />
<?undef IdSafeLanguage?>
<?endforeach?>
</DirectoryRef>
<ComponentGroup Id="WindowsAppSDKComponentGroup">
<?foreach Language in $(var.WinAppSDKLocLanguageList)?>
<?if $(var.Language) = af-ZA?>
<?define CompGUIDPrefix = 3C8E6C25-772A-4686-8FE3-8BE63F8D19?>
<?define IdSafeLanguage = af_ZA?>
<?elseif $(var.Language) = ar-SA?>
<?define CompGUIDPrefix = E2E65A7F-48CA-49E1-847B-5B1116D32E?>
<?define IdSafeLanguage = ar_SA?>
<?elseif $(var.Language) = az-Latn-AZ?>
<?define CompGUIDPrefix = 601F5B70-D386-4F68-B958-9D3F07167C?>
<?define IdSafeLanguage = az_Latn_AZ?>
<?elseif $(var.Language) = bg-BG?>
<?define CompGUIDPrefix = 9DD6C8F9-8599-46E4-B9B6-8B8CB095F9?>
<?define IdSafeLanguage = bg_BG?>
<?elseif $(var.Language) = bs-Latn-BA?>
<?define CompGUIDPrefix = CF68A082-D286-4556-BDF1-FBD9C7FE37?>
<?define IdSafeLanguage = bs_Latn_BA?>
<?elseif $(var.Language) = ca-ES?>
<?define CompGUIDPrefix = 298A66A5-9683-4ABF-A1C5-D97DA031B3?>
<?define IdSafeLanguage = ca_ES?>
<?elseif $(var.Language) = cs-CZ?>
<?define CompGUIDPrefix = EDEC8BF7-6602-47E5-AC04-3D392BDD83?>
<?define IdSafeLanguage = cs_CZ?>
<?elseif $(var.Language) = cy-GB?>
<?define CompGUIDPrefix = 6E328AD9-58D4-4615-8A64-9710D5EA81?>
<?define IdSafeLanguage = cy_GB?>
<?elseif $(var.Language) = da-DK?>
<?define CompGUIDPrefix = BC5D9E5C-D4B8-4CEB-A944-1A34FD46E5?>
<?define IdSafeLanguage = da_DK?>
<?elseif $(var.Language) = de-DE?>
<?define CompGUIDPrefix = 4E1F60E3-6257-4492-AD9E-22124393F7?>
<?define IdSafeLanguage = de_DE?>
<?elseif $(var.Language) = el-GR?>
<?define CompGUIDPrefix = 0A340858-D5DF-44D1-90F9-E5435128D5?>
<?define IdSafeLanguage = el_GR?>
<?elseif $(var.Language) = en-GB?>
<?define CompGUIDPrefix = 2F06617A-9700-4223-A309-58F2C1DA88?>
<?define IdSafeLanguage = en_GB?>
<?elseif $(var.Language) = en-us?>
<?define CompGUIDPrefix = A817585B-4AD2-4030-844B-1B2975DE6C?>
<?define IdSafeLanguage = en_us?>
<?elseif $(var.Language) = es-ES?>
<?define CompGUIDPrefix = 987CE029-212B-40AF-956E-D0D76F5EE8?>
<?define IdSafeLanguage = es_ES?>
<?elseif $(var.Language) = es-MX?>
<?define CompGUIDPrefix = 9E806BDC-CB61-43C5-A314-6CB3C7CE17?>
<?define IdSafeLanguage = es_MX?>
<?elseif $(var.Language) = et-EE?>
<?define CompGUIDPrefix = 07C20887-C0FD-4686-8D6C-CD70D4099E?>
<?define IdSafeLanguage = et_EE?>
<?elseif $(var.Language) = eu-ES?>
<?define CompGUIDPrefix = 43FDBB2A-DCF0-4E5C-98B2-DF5F8A7ABC?>
<?define IdSafeLanguage = eu_ES?>
<?elseif $(var.Language) = fa-IR?>
<?define CompGUIDPrefix = 9A709AF1-A967-4188-9A6E-0EE1A01091?>
<?define IdSafeLanguage = fa_IR?>
<?elseif $(var.Language) = fi-FI?>
<?define CompGUIDPrefix = 7C933CD2-E937-4BEF-835D-7D27660BF1?>
<?define IdSafeLanguage = fi_FI?>
<?elseif $(var.Language) = fr-CA?>
<?define CompGUIDPrefix = 547742D0-6025-43A1-B37A-D7FE1C7AB7?>
<?define IdSafeLanguage = fr_CA?>
<?elseif $(var.Language) = fr-FR?>
<?define CompGUIDPrefix = 5C208D3F-0A62-4DD3-9A3C-D5F5931BC0?>
<?define IdSafeLanguage = fr_FR?>
<?elseif $(var.Language) = gl-ES?>
<?define CompGUIDPrefix = CC8360F1-B761-485F-AE34-D5E76C2133?>
<?define IdSafeLanguage = gl_ES?>
<?elseif $(var.Language) = he-IL?>
<?define CompGUIDPrefix = 5D3703BA-B7F8-45E6-8727-E184890524?>
<?define IdSafeLanguage = he_IL?>
<?elseif $(var.Language) = hi-IN?>
<?define CompGUIDPrefix = 85D55059-CFE3-47CD-A000-D795DCD0FF?>
<?define IdSafeLanguage = hi_IN?>
<?elseif $(var.Language) = hr-HR?>
<?define CompGUIDPrefix = 2BD6767A-A7C5-440B-BDC7-EA505F6B69?>
<?define IdSafeLanguage = hr_HR?>
<?elseif $(var.Language) = hu-HU?>
<?define CompGUIDPrefix = FB99F97C-A1C3-407E-AA4A-264621D1C4?>
<?define IdSafeLanguage = hu_HU?>
<?elseif $(var.Language) = id-ID?>
<?define CompGUIDPrefix = CBBA3A3A-B336-4CB0-ACB1-4BB666855D?>
<?define IdSafeLanguage = id_ID?>
<?elseif $(var.Language) = is-IS?>
<?define CompGUIDPrefix = 57E8C11E-6D1F-4F29-A440-9F6175C607?>
<?define IdSafeLanguage = is_IS?>
<?elseif $(var.Language) = it-IT?>
<?define CompGUIDPrefix = 1C4F8911-96E4-4903-A92B-CD48BF09DE?>
<?define IdSafeLanguage = it_IT?>
<?elseif $(var.Language) = ja-JP?>
<?define CompGUIDPrefix = EF51BC22-3D3E-4767-8558-BE43F729FD?>
<?define IdSafeLanguage = ja_JP?>
<?elseif $(var.Language) = ka-GE?>
<?define CompGUIDPrefix = 7F625700-74B5-4F55-8F80-E86B4DC784?>
<?define IdSafeLanguage = ka_GE?>
<?elseif $(var.Language) = kk-KZ?>
<?define CompGUIDPrefix = 3F4019C3-2FA3-48BA-9096-C02E6679B5?>
<?define IdSafeLanguage = kk_KZ?>
<?elseif $(var.Language) = ko-KR?>
<?define CompGUIDPrefix = F6C1AAAD-1917-48AC-B89A-3953D01C20?>
<?define IdSafeLanguage = ko_KR?>
<?elseif $(var.Language) = lt-LT?>
<?define CompGUIDPrefix = 6E48287B-937D-43D0-A7FB-161717D5E2?>
<?define IdSafeLanguage = lt_LT?>
<?elseif $(var.Language) = lv-LV?>
<?define CompGUIDPrefix = F2E02A03-361C-43FA-ACFA-53369774A6?>
<?define IdSafeLanguage = lv_LV?>
<?elseif $(var.Language) = ms-MY?>
<?define CompGUIDPrefix = 4D141E3C-7F30-4689-9D8D-36C1245845?>
<?define IdSafeLanguage = ms_MY?>
<?elseif $(var.Language) = nb-NO?>
<?define CompGUIDPrefix = 939F5123-0700-4C0C-891F-04E331FC5E?>
<?define IdSafeLanguage = nb_NO?>
<?elseif $(var.Language) = nl-NL?>
<?define CompGUIDPrefix = 5E97EAE0-F207-47F1-B4BD-12113D983C?>
<?define IdSafeLanguage = nl_NL?>
<?elseif $(var.Language) = nn-NO?>
<?define CompGUIDPrefix = A1E74004-671D-46DC-AECD-826D068B26?>
<?define IdSafeLanguage = nn_NO?>
<?elseif $(var.Language) = pl-PL?>
<?define CompGUIDPrefix = E1D983A8-D406-4C60-AE61-9F362CBEF2?>
<?define IdSafeLanguage = pl_PL?>
<?elseif $(var.Language) = pt-BR?>
<?define CompGUIDPrefix = E6E4AF39-7758-4F52-B6CA-CD6D4513B7?>
<?define IdSafeLanguage = pt_BR?>
<?elseif $(var.Language) = pt-PT?>
<?define CompGUIDPrefix = 8F4BB964-3EB7-4D91-816D-D0E25D69D0?>
<?define IdSafeLanguage = pt_PT?>
<?elseif $(var.Language) = ro-RO?>
<?define CompGUIDPrefix = 8324BA46-F54F-4696-B348-3193856660?>
<?define IdSafeLanguage = ro_RO?>
<?elseif $(var.Language) = ru-RU?>
<?define CompGUIDPrefix = 13BB6E4C-A928-4FD5-A0CA-CE45B8B857?>
<?define IdSafeLanguage = ru_RU?>
<?elseif $(var.Language) = sk-SK?>
<?define CompGUIDPrefix = 63D22C1D-D00A-4194-B64F-9CA2DF93D5?>
<?define IdSafeLanguage = sk_SK?>
<?elseif $(var.Language) = sl-SI?>
<?define CompGUIDPrefix = C007A438-5EBD-4E2A-9E03-8C9521762B?>
<?define IdSafeLanguage = sl_SI?>
<?elseif $(var.Language) = sq-AL?>
<?define CompGUIDPrefix = 9058E23A-A9DD-45A2-A85C-5DE97D0F2A?>
<?define IdSafeLanguage = sq_AL?>
<?elseif $(var.Language) = sr-Cyrl-RS?>
<?define CompGUIDPrefix = 7D21E8FC-368D-4393-A055-44D742C7A0?>
<?define IdSafeLanguage = sr_Cyrl_RS?>
<?elseif $(var.Language) = sr-Latn-RS?>
<?define CompGUIDPrefix = F8B974A0-4BEA-44F7-8603-7D9BE3003F?>
<?define IdSafeLanguage = sr_Latn_RS?>
<?elseif $(var.Language) = sv-SE?>
<?define CompGUIDPrefix = A56ECD85-B52C-421D-8C8A-CBADE0A92F?>
<?define IdSafeLanguage = sv_SE?>
<?elseif $(var.Language) = th-TH?>
<?define CompGUIDPrefix = C71B1361-A45E-42AB-8A20-95ED3AF74E?>
<?define IdSafeLanguage = th_TH?>
<?elseif $(var.Language) = tr-TR?>
<?define CompGUIDPrefix = 025B5CE3-6470-4C01-A606-DFC74A47E0?>
<?define IdSafeLanguage = tr_TR?>
<?elseif $(var.Language) = uk-UA?>
<?define CompGUIDPrefix = AD78BE3F-6A3B-414D-AAEC-BC4C801B64?>
<?define IdSafeLanguage = uk_UA?>
<?elseif $(var.Language) = vi-VN?>
<?define CompGUIDPrefix = 9F21001A-87DA-4D9E-A298-FEDC375D0C?>
<?define IdSafeLanguage = vi_VN?>
<?elseif $(var.Language) = zh-CN?>
<?define CompGUIDPrefix = C8BB7DD7-EB7B-478E-925D-6F64107590?>
<?define IdSafeLanguage = zh_CN?>
<?elseif $(var.Language) = zh-TW?>
<?define CompGUIDPrefix = E472BBC5-604D-44A2-8B95-3A456CFF56?>
<?define IdSafeLanguage = zh_TW?>
<?else?>
<?define IdSafeLanguage = $(var.Language)?>
<?define CompGUIDPrefix = 51B656B3-2D45-49D8-9871-F0A1C8BEEE?>
<?endif?>
<Component Id="WinUI3Apps_WinAppSDKLoc_$(var.IdSafeLanguage)_Component" Directory="WinAppSDKLoc$(var.IdSafeLanguage)WinUI3AppsInstallFolder" Guid="$(var.CompGUIDPrefix)01">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="WinUI3Apps_WinAppSDKLoc_$(var.IdSafeLanguage)_Component" Value="" KeyPath="yes" />
</RegistryKey>
<File Id="WinUI3Apps_WinAppSDKLoc_$(var.IdSafeLanguage)_XamlMui_File" Source="$(var.BinDir)WinUI3Apps\$(var.Language)\Microsoft.ui.xaml.dll.mui" />
<File Id="WinUI3Apps_WinAppSDKLoc_$(var.IdSafeLanguage)_XamlPhoneMui_File" Source="$(var.BinDir)WinUI3Apps\$(var.Language)\Microsoft.UI.Xaml.Phone.dll.mui" />
</Component>
<?undef IdSafeLanguage?>
<?undef CompGUIDPrefix?>
<?endforeach?>
<Component Id="RemoveWinAppSDKFolder" Guid="1BBAA49F-3B2E-455C-A615-EEB079CB9A8B" Directory="WinUI3AppsInstallFolder">
<RegistryKey Root="$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveWinAppSDKFolder" Value="" KeyPath="yes" />
</RegistryKey>
<?foreach Language in $(var.WinAppSDKLocLanguageList)?>
<?if $(var.Language) = af-ZA?>
<?define IdSafeLanguage = af_ZA?>
<?elseif $(var.Language) = ar-SA?>
<?define IdSafeLanguage = ar_SA?>
<?elseif $(var.Language) = az-Latn-AZ?>
<?define IdSafeLanguage = az_Latn_AZ?>
<?elseif $(var.Language) = bg-BG?>
<?define IdSafeLanguage = bg_BG?>
<?elseif $(var.Language) = bs-Latn-BA?>
<?define IdSafeLanguage = bs_Latn_BA?>
<?elseif $(var.Language) = ca-ES?>
<?define IdSafeLanguage = ca_ES?>
<?elseif $(var.Language) = cs-CZ?>
<?define IdSafeLanguage = cs_CZ?>
<?elseif $(var.Language) = cy-GB?>
<?define IdSafeLanguage = cy_GB?>
<?elseif $(var.Language) = da-DK?>
<?define IdSafeLanguage = da_DK?>
<?elseif $(var.Language) = de-DE?>
<?define IdSafeLanguage = de_DE?>
<?elseif $(var.Language) = el-GR?>
<?define IdSafeLanguage = el_GR?>
<?elseif $(var.Language) = en-GB?>
<?define IdSafeLanguage = en_GB?>
<?elseif $(var.Language) = en-us?>
<?define IdSafeLanguage = en_us?>
<?elseif $(var.Language) = es-ES?>
<?define IdSafeLanguage = es_ES?>
<?elseif $(var.Language) = es-MX?>
<?define IdSafeLanguage = es_MX?>
<?elseif $(var.Language) = et-EE?>
<?define IdSafeLanguage = et_EE?>
<?elseif $(var.Language) = eu-ES?>
<?define IdSafeLanguage = eu_ES?>
<?elseif $(var.Language) = fa-IR?>
<?define IdSafeLanguage = fa_IR?>
<?elseif $(var.Language) = fi-FI?>
<?define IdSafeLanguage = fi_FI?>
<?elseif $(var.Language) = fr-CA?>
<?define IdSafeLanguage = fr_CA?>
<?elseif $(var.Language) = fr-FR?>
<?define IdSafeLanguage = fr_FR?>
<?elseif $(var.Language) = gl-ES?>
<?define IdSafeLanguage = gl_ES?>
<?elseif $(var.Language) = he-IL?>
<?define IdSafeLanguage = he_IL?>
<?elseif $(var.Language) = hi-IN?>
<?define IdSafeLanguage = hi_IN?>
<?elseif $(var.Language) = hr-HR?>
<?define IdSafeLanguage = hr_HR?>
<?elseif $(var.Language) = hu-HU?>
<?define IdSafeLanguage = hu_HU?>
<?elseif $(var.Language) = id-ID?>
<?define IdSafeLanguage = id_ID?>
<?elseif $(var.Language) = is-IS?>
<?define IdSafeLanguage = is_IS?>
<?elseif $(var.Language) = it-IT?>
<?define IdSafeLanguage = it_IT?>
<?elseif $(var.Language) = ja-JP?>
<?define IdSafeLanguage = ja_JP?>
<?elseif $(var.Language) = ka-GE?>
<?define IdSafeLanguage = ka_GE?>
<?elseif $(var.Language) = kk-KZ?>
<?define IdSafeLanguage = kk_KZ?>
<?elseif $(var.Language) = ko-KR?>
<?define IdSafeLanguage = ko_KR?>
<?elseif $(var.Language) = lt-LT?>
<?define IdSafeLanguage = lt_LT?>
<?elseif $(var.Language) = lv-LV?>
<?define IdSafeLanguage = lv_LV?>
<?elseif $(var.Language) = ms-MY?>
<?define IdSafeLanguage = ms_MY?>
<?elseif $(var.Language) = nb-NO?>
<?define IdSafeLanguage = nb_NO?>
<?elseif $(var.Language) = nl-NL?>
<?define IdSafeLanguage = nl_NL?>
<?elseif $(var.Language) = nn-NO?>
<?define IdSafeLanguage = nn_NO?>
<?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) = ro-RO?>
<?define IdSafeLanguage = ro_RO?>
<?elseif $(var.Language) = ru-RU?>
<?define IdSafeLanguage = ru_RU?>
<?elseif $(var.Language) = sk-SK?>
<?define IdSafeLanguage = sk_SK?>
<?elseif $(var.Language) = sl-SI?>
<?define IdSafeLanguage = sl_SI?>
<?elseif $(var.Language) = sq-AL?>
<?define IdSafeLanguage = sq_AL?>
<?elseif $(var.Language) = sr-Cyrl-RS?>
<?define IdSafeLanguage = sr_Cyrl_RS?>
<?elseif $(var.Language) = sr-Latn-RS?>
<?define IdSafeLanguage = sr_Latn_RS?>
<?elseif $(var.Language) = sv-SE?>
<?define IdSafeLanguage = sv_SE?>
<?elseif $(var.Language) = th-TH?>
<?define IdSafeLanguage = th_TH?>
<?elseif $(var.Language) = tr-TR?>
<?define IdSafeLanguage = tr_TR?>
<?elseif $(var.Language) = uk-UA?>
<?define IdSafeLanguage = uk_UA?>
<?elseif $(var.Language) = vi-VN?>
<?define IdSafeLanguage = vi_VN?>
<?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="RemoveFolderWinAppSDKLoc$(var.IdSafeLanguage)WinUI3AppsInstallFolder" Directory="WinAppSDKLoc$(var.IdSafeLanguage)WinUI3AppsInstallFolder" On="uninstall" />
<?undef IdSafeLanguage?>
<?endforeach?>
<RemoveFolder Id="RemoveFolderWinUI3AppsMicrosoftUIXamlInstallFolder" Directory="WinUI3AppsMicrosoftUIXamlInstallFolder" On="uninstall" />
<RemoveFolder Id="RemoveFolderWinUI3AppsMicrosoftUIXamlAssetsInstallFolder" Directory="WinUI3AppsMicrosoftUIXamlAssetsInstallFolder" On="uninstall" />
</Component>
<ComponentRef Id="WinUI3AppsMicrosoftUIXamlAssets_NoiseAsset_256x256_PNG.png" />
<ComponentRef Id="WinUI3AppsMicrosoftUIXamlAssets_map.html" />
</ComponentGroup>
</Fragment>
</Wix>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,40 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Common.wxi?>
<?define WorkspacesImagesComponentFiles=DefaultIcon.ico;Workspaces.icoDefaultIcon.ico;Workspaces.icoDefaultIcon.ico;Workspaces.ico?>
<?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 -->
<Component Id="WorkspacesImagesComponentFiles_Component" Win64="yes" Guid="D2046E1A-B47F-48D0-A9EF-A785B4081361">
<RegistryKey Root="HKLM" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="WorkspacesImagesComponentFiles_Component" Value="" KeyPath="yes"/>
</RegistryKey>
<File Id="WorkspacesImagesComponentFiles_File_" Source="$(var.WorkspacesImagesComponentFilesPath)\" />
</Component>
</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>
<ComponentRef Id="WorkspacesImagesComponentFiles_Component" />
<ComponentRef Id="WorkspacesImagesComponentFiles_Component" />
<ComponentRef Id="WorkspacesImagesComponentFiles_Component" />
<ComponentRef Id="WorkspacesImagesComponentFiles_Component" />
</ComponentGroup>
</Fragment>
</Wix>

View File

@@ -0,0 +1,323 @@
[CmdletBinding()]
Param(
[Parameter(Mandatory = $True, Position = 1)]
[string]$platform,
[Parameter(Mandatory = $False, Position = 2)]
[string]$installscopeperuser = "false"
)
Function Generate-FileList() {
[CmdletBinding()]
Param(
# Can be multiple files separated by ; as long as they're on the same directory
[Parameter(Mandatory = $True, Position = 1)]
[AllowEmptyString()]
[string]$fileDepsJson,
[Parameter(Mandatory = $True, Position = 2)]
[string]$fileListName,
[Parameter(Mandatory = $True, Position = 3)]
[string]$wxsFilePath,
# If there is no deps.json file, just pass path to files
[Parameter(Mandatory = $False, Position = 4)]
[string]$depsPath,
# launcher plugins are being loaded into launcher process,
# so there are some additional dependencies to skip
[Parameter(Mandatory = $False, Position = 5)]
[bool]$isLauncherPlugin
)
$fileWxs = Get-Content $wxsFilePath;
$fileExclusionList = @("*.pdb", "*.lastcodeanalysissucceeded", "createdump.exe", "powertoys.exe")
$fileInclusionList = @("*.dll", "*.exe", "*.json", "*.msix", "*.png", "*.gif", "*.ico", "*.cur", "*.svg", "index.html", "reg.js", "gitignore.js", "srt.js", "monacoSpecialLanguages.js", "customTokenThemeRules.js", "*.pri")
$dllsToIgnore = @("System.CodeDom.dll", "WindowsBase.dll")
if ($fileDepsJson -eq [string]::Empty) {
$fileDepsRoot = $depsPath
} else {
$multipleDepsJson = $fileDepsJson.Split(";")
foreach ( $singleDepsJson in $multipleDepsJson )
{
$fileDepsRoot = (Get-ChildItem $singleDepsJson).Directory.FullName
$depsJson = Get-Content $singleDepsJson | ConvertFrom-Json
$runtimeList = ([array]$depsJson.targets.PSObject.Properties)[-1].Value.PSObject.Properties | Where-Object {
$_.Name -match "runtimepack.*Runtime"
};
$runtimeList | ForEach-Object {
$_.Value.PSObject.Properties.Value | ForEach-Object {
$fileExclusionList += $_.PSObject.Properties.Name
}
}
}
}
$fileExclusionList = $fileExclusionList | Where-Object {$_ -notin $dllsToIgnore}
if ($isLauncherPlugin -eq $True) {
$fileInclusionList += @("*.deps.json")
$fileExclusionList += @("Ijwhost.dll", "PowerToys.Common.UI.dll", "PowerToys.GPOWrapper.dll", "PowerToys.GPOWrapperProjection.dll", "PowerToys.PowerLauncher.Telemetry.dll", "PowerToys.ManagedCommon.dll", "PowerToys.Settings.UI.Lib.dll", "Wox.Infrastructure.dll", "Wox.Plugin.dll")
}
$fileList = Get-ChildItem $fileDepsRoot -Include $fileInclusionList -Exclude $fileExclusionList -File -Name
$fileWxs = $fileWxs -replace "(<\?define $($fileListName)=)", "<?define $fileListName=$($fileList -join ';')"
Set-Content -Path $wxsFilePath -Value $fileWxs
}
Function Generate-FileComponents() {
[CmdletBinding()]
Param(
[Parameter(Mandatory = $True, Position = 1)]
[string]$fileListName,
[Parameter(Mandatory = $True, Position = 2)]
[string]$wxsFilePath,
[Parameter(Mandatory = $True, Position = 3)]
[string]$regroot
)
$wxsFile = Get-Content $wxsFilePath;
$wxsFile | ForEach-Object {
if ($_ -match "(<?define $fileListName=)(.*)\?>") {
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', 'fileList',
Justification = 'variable is used in another scope')]
$fileList = $matches[2] -split ';'
return
}
}
$componentId = "$($fileListName)_Component"
$componentDefs = "`r`n"
$componentDefs +=
@"
<Component Id="$($componentId)" Win64="yes" Guid="$((New-Guid).ToString().ToUpper())">
<RegistryKey Root="$($regroot)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="$($componentId)" Value="" KeyPath="yes"/>
</RegistryKey>`r`n
"@
foreach ($file in $fileList) {
$fileTmp = $file -replace "-", "_"
$componentDefs +=
@"
<File Id="$($fileListName)_File_$($fileTmp)" Source="`$(var.$($fileListName)Path)\$($file)" />`r`n
"@
}
$componentDefs +=
@"
</Component>`r`n
"@
$wxsFile = $wxsFile -replace "\s+(<!--$($fileListName)_Component_Def-->)", $componentDefs
$componentRef =
@"
<ComponentRef Id="$($componentId)" />
"@
$wxsFile = $wxsFile -replace "\s+(</ComponentGroup>)", "$componentRef`r`n </ComponentGroup>"
Set-Content -Path $wxsFilePath -Value $wxsFile
}
if ($platform -ceq "arm64") {
$platform = "ARM64"
}
if ($installscopeperuser -eq "true") {
$registryroot = "HKCU"
} else {
$registryroot = "HKLM"
}
#BaseApplications
Generate-FileList -fileDepsJson "" -fileListName BaseApplicationsFiles -wxsFilePath $PSScriptRoot\BaseApplications.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release"
Generate-FileComponents -fileListName "BaseApplicationsFiles" -wxsFilePath $PSScriptRoot\BaseApplications.wxs -regroot $registryroot
#WinUI3Applications
Generate-FileList -fileDepsJson "" -fileListName WinUI3ApplicationsFiles -wxsFilePath $PSScriptRoot\WinUI3Applications.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\WinUI3Apps"
Generate-FileComponents -fileListName "WinUI3ApplicationsFiles" -wxsFilePath $PSScriptRoot\WinUI3Applications.wxs -regroot $registryroot
#AdvancedPaste
Generate-FileList -fileDepsJson "" -fileListName AdvancedPasteAssetsFiles -wxsFilePath $PSScriptRoot\AdvancedPaste.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\WinUI3Apps\Assets\AdvancedPaste"
Generate-FileComponents -fileListName "AdvancedPasteAssetsFiles" -wxsFilePath $PSScriptRoot\AdvancedPaste.wxs -regroot $registryroot
#AwakeFiles
Generate-FileList -fileDepsJson "" -fileListName AwakeImagesFiles -wxsFilePath $PSScriptRoot\Awake.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\Assets\Awake"
Generate-FileComponents -fileListName "AwakeImagesFiles" -wxsFilePath $PSScriptRoot\Awake.wxs -regroot $registryroot
#ColorPicker
Generate-FileList -fileDepsJson "" -fileListName ColorPickerAssetsFiles -wxsFilePath $PSScriptRoot\ColorPicker.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\Assets\ColorPicker"
Generate-FileComponents -fileListName "ColorPickerAssetsFiles" -wxsFilePath $PSScriptRoot\ColorPicker.wxs -regroot $registryroot
#Environment Variables
Generate-FileList -fileDepsJson "" -fileListName EnvironmentVariablesAssetsFiles -wxsFilePath $PSScriptRoot\EnvironmentVariables.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\WinUI3Apps\Assets\EnvironmentVariables"
Generate-FileComponents -fileListName "EnvironmentVariablesAssetsFiles" -wxsFilePath $PSScriptRoot\EnvironmentVariables.wxs -regroot $registryroot
#FileExplorerAdd-ons
Generate-FileList -fileDepsJson "" -fileListName MonacoPreviewHandlerMonacoAssetsFiles -wxsFilePath $PSScriptRoot\FileExplorerPreview.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\Assets\Monaco"
Generate-FileList -fileDepsJson "" -fileListName MonacoPreviewHandlerCustomLanguagesFiles -wxsFilePath $PSScriptRoot\FileExplorerPreview.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\Assets\Monaco\customLanguages"
Generate-FileComponents -fileListName "MonacoPreviewHandlerMonacoAssetsFiles" -wxsFilePath $PSScriptRoot\FileExplorerPreview.wxs -regroot $registryroot
Generate-FileComponents -fileListName "MonacoPreviewHandlerCustomLanguagesFiles" -wxsFilePath $PSScriptRoot\FileExplorerPreview.wxs -regroot $registryroot
#FileLocksmith
Generate-FileList -fileDepsJson "" -fileListName FileLocksmithAssetsFiles -wxsFilePath $PSScriptRoot\FileLocksmith.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\WinUI3Apps\Assets\FileLocksmith"
Generate-FileComponents -fileListName "FileLocksmithAssetsFiles" -wxsFilePath $PSScriptRoot\FileLocksmith.wxs -regroot $registryroot
#Hosts
Generate-FileList -fileDepsJson "" -fileListName HostsAssetsFiles -wxsFilePath $PSScriptRoot\Hosts.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\WinUI3Apps\Assets\Hosts"
Generate-FileComponents -fileListName "HostsAssetsFiles" -wxsFilePath $PSScriptRoot\Hosts.wxs -regroot $registryroot
#ImageResizer
Generate-FileList -fileDepsJson "" -fileListName ImageResizerAssetsFiles -wxsFilePath $PSScriptRoot\ImageResizer.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\Assets\ImageResizer"
Generate-FileComponents -fileListName "ImageResizerAssetsFiles" -wxsFilePath $PSScriptRoot\ImageResizer.wxs -regroot $registryroot
#New+
Generate-FileList -fileDepsJson "" -fileListName NewPlusAssetsFiles -wxsFilePath $PSScriptRoot\NewPlus.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\WinUI3Apps\Assets\NewPlus"
Generate-FileComponents -fileListName "NewPlusAssetsFiles" -wxsFilePath $PSScriptRoot\NewPlus.wxs -regroot $registryroot
#Peek
Generate-FileList -fileDepsJson "" -fileListName PeekAssetsFiles -wxsFilePath $PSScriptRoot\Peek.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\WinUI3Apps\Assets\Peek\"
Generate-FileComponents -fileListName "PeekAssetsFiles" -wxsFilePath $PSScriptRoot\Peek.wxs -regroot $registryroot
#PowerRename
Generate-FileList -fileDepsJson "" -fileListName PowerRenameAssetsFiles -wxsFilePath $PSScriptRoot\PowerRename.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\WinUI3Apps\Assets\PowerRename\"
Generate-FileComponents -fileListName "PowerRenameAssetsFiles" -wxsFilePath $PSScriptRoot\PowerRename.wxs -regroot $registryroot
#RegistryPreview
Generate-FileList -fileDepsJson "" -fileListName RegistryPreviewAssetsFiles -wxsFilePath $PSScriptRoot\RegistryPreview.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\WinUI3Apps\Assets\RegistryPreview\"
Generate-FileComponents -fileListName "RegistryPreviewAssetsFiles" -wxsFilePath $PSScriptRoot\RegistryPreview.wxs -regroot $registryroot
#Run
Generate-FileList -fileDepsJson "" -fileListName launcherImagesComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\Assets\PowerLauncher"
Generate-FileComponents -fileListName "launcherImagesComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
## Plugins
###Calculator
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Calculator\Microsoft.PowerToys.Run.Plugin.Calculator.deps.json" -fileListName calcComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName calcImagesComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Calculator\Images"
Generate-FileComponents -fileListName "calcComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "calcImagesComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###Folder
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Folder\Microsoft.Plugin.Folder.deps.json" -fileListName FolderComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName FolderImagesComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Folder\Images"
Generate-FileComponents -fileListName "FolderComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "FolderImagesComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###Program
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Program\Microsoft.Plugin.Program.deps.json" -fileListName ProgramComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName ProgramImagesComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Program\Images"
Generate-FileComponents -fileListName "ProgramComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "ProgramImagesComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###Shell
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Shell\Microsoft.Plugin.Shell.deps.json" -fileListName ShellComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName ShellImagesComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Shell\Images"
Generate-FileComponents -fileListName "ShellComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "ShellImagesComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###Indexer
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Indexer\Microsoft.Plugin.Indexer.deps.json" -fileListName IndexerComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName IndexerImagesComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Indexer\Images"
Generate-FileComponents -fileListName "IndexerComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "IndexerImagesComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###UnitConverter
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\UnitConverter\Community.PowerToys.Run.Plugin.UnitConverter.deps.json" -fileListName UnitConvCompFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName UnitConvImagesCompFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\UnitConverter\Images"
Generate-FileComponents -fileListName "UnitConvCompFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "UnitConvImagesCompFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###WebSearch
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\WebSearch\Community.PowerToys.Run.Plugin.WebSearch.deps.json" -fileListName WebSrchCompFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName WebSrchImagesCompFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\WebSearch\Images"
Generate-FileComponents -fileListName "WebSrchCompFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "WebSrchImagesCompFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###History
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\History\Microsoft.PowerToys.Run.Plugin.History.deps.json" -fileListName HistoryPluginComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName HistoryPluginImagesComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\History\Images"
Generate-FileComponents -fileListName "HistoryPluginComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "HistoryPluginImagesComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###Uri
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Uri\Microsoft.Plugin.Uri.deps.json" -fileListName UriComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName UriImagesComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Uri\Images"
Generate-FileComponents -fileListName "UriComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "UriImagesComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###VSCodeWorkspaces
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\VSCodeWorkspaces\Community.PowerToys.Run.Plugin.VSCodeWorkspaces.deps.json" -fileListName VSCWrkCompFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName VSCWrkImagesCompFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\VSCodeWorkspaces\Images"
Generate-FileComponents -fileListName "VSCWrkCompFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "VSCWrkImagesCompFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###WindowWalker
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\WindowWalker\Microsoft.Plugin.WindowWalker.deps.json" -fileListName WindowWlkrCompFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName WindowWlkrImagesCompFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\WindowWalker\Images"
Generate-FileComponents -fileListName "WindowWlkrCompFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "WindowWlkrImagesCompFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###OneNote
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\OneNote\Microsoft.PowerToys.Run.Plugin.OneNote.deps.json" -fileListName OneNoteComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName OneNoteImagesComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\OneNote\Images"
Generate-FileComponents -fileListName "OneNoteComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "OneNoteImagesComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###Registry
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Registry\Microsoft.PowerToys.Run.Plugin.Registry.deps.json" -fileListName RegistryComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName RegistryImagesComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Registry\Images"
Generate-FileComponents -fileListName "RegistryComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "RegistryImagesComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###Service
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Service\Microsoft.PowerToys.Run.Plugin.Service.deps.json" -fileListName ServiceComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName ServiceImagesComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\Service\Images"
Generate-FileComponents -fileListName "ServiceComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "ServiceImagesComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###System
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\System\Microsoft.PowerToys.Run.Plugin.System.deps.json" -fileListName SystemComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName SystemImagesComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\System\Images"
Generate-FileComponents -fileListName "SystemComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "SystemImagesComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###TimeDate
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\TimeDate\Microsoft.PowerToys.Run.Plugin.TimeDate.deps.json" -fileListName TimeDateComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName TimeDateImagesComponentFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\TimeDate\Images"
Generate-FileComponents -fileListName "TimeDateComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "TimeDateImagesComponentFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###WindowsSettings
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\WindowsSettings\Microsoft.PowerToys.Run.Plugin.WindowsSettings.deps.json" -fileListName WinSetCmpFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName WinSetImagesCmpFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\WindowsSettings\Images"
Generate-FileComponents -fileListName "WinSetCmpFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "WinSetImagesCmpFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###WindowsTerminal
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\WindowsTerminal\Microsoft.PowerToys.Run.Plugin.WindowsTerminal.deps.json" -fileListName WinTermCmpFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName WinTermImagesCmpFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\WindowsTerminal\Images"
Generate-FileComponents -fileListName "WinTermCmpFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "WinTermImagesCmpFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###PowerToys
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\PowerToys\Microsoft.PowerToys.Run.Plugin.PowerToys.deps.json" -fileListName PowerToysCmpFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName PowerToysImagesCmpFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\PowerToys\Images"
Generate-FileComponents -fileListName "PowerToysCmpFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "PowerToysImagesCmpFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
###ValueGenerator
Generate-FileList -fileDepsJson "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\ValueGenerator\Community.PowerToys.Run.Plugin.ValueGenerator.deps.json" -fileListName ValueGeneratorCmpFiles -wxsFilePath $PSScriptRoot\Run.wxs -isLauncherPlugin 1
Generate-FileList -fileDepsJson "" -fileListName ValueGeneratorImagesCmpFiles -wxsFilePath $PSScriptRoot\Run.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\RunPlugins\ValueGenerator\Images"
Generate-FileComponents -fileListName "ValueGeneratorCmpFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
Generate-FileComponents -fileListName "ValueGeneratorImagesCmpFiles" -wxsFilePath $PSScriptRoot\Run.wxs -regroot $registryroot
## Plugins
#ShortcutGuide
Generate-FileList -fileDepsJson "" -fileListName ShortcutGuideSvgFiles -wxsFilePath $PSScriptRoot\ShortcutGuide.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\Assets\ShortcutGuide\"
Generate-FileComponents -fileListName "ShortcutGuideSvgFiles" -wxsFilePath $PSScriptRoot\ShortcutGuide.wxs -regroot $registryroot
#Settings
Generate-FileList -fileDepsJson "" -fileListName SettingsV2AssetsFiles -wxsFilePath $PSScriptRoot\Settings.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\WinUI3Apps\Assets\Settings\"
Generate-FileList -fileDepsJson "" -fileListName SettingsV2AssetsModulesFiles -wxsFilePath $PSScriptRoot\Settings.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\WinUI3Apps\Assets\Settings\Modules\"
Generate-FileList -fileDepsJson "" -fileListName SettingsV2OOBEAssetsModulesFiles -wxsFilePath $PSScriptRoot\Settings.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\WinUI3Apps\Assets\Settings\Modules\OOBE\"
Generate-FileList -fileDepsJson "" -fileListName SettingsV2OOBEAssetsFluentIconsFiles -wxsFilePath $PSScriptRoot\Settings.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\WinUI3Apps\Assets\Settings\Icons\"
Generate-FileComponents -fileListName "SettingsV2AssetsFiles" -wxsFilePath $PSScriptRoot\Settings.wxs -regroot $registryroot
Generate-FileComponents -fileListName "SettingsV2AssetsModulesFiles" -wxsFilePath $PSScriptRoot\Settings.wxs -regroot $registryroot
Generate-FileComponents -fileListName "SettingsV2OOBEAssetsModulesFiles" -wxsFilePath $PSScriptRoot\Settings.wxs -regroot $registryroot
Generate-FileComponents -fileListName "SettingsV2OOBEAssetsFluentIconsFiles" -wxsFilePath $PSScriptRoot\Settings.wxs -regroot $registryroot
#Workspaces
Generate-FileList -fileDepsJson "" -fileListName WorkspacesImagesComponentFiles -wxsFilePath $PSScriptRoot\Workspaces.wxs -depsPath "$PSScriptRoot..\..\..\$platform\Release\Assets\Workspaces\"
Generate-FileComponents -fileListName "WorkspacesImagesComponentFiles" -wxsFilePath $PSScriptRoot\Workspaces.wxs -regroot $registryroot

View File

@@ -0,0 +1,70 @@
[CmdletBinding()]
Param(
[Parameter(Mandatory = $True, Position = 1)]
[string]$monacoWxsFile
)
$fileWxs = Get-Content $monacoWxsFile;
$fileWxs = $fileWxs -replace " KeyPath=`"yes`" ", " "
$newFileContent = ""
$componentId = "error"
$directories = @()
$fileWxs | ForEach-Object {
$line = $_;
if ($line -match "<Wix xmlns=`".*`">") {
$line +=
@"
`r`n
<?include `$(sys.CURRENTDIR)\Common.wxi?>`r`n
"@
}
if ($line -match "<Component Id=`"(.*)`" Directory") {
$componentId = $matches[1]
}
if ($line -match "<Directory Id=`"(.*)`" Name=`".*`" />") {
$directories += $matches[1]
}
if ($line -match "</Component>") {
$line =
@"
<RegistryKey Root="`$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="$($componentId)" Value="" KeyPath="yes"/>
</RegistryKey>
</Component>
"@
}
$newFileContent += $line + "`r`n";
}
$removeFolderEntries =
@"
`r`n <Component Id="RemoveMonacoSRCFolders" Guid="$((New-Guid).ToString().ToUpper())" Directory="MonacoPreviewHandlerMonacoSRCFolder" >
<RegistryKey Root="`$(var.RegistryScope)" Key="Software\Classes\powertoys\components">
<RegistryValue Type="string" Name="RemoveMonacoSRCFolders" Value="" KeyPath="yes"/>
</RegistryKey>`r`n
"@
$directories | ForEach-Object {
$removeFolderEntries +=
@"
<RemoveFolder Id="Remove$($_)" Directory="$($_)" On="uninstall"/>
"@
}
$removeFolderEntries +=
@"
</Component>
"@
$newFileContent = $newFileContent -replace "\s+(</ComponentGroup>)", "$removeFolderEntries`r`n </ComponentGroup>"
Set-Content -Path $monacoWxsFile -Value $newFileContent

View File

@@ -0,0 +1,17 @@
setlocal enableDelayedExpansion
IF NOT DEFINED PTRoot (SET PTRoot=..\..)
SET PlatformArg=%1
IF NOT DEFINED PlatformArg (SET PlatformArg=x64)
SET VCToolsVersion=!VCToolsVersion!
SET ClearDevCommandPromptEnvVars=false
rem In case of Release we should not use Debug CRT in VCRT forwarders
msbuild !PTRoot!\src\modules\previewpane\MonacoPreviewHandler\MonacoPreviewHandler.csproj -t:Publish -p:Configuration="Release" -p:Platform="!PlatformArg!" -p:AppxBundle=Never -p:PowerToysRoot=!PTRoot! -p:VCRTForwarders-IncludeDebugCRT=false -p:PublishProfile=InstallationPublishProfile.pubxml
msbuild !PTRoot!\src\modules\previewpane\MarkdownPreviewHandler\MarkdownPreviewHandler.csproj -t:Publish -p:Configuration="Release" -p:Platform="!PlatformArg!" -p:AppxBundle=Never -p:PowerToysRoot=!PTRoot! -p:VCRTForwarders-IncludeDebugCRT=false -p:PublishProfile=InstallationPublishProfile.pubxml
msbuild !PTRoot!\src\modules\previewpane\SvgPreviewHandler\SvgPreviewHandler.csproj -t:Publish -p:Configuration="Release" -p:Platform="!PlatformArg!" -p:AppxBundle=Never -p:PowerToysRoot=!PTRoot! -p:VCRTForwarders-IncludeDebugCRT=false -p:PublishProfile=InstallationPublishProfile.pubxml
msbuild !PTRoot!\src\modules\previewpane\SvgThumbnailProvider\SvgThumbnailProvider.csproj -t:Publish -p:Configuration="Release" -p:Platform="!PlatformArg!" -p:AppxBundle=Never -p:PowerToysRoot=!PTRoot! -p:VCRTForwarders-IncludeDebugCRT=false -p:PublishProfile=InstallationPublishProfile.pubxml

View File

@@ -0,0 +1,12 @@
@echo off
setlocal ENABLEDELAYEDEXPANSION
@REM We loop here until taskkill cannot find a PowerToys process. We can't use /F flag, because it
@REM doesn't give application an opportunity to cleanup. Thus we send WM_CLOSE which is being caught
@REM by multiple windows running a msg loop in PowerToys.exe process, which we close one by one.
for /l %%x in (1, 1, 100) do (
taskkill /IM PowerToys.exe 1>NUL 2>NUL
if !ERRORLEVEL! NEQ 0 goto quit
)
:quit

14
installer/wixVNext.props Normal file
View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="WixToolset.Sdk/5.0.2">
<PropertyGroup>
<WixInstallPath>C:\Program Files (x86)\WiX Toolset v5.0.2\bin\</WixInstallPath>
<WixExtDir>$(WixInstallPath)\</WixExtDir>
<WixTargetsPath>$(WixInstallPath)\..\wix.targets</WixTargetsPath>
<LuxTargetsPath>$(WixInstallPath)\..\lux.targets</LuxTargetsPath>
<WixTasksPath>$(WixInstallPath)\WixTasks.dll</WixTasksPath>
<WixSdkPath>$(WixInstallPath)\..\sdk\</WixSdkPath>
<WixCATargetsPath>$(WixSdkPath)\..\wix.ca.targets</WixCATargetsPath>
</PropertyGroup>
</Project>