File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
packages/compass-smoke-tests/src/installers Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -84,12 +84,19 @@ export function installWindowsSetup({
8484 console . warn (
8585 "Installing globally, since we haven't discovered a way to specify an install path"
8686 ) ;
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- } ) ;
87+ execute (
88+ filepath ,
89+ [
90+ // See https://github.com/Squirrel/Squirrel.Windows/blob/51f5e2cb01add79280a53d51e8d0cfa20f8c9f9f/src/Setup/winmain.cpp#L60C22-L68
91+ '--checkInstall' ,
92+ ] ,
93+ {
94+ env : {
95+ // See https://github.com/Squirrel/Squirrel.Windows/blob/51f5e2cb01add79280a53d51e8d0cfa20f8c9f9f/src/Setup/UpdateRunner.cpp#L173C40-L173C54
96+ SQUIRREL_TEMP : sandboxPath ,
97+ } ,
98+ }
99+ ) ;
93100
94101 const entry = queryRegistry ( ) ;
95102 assert ( entry !== null , 'Expected an entry in the registry after installing' ) ;
You can’t perform that action at this time.
0 commit comments