mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 03:49:37 +00:00
Bug 1581002 - pass -first-startup flag to Firefox from stub and normal intallers r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D45763 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
21955fe91b
commit
0c10989c46
@ -949,7 +949,7 @@ Function LaunchApp
|
||||
${GetParameters} $0
|
||||
${GetOptions} "$0" "/UAC:" $1
|
||||
${If} ${Errors}
|
||||
${ExecAndWaitForInputIdle} "$\"$INSTDIR\${FileMainEXE}$\""
|
||||
${ExecAndWaitForInputIdle} "$\"$INSTDIR\${FileMainEXE}$\" -first-startup"
|
||||
${Else}
|
||||
GetFunctionAddress $0 LaunchAppFromElevatedProcess
|
||||
UAC::ExecCodeSegment $0
|
||||
@ -962,7 +962,7 @@ Function LaunchAppFromElevatedProcess
|
||||
; Set our current working directory to the application's install directory
|
||||
; otherwise the 7-Zip temp directory will be in use and won't be deleted.
|
||||
SetOutPath "$INSTDIR"
|
||||
${ExecAndWaitForInputIdle} "$\"$INSTDIR\${FileMainEXE}$\""
|
||||
${ExecAndWaitForInputIdle} "$\"$INSTDIR\${FileMainEXE}$\" -first-startup"
|
||||
FunctionEnd
|
||||
|
||||
Function SendPing
|
||||
|
@ -1789,9 +1789,9 @@ Function LaunchApp
|
||||
${GetOptions} "$0" "/UAC:" $1
|
||||
${If} ${Errors}
|
||||
${If} $CheckboxCleanupProfile == 1
|
||||
${ExecAndWaitForInputIdle} "$\"$INSTDIR\${FileMainEXE}$\" -reset-profile -migration"
|
||||
${ExecAndWaitForInputIdle} "$\"$INSTDIR\${FileMainEXE}$\" -reset-profile -migration -first-startup"
|
||||
${Else}
|
||||
${ExecAndWaitForInputIdle} "$\"$INSTDIR\${FileMainEXE}$\""
|
||||
${ExecAndWaitForInputIdle} "$\"$INSTDIR\${FileMainEXE}$\" -first-startup"
|
||||
${EndIf}
|
||||
${Else}
|
||||
StrCpy $R1 $CheckboxCleanupProfile
|
||||
@ -1807,9 +1807,9 @@ Function LaunchAppFromElevatedProcess
|
||||
; Set the current working directory to the installation directory
|
||||
SetOutPath "$INSTDIR"
|
||||
${If} $R1 == 1
|
||||
${ExecAndWaitForInputIdle} "$\"$INSTDIR\${FileMainEXE}$\" -reset-profile -migration"
|
||||
${ExecAndWaitForInputIdle} "$\"$INSTDIR\${FileMainEXE}$\" -reset-profile -migration -first-startup"
|
||||
${Else}
|
||||
${ExecAndWaitForInputIdle} "$\"$INSTDIR\${FileMainEXE}$\""
|
||||
${ExecAndWaitForInputIdle} "$\"$INSTDIR\${FileMainEXE}$\" -first-startup"
|
||||
${EndIf}
|
||||
FunctionEnd
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user