From cc5633db3038aa70454e6b0ff4dd2bb6954c1f66 Mon Sep 17 00:00:00 2001
From: Stefan Markovic <57057282+stefansjfw@users.noreply.github.com>
Date: Mon, 23 Jan 2023 15:59:18 +0100
Subject: [PATCH] [installer] Extract module related stuff from Product.wxs to
per-module .wxs file (#23378)
* Extract module related stuff from Product.wxs to per-module .wxs file
* Spellcheck
* Minor changes
---
.github/actions/spell-check/expect.txt | 28 +-
installer/PowerToysSetup/AlwaysOnTop.wxs | 25 +
installer/PowerToysSetup/Awake.wxs | 33 +
installer/PowerToysSetup/ColorPicker.wxs | 37 +
installer/PowerToysSetup/Common.wxi | 27 +
installer/PowerToysSetup/Core.wxs | 142 ++
installer/PowerToysSetup/FancyZones.wxs | 25 +
.../PowerToysSetup/FileExplorerPreview.wxs | 35 +
installer/PowerToysSetup/FileLocksmith.wxs | 74 +
installer/PowerToysSetup/Hosts.wxs | 71 +
installer/PowerToysSetup/ImageResizer.wxs | 109 +
installer/PowerToysSetup/KeyboardManager.wxs | 36 +
installer/PowerToysSetup/MeasureTool.wxs | 46 +
installer/PowerToysSetup/MouseUtils.wxs | 28 +
installer/PowerToysSetup/PowerAccent.wxs | 26 +
installer/PowerToysSetup/PowerRename.wxs | 71 +
.../PowerToysSetup/PowerToysInstaller.wixproj | 27 +-
installer/PowerToysSetup/Product.wxs | 1855 +----------------
installer/PowerToysSetup/Resources.wxs | 318 +++
installer/PowerToysSetup/Run.wxs | 311 +++
installer/PowerToysSetup/Settings.wxs | 105 +
installer/PowerToysSetup/ShortcutGuide.wxs | 43 +
installer/PowerToysSetup/TextExtractor.wxs | 25 +
installer/PowerToysSetup/Tools.wxs | 27 +
installer/PowerToysSetup/VideoConference.wxs | 48 +
installer/PowerToysSetup/WinAppSDK.wxs | 364 ++++
.../PowerToysSetupCustomActions.vcxproj | 4 +-
27 files changed, 2093 insertions(+), 1847 deletions(-)
create mode 100644 installer/PowerToysSetup/AlwaysOnTop.wxs
create mode 100644 installer/PowerToysSetup/Awake.wxs
create mode 100644 installer/PowerToysSetup/ColorPicker.wxs
create mode 100644 installer/PowerToysSetup/Common.wxi
create mode 100644 installer/PowerToysSetup/Core.wxs
create mode 100644 installer/PowerToysSetup/FancyZones.wxs
create mode 100644 installer/PowerToysSetup/FileExplorerPreview.wxs
create mode 100644 installer/PowerToysSetup/FileLocksmith.wxs
create mode 100644 installer/PowerToysSetup/Hosts.wxs
create mode 100644 installer/PowerToysSetup/ImageResizer.wxs
create mode 100644 installer/PowerToysSetup/KeyboardManager.wxs
create mode 100644 installer/PowerToysSetup/MeasureTool.wxs
create mode 100644 installer/PowerToysSetup/MouseUtils.wxs
create mode 100644 installer/PowerToysSetup/PowerAccent.wxs
create mode 100644 installer/PowerToysSetup/PowerRename.wxs
create mode 100644 installer/PowerToysSetup/Resources.wxs
create mode 100644 installer/PowerToysSetup/Run.wxs
create mode 100644 installer/PowerToysSetup/Settings.wxs
create mode 100644 installer/PowerToysSetup/ShortcutGuide.wxs
create mode 100644 installer/PowerToysSetup/TextExtractor.wxs
create mode 100644 installer/PowerToysSetup/Tools.wxs
create mode 100644 installer/PowerToysSetup/VideoConference.wxs
create mode 100644 installer/PowerToysSetup/WinAppSDK.wxs
diff --git a/.github/actions/spell-check/expect.txt b/.github/actions/spell-check/expect.txt
index 9a5ad6f8cd..893b44edef 100644
--- a/.github/actions/spell-check/expect.txt
+++ b/.github/actions/spell-check/expect.txt
@@ -92,7 +92,6 @@ Artsakh
asdf
AShortcut
ASingle
-Asn
ASSOCCHANGED
ASYNCWINDOWPLACEMENT
ASYNCWINDOWPOS
@@ -161,7 +160,6 @@ bpmf
bpp
bricelam
BRIGHTGREEN
-Brotli
Browsable
bsd
bstr
@@ -222,10 +220,6 @@ CLIPCHILDREN
Clipperton
CLIPSIBLINGS
clrcall
-clrcompression
-clretwrc
-clrgc
-clrjit
Cls
CLSCTX
clsid
@@ -240,7 +234,6 @@ CMock
CMONITORS
cmpgt
cmyk
-Cng
cnt
Cocklebiddy
coclass
@@ -286,7 +279,6 @@ CONTROLL
CONTROLPARENT
Controlz
copiedcolorrepresentation
-coreclr
corewebview
cortana
cotaskmem
@@ -319,6 +311,7 @@ Ctx
CUI
Cunha
currentculture
+CURRENTDIR
CURSORINFO
cursorpos
customaction
@@ -350,7 +343,6 @@ davidegiacometti
Dayof
Dbg
Dbghelp
-dbgshim
DBLCLKS
DBLEPSILON
DCapture
@@ -359,7 +351,6 @@ DCOM
dcommon
dcomp
dcompi
-DCompiler
DComposition
DCR
DDevice
@@ -685,8 +676,6 @@ HOMEPATH
homljgmgpmcbpjbnjpfijnhipfkiclkd
HOOKPROC
Hostbackdropbrush
-hostfxr
-hostpolicy
hotkeycontrol
hotkeys
hotlight
@@ -758,7 +747,6 @@ IMAGERESIZEREXT
imageresizerinput
imageresizersettings
imagingdevices
-Imc
ime
imeutil
inetcpl
@@ -795,7 +783,6 @@ Intelli
interactable
Interlop
INTRESOURCE
-Intrinsics
INVALIDARG
invalidoperatioexception
ipc
@@ -833,7 +820,6 @@ jobject
jpe
jpn
jpnime
-JSONOf
Jsons
jsonval
junja
@@ -871,7 +857,6 @@ Kyrgyzstan
Kyzylorda
LAlt
Lambson
-LANGID
langword
Lastdevice
Laute
@@ -1085,10 +1070,7 @@ mru
msbuild
msc
msclr
-mscordaccore
-mscordbi
mscorlib
-mscorrc
msdata
msedge
MSGFLT
@@ -1101,7 +1083,6 @@ MSIXCA
MSLLHOOKSTRUCT
Mso
msp
-msquic
msrc
msstore
mst
@@ -1151,7 +1132,6 @@ netcpl
netframework
netsetup
netsh
-netstandard
Neue
newcolor
newdev
@@ -1328,7 +1308,6 @@ pinvoke
pipename
Pitcairn
PKBDLLHOOKSTRUCT
-Pkcs
PKEY
plib
PLK
@@ -1430,7 +1409,6 @@ QUERYENDSESSION
queryfocus
QUERYOPEN
QUEUESYNC
-Quic
Quickime
QUNS
qwertyuiopasdfghjklzxcvbnm
@@ -1537,7 +1515,6 @@ Rsp
Rstrtmgr
RTB
RTLREADING
-RTSS
ruleset
runas
rundll
@@ -1701,7 +1678,6 @@ srw
srwlock
sse
ssf
-Ssl
STACKFRAME
stackoverflow
stackpanel
@@ -2091,7 +2067,6 @@ workspaces
wox
wparam
wpf
-wpfgfx
wpftmp
wpr
wprp
@@ -2158,6 +2133,5 @@ zonable
zoneset
Zoneszonabletester
Zonev
-zopfli
Zykova
zzz
diff --git a/installer/PowerToysSetup/AlwaysOnTop.wxs b/installer/PowerToysSetup/AlwaysOnTop.wxs
new file mode 100644
index 0000000000..3ffc1b7f36
--- /dev/null
+++ b/installer/PowerToysSetup/AlwaysOnTop.wxs
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/Awake.wxs b/installer/PowerToysSetup/Awake.wxs
new file mode 100644
index 0000000000..49c8304fe7
--- /dev/null
+++ b/installer/PowerToysSetup/Awake.wxs
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/ColorPicker.wxs b/installer/PowerToysSetup/ColorPicker.wxs
new file mode 100644
index 0000000000..9c8606b52f
--- /dev/null
+++ b/installer/PowerToysSetup/ColorPicker.wxs
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/Common.wxi b/installer/PowerToysSetup/Common.wxi
new file mode 100644
index 0000000000..6aad3632b7
--- /dev/null
+++ b/installer/PowerToysSetup/Common.wxi
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/Core.wxs b/installer/PowerToysSetup/Core.wxs
new file mode 100644
index 0000000000..601500ef97
--- /dev/null
+++ b/installer/PowerToysSetup/Core.wxs
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSTALLDESKTOPSHORTCUT
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/FancyZones.wxs b/installer/PowerToysSetup/FancyZones.wxs
new file mode 100644
index 0000000000..6e07dcc4ff
--- /dev/null
+++ b/installer/PowerToysSetup/FancyZones.wxs
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/FileExplorerPreview.wxs b/installer/PowerToysSetup/FileExplorerPreview.wxs
new file mode 100644
index 0000000000..1691569c7b
--- /dev/null
+++ b/installer/PowerToysSetup/FileExplorerPreview.wxs
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/FileLocksmith.wxs b/installer/PowerToysSetup/FileLocksmith.wxs
new file mode 100644
index 0000000000..1f9edbe93b
--- /dev/null
+++ b/installer/PowerToysSetup/FileLocksmith.wxs
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/Hosts.wxs b/installer/PowerToysSetup/Hosts.wxs
new file mode 100644
index 0000000000..530bafaa3a
--- /dev/null
+++ b/installer/PowerToysSetup/Hosts.wxs
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/ImageResizer.wxs b/installer/PowerToysSetup/ImageResizer.wxs
new file mode 100644
index 0000000000..bc0de24cce
--- /dev/null
+++ b/installer/PowerToysSetup/ImageResizer.wxs
@@ -0,0 +1,109 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/KeyboardManager.wxs b/installer/PowerToysSetup/KeyboardManager.wxs
new file mode 100644
index 0000000000..1bb67443b2
--- /dev/null
+++ b/installer/PowerToysSetup/KeyboardManager.wxs
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/MeasureTool.wxs b/installer/PowerToysSetup/MeasureTool.wxs
new file mode 100644
index 0000000000..6f5412917a
--- /dev/null
+++ b/installer/PowerToysSetup/MeasureTool.wxs
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/MouseUtils.wxs b/installer/PowerToysSetup/MouseUtils.wxs
new file mode 100644
index 0000000000..0d8ed66f1a
--- /dev/null
+++ b/installer/PowerToysSetup/MouseUtils.wxs
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/PowerAccent.wxs b/installer/PowerToysSetup/PowerAccent.wxs
new file mode 100644
index 0000000000..a74b374113
--- /dev/null
+++ b/installer/PowerToysSetup/PowerAccent.wxs
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/PowerRename.wxs b/installer/PowerToysSetup/PowerRename.wxs
new file mode 100644
index 0000000000..0386d7aaff
--- /dev/null
+++ b/installer/PowerToysSetup/PowerRename.wxs
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/PowerToysInstaller.wixproj b/installer/PowerToysSetup/PowerToysInstaller.wixproj
index d61e1f0c05..e4c7dd649e 100644
--- a/installer/PowerToysSetup/PowerToysInstaller.wixproj
+++ b/installer/PowerToysSetup/PowerToysInstaller.wixproj
@@ -27,7 +27,7 @@ call "..\..\publish.cmd" arm64
Always
- call move /Y ..\..\Product.wxs.bk ..\..\Product.wxs
+ call move /Y ..\..\Core.wxs.bk ..\..\Core.wxs
call move /Y ..\..\..\PowerToysSetupCustomActions\DepsFilesLists.h.bk ..\..\..\PowerToysSetupCustomActions\DepsFilesLists.h
@@ -62,7 +62,32 @@ call "..\..\publish.cmd" arm64
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/Product.wxs b/installer/PowerToysSetup/Product.wxs
index c14f9f2102..9d277676d4 100644
--- a/installer/PowerToysSetup/Product.wxs
+++ b/installer/PowerToysSetup/Product.wxs
@@ -2,33 +2,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/installer/PowerToysSetup/Resources.wxs b/installer/PowerToysSetup/Resources.wxs
new file mode 100644
index 0000000000..a771c6d8b6
--- /dev/null
+++ b/installer/PowerToysSetup/Resources.wxs
@@ -0,0 +1,318 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/Run.wxs b/installer/PowerToysSetup/Run.wxs
new file mode 100644
index 0000000000..27ac9e0673
--- /dev/null
+++ b/installer/PowerToysSetup/Run.wxs
@@ -0,0 +1,311 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/Settings.wxs b/installer/PowerToysSetup/Settings.wxs
new file mode 100644
index 0000000000..849fb081a0
--- /dev/null
+++ b/installer/PowerToysSetup/Settings.wxs
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/ShortcutGuide.wxs b/installer/PowerToysSetup/ShortcutGuide.wxs
new file mode 100644
index 0000000000..9f425289db
--- /dev/null
+++ b/installer/PowerToysSetup/ShortcutGuide.wxs
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/TextExtractor.wxs b/installer/PowerToysSetup/TextExtractor.wxs
new file mode 100644
index 0000000000..f392ad7d37
--- /dev/null
+++ b/installer/PowerToysSetup/TextExtractor.wxs
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/Tools.wxs b/installer/PowerToysSetup/Tools.wxs
new file mode 100644
index 0000000000..23aea33d13
--- /dev/null
+++ b/installer/PowerToysSetup/Tools.wxs
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/VideoConference.wxs b/installer/PowerToysSetup/VideoConference.wxs
new file mode 100644
index 0000000000..231ed04f8f
--- /dev/null
+++ b/installer/PowerToysSetup/VideoConference.wxs
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
+
+ WINDOWSBUILDNUMBER >= 19041
+
+
+
+
+
+
+
+
+
+
+
+
+
+ WINDOWSBUILDNUMBER >= 19041
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetup/WinAppSDK.wxs b/installer/PowerToysSetup/WinAppSDK.wxs
new file mode 100644
index 0000000000..b1b7203bc9
--- /dev/null
+++ b/installer/PowerToysSetup/WinAppSDK.wxs
@@ -0,0 +1,364 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/installer/PowerToysSetupCustomActions/PowerToysSetupCustomActions.vcxproj b/installer/PowerToysSetupCustomActions/PowerToysSetupCustomActions.vcxproj
index 07b2a3a065..6b4f623b12 100644
--- a/installer/PowerToysSetupCustomActions/PowerToysSetupCustomActions.vcxproj
+++ b/installer/PowerToysSetupCustomActions/PowerToysSetupCustomActions.vcxproj
@@ -47,8 +47,8 @@
call cmd /C "copy ""$(ProjectDir)DepsFilesLists.h"" ""$(ProjectDir)DepsFilesLists.h.bk"""
- call cmd /C "copy ""$(ProjectDir)..\PowerToysSetup\Product.wxs"" ""$(ProjectDir)..\PowerToysSetup\Product.wxs.bk""""
- call powershell.exe -File parseRuntimes.ps1 -depsjsonpath "$(ProjectDir)..\..\$(Platform)\$(Configuration)\modules\ColorPicker\PowerToys.ColorPickerUI.deps.json" -depsfileslistspath "$(ProjectDir)DepsFilesLists.h" -productwxspath "$(ProjectDir)..\PowerToysSetup\Product.wxs"
+ call cmd /C "copy ""$(ProjectDir)..\PowerToysSetup\Core.wxs"" ""$(ProjectDir)..\PowerToysSetup\Core.wxs.bk""""
+ call powershell.exe -File parseRuntimes.ps1 -depsjsonpath "$(ProjectDir)..\..\$(Platform)\$(Configuration)\modules\ColorPicker\PowerToys.ColorPickerUI.deps.json" -depsfileslistspath "$(ProjectDir)DepsFilesLists.h" -productwxspath "$(ProjectDir)..\PowerToysSetup\Core.wxs"
Backing up original files and populating .NET and WPF Runtime dependencies