diff options
author | Bevan Weiss <bevan.weiss@gmail.com> | 2024-06-30 14:12:41 +1000 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2024-07-04 19:25:49 -0400 |
commit | 54df047166f62ab618751c7184921579c9840fa7 (patch) | |
tree | a461128113a52a8c7ee3a282bc7217b44ca107b5 | |
parent | 04ad8ff7bc4d2d19a0b199ade24841e62e77fae3 (diff) | |
download | wix-54df047166f62ab618751c7184921579c9840fa7.tar.gz wix-54df047166f62ab618751c7184921579c9840fa7.tar.bz2 wix-54df047166f62ab618751c7184921579c9840fa7.zip |
Add extra logging setup to registry.
Neither "reg import" nor "reg add" appeared to work inside the sandbox
So went with "regedit /s {path}" which did work.
Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
-rw-r--r-- | src/test/sandbox/sandbox_registry | 21 | ||||
-rw-r--r-- | src/test/sandbox/startup.bat | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/src/test/sandbox/sandbox_registry b/src/test/sandbox/sandbox_registry new file mode 100644 index 00000000..3e86a64f --- /dev/null +++ b/src/test/sandbox/sandbox_registry | |||
@@ -0,0 +1,21 @@ | |||
1 | Windows Registry Editor Version 5.00 | ||
2 | |||
3 | [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer] | ||
4 | "Logging"="voicewarmupx" | ||
5 | |||
6 | [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps] | ||
7 | "DumpFolder"=hex(2):43,00,3a,00,5c,00,62,00,75,00,69,00,6c,00,64,00,5c,00,6c,\ | ||
8 | 00,6f,00,67,00,73,00,5c,00,63,00,72,00,61,00,73,00,68,00,64,00,75,00,6d,00,\ | ||
9 | 70,00,73,00,00,00 | ||
10 | "DumpCount"=dword:0000000a | ||
11 | "DumpType"=dword:00000001 | ||
12 | |||
13 | [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\Installer] | ||
14 | "Logging"="voicewarmupx" | ||
15 | |||
16 | [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\Windows Error Reporting\LocalDumps] | ||
17 | "DumpFolder"=hex(2):43,00,3a,00,5c,00,62,00,75,00,69,00,6c,00,64,00,5c,00,6c,\ | ||
18 | 00,6f,00,67,00,73,00,5c,00,63,00,72,00,61,00,73,00,68,00,64,00,75,00,6d,00,\ | ||
19 | 70,00,73,00,00,00 | ||
20 | "DumpCount"=dword:0000000a | ||
21 | "DumpType"=dword:00000001 | ||
diff --git a/src/test/sandbox/startup.bat b/src/test/sandbox/startup.bat index 8feaddd1..52f550ee 100644 --- a/src/test/sandbox/startup.bat +++ b/src/test/sandbox/startup.bat | |||
@@ -48,6 +48,7 @@ if exist %SANDBOX_FILES%\assets\windowsdesktop-runtime-x86.exe ( | |||
48 | goto PROCEED | 48 | goto PROCEED |
49 | 49 | ||
50 | :PROCEED | 50 | :PROCEED |
51 | regedit /s "%SANDBOX_FILES%\sandbox_registry" | ||
51 | endlocal | 52 | endlocal |
52 | SETX PATH "%PATH%;%ProgramFiles%\dotnet;%ProgramFiles(x86)%\dotnet" /M | 53 | SETX PATH "%PATH%;%ProgramFiles%\dotnet;%ProgramFiles(x86)%\dotnet" /M |
53 | SET PATH=%PATH%;%ProgramFiles%\dotnet;%ProgramFiles(x86)%\dotnet | 54 | SET PATH=%PATH%;%ProgramFiles%\dotnet;%ProgramFiles(x86)%\dotnet |