File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
packages/compass-smoke-tests/src/installers Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ export function installWindowsSetup({
2424 kind,
2525 filepath,
2626 buildInfo,
27+ sandboxPath,
2728} : InstallablePackage ) : InstalledAppInfo {
2829 assert . equal ( kind , 'windows_setup' ) ;
2930 const appName = buildInfo . installerOptions . name ;
@@ -83,7 +84,12 @@ export function installWindowsSetup({
8384 console . warn (
8485 "Installing globally, since we haven't discovered a way to specify an install path"
8586 ) ;
86- execute ( filepath , [ ] ) ;
87+ execute ( filepath , [ ] , {
88+ env : {
89+ // As per https://github.com/Squirrel/Squirrel.Windows/blob/51f5e2cb01add79280a53d51e8d0cfa20f8c9f9f/src/Setup/UpdateRunner.cpp#L173C40-L173C54
90+ SQUIRREL_TEMP : sandboxPath ,
91+ } ,
92+ } ) ;
8793
8894 const entry = queryRegistry ( ) ;
8995 assert ( entry !== null , 'Expected an entry in the registry after installing' ) ;
You can’t perform that action at this time.
0 commit comments