aboutsummaryrefslogtreecommitdiff
path: root/src/test/sandbox
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2026-01-21 21:20:40 -0500
committerBob Arnson <github@bobs.org>2026-01-26 13:42:00 -0500
commit49924eb413af6f316951fcc1a7deaf28b7fd6e19 (patch)
tree1e88db96b839dbbac5a1f90b42bf178001656745 /src/test/sandbox
parent8b9538acf39a353a34bcd0a624fd12155a818f55 (diff)
downloadwix-49924eb413af6f316951fcc1a7deaf28b7fd6e19.tar.gz
wix-49924eb413af6f316951fcc1a7deaf28b7fd6e19.tar.bz2
wix-49924eb413af6f316951fcc1a7deaf28b7fd6e19.zip
Allow patched package to be uninstalled.
Normally, a patched package is detected as superseded and therefore a normal uninstall takes no action. This change looks for applied patches and allows a normal uninstall to remove the package. Fixes https://github.com/wixtoolset/issues/issues/6350
Diffstat (limited to 'src/test/sandbox')
-rw-r--r--src/test/sandbox/TestSandbox.wsb5
-rw-r--r--src/test/sandbox/startup.bat8
2 files changed, 13 insertions, 0 deletions
diff --git a/src/test/sandbox/TestSandbox.wsb b/src/test/sandbox/TestSandbox.wsb
index 01e11e6b..97c3c759 100644
--- a/src/test/sandbox/TestSandbox.wsb
+++ b/src/test/sandbox/TestSandbox.wsb
@@ -5,6 +5,11 @@
5 <SandboxFolder>C:\build</SandboxFolder> 5 <SandboxFolder>C:\build</SandboxFolder>
6 <ReadOnly>true</ReadOnly> 6 <ReadOnly>true</ReadOnly>
7 </MappedFolder> 7 </MappedFolder>
8 <MappedFolder>
9 <HostFolder>..\..\..\build\logs</HostFolder>
10 <SandboxFolder>C:\logs</SandboxFolder>
11 <ReadOnly>false</ReadOnly>
12 </MappedFolder>
8 <MappedFolder> 13 <MappedFolder>
9 <HostFolder>.\</HostFolder> 14 <HostFolder>.\</HostFolder>
10 <SandboxFolder>C:\sandbox</SandboxFolder> 15 <SandboxFolder>C:\sandbox</SandboxFolder>
diff --git a/src/test/sandbox/startup.bat b/src/test/sandbox/startup.bat
index 52f550ee..90f04f5f 100644
--- a/src/test/sandbox/startup.bat
+++ b/src/test/sandbox/startup.bat
@@ -1,5 +1,13 @@
1@setlocal 1@setlocal
2@echo off 2@echo off
3
4
5::// Fix Sandbox glacial perf (24H2-???)
6:://
7REG ADD HKLM\SYSTEM\CurrentControlSet\Control\CI\Policy /v VerifiedAndReputablePolicyState /t REG_DWORD /d 0 /f
8CITOOL -r -j
9
10
3SET DOTNET_VERSION=8.0 11SET DOTNET_VERSION=8.0
4SET SANDBOX_FILES=C:\sandbox 12SET SANDBOX_FILES=C:\sandbox
5 13