From 1fb632d4a68fbdee5c4f87688a0a36a35eabcea7 Mon Sep 17 00:00:00 2001
From: Ani <115020168+drawbyperpetual@users.noreply.github.com>
Date: Fri, 31 May 2024 10:47:31 +0200
Subject: [PATCH] [Installer]Use custom action to copy DSC files on user
install (#32799)
* Better fix for installation issues when My Documents on network drive
* Fix spellcheck
* Improved wxs comment
* Created DSCModule folder in install folder; removed DSC modules from resources
* Added back newline
---
.github/actions/spell-check/patterns.txt | 3 +
installer/PowerToysSetup/Core.wxs | 81 +++++-----
installer/PowerToysSetup/Product.wxs | 39 ++++-
.../CustomAction.cpp | 138 +++++++++++++++++-
.../CustomAction.def | 2 +
5 files changed, 211 insertions(+), 52 deletions(-)
diff --git a/.github/actions/spell-check/patterns.txt b/.github/actions/spell-check/patterns.txt
index d48cec9abd..c56e5fbb14 100644
--- a/.github/actions/spell-check/patterns.txt
+++ b/.github/actions/spell-check/patterns.txt
@@ -40,6 +40,9 @@
# tabs in c#
\$"\\t
+# Hexadecimal character pattern in code
+\\x[0-9a-fA-F][0-9a-fA-F]
+
# windows line breaks in strings
\\r\\n
diff --git a/installer/PowerToysSetup/Core.wxs b/installer/PowerToysSetup/Core.wxs
index 6254bd99ed..81a655b3e1 100644
--- a/installer/PowerToysSetup/Core.wxs
+++ b/installer/PowerToysSetup/Core.wxs
@@ -8,7 +8,7 @@
-
+
@@ -46,34 +46,19 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
+
+
+
@@ -89,7 +74,7 @@
-
+