[Build][Installer]Automatically add list of .NET Runtime deps to Installer during build (#23102)

* Added PowerShell script for parsing .NET Runtimes from deps.json

* Removed static list set of .NET Runtime and WPF file list

* Updated DepsFilesLists to write output. Moved to CustomActions directory

* Added space between runtime files variables

* Fix Parameter and Set-Content invocation

* Added PreBuild event to call parseRuntimes script

* Update spelling

* Removed runtime files from Product.wxs

* Updated script to add support for Product.wxs

* Modify process to create copies of unmodified files and restore them on post build.

* Fix spacing

* Fix spelling

* Updated script to create new Guid for Dotnet component

* Fix invalid regex

* Remove reverting Product.wxs in Custom Actions project

* Add Post Build Action in Installer to revert Product.wxs

* Set Post Build Event to run always on Installer

* Fix path to Product.wxs in Post Build Event

* Final fix to Product.wxs path

* Switch to use powershell.exe and read from ColorPicker directory.

* wip: fix release pipeline

* remove conditions for build events in PowerToysInstaller.wixproj
This commit is contained in:
Jeremy Sinclair
2023-01-12 09:25:36 -05:00
committed by GitHub
parent dae0520375
commit 7a0dd5b455
7 changed files with 101 additions and 491 deletions

View File

@@ -389,6 +389,8 @@ DENORMAL
Deondre
depersist
deprioritized
depsfileslistspath
depsjsonpath
deref
DESKTOPABSOLUTEEDITING
DESKTOPABSOLUTEPARSING
@@ -1384,6 +1386,7 @@ proactively
PROCESSKEY
PRODEXT
PRODUCTVERSION
productwxspath
Progman
programdata
PROGRAMFILES
@@ -1544,6 +1547,7 @@ runsettings
runtimeclass
runtimeconfig
runtimeobject
runtimepack
runtimes
rus
Rutkas