Skip to content
Snippets Groups Projects
Commit b0d01b0a authored by Tank_Master's avatar Tank_Master
Browse files

Backed out changeset: bd12d1ab1943 - MAINT-3591 Remove "Start Second Life now?" dialogue...

parent 68c94399
No related branches found
No related tags found
No related merge requests found
...@@ -123,8 +123,24 @@ Var DO_UNINSTALL_V2 # If non-null, path to a previous Viewer 2 installation ...@@ -123,8 +123,24 @@ Var DO_UNINSTALL_V2 # If non-null, path to a previous Viewer 2 installation
Function .onInstSuccess Function .onInstSuccess
Call CheckWindowsServPack # Warn if not on the latest SP before asking to launch. Call CheckWindowsServPack # Warn if not on the latest SP before asking to launch.
Push $R0 # Option value, unused Push $R0 # Option value, unused
StrCmp $SKIP_DIALOGS "true" label_launch
${GetOptions} $COMMANDLINE "/AUTOSTART" $R0
# If parameter was there (no error) just launch
# Otherwise ask
IfErrors label_ask_launch label_launch
label_ask_launch:
# Don't launch by default when silent
IfSilent label_no_launch
MessageBox MB_YESNO $(InstSuccesssQuestion) \
IDYES label_launch IDNO label_no_launch
label_launch:
# Assumes SetOutPath $INSTDIR # Assumes SetOutPath $INSTDIR
Exec '"$INSTDIR\$INSTEXE" $SHORTCUT_LANG_PARAM' Exec '"$INSTDIR\$INSTEXE" $SHORTCUT_LANG_PARAM'
label_no_launch:
Pop $R0 Pop $R0
FunctionEnd FunctionEnd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment