MAINT-7529: de-Nerf autolaunch after install

master
Glenn Glazer 2017-07-20 10:38:38 -07:00
parent f7ebaf28b2
commit b46697fcc1
1 changed files with 7 additions and 7 deletions

View File

@ -712,15 +712,15 @@ FunctionEnd
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; After install completes, launch app
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
# Function .onInstSuccess
# Call CheckWindowsServPack # Warn if not on the latest SP before asking to launch.
# Push $R0 # Option value, unused#
# StrCmp $SKIP_AUTORUN "true" +2;
Function .onInstSuccess
Call CheckWindowsServPack # Warn if not on the latest SP before asking to launch.
Push $R0 # Option value, unused#
StrCmp $SKIP_AUTORUN "true" +2;
# Assumes SetOutPath $INSTDIR
# Exec '"$WINDIR\explorer.exe" "$INSTDIR\autorun.bat"'
# Pop $R0
Exec '"$WINDIR\explorer.exe" "$INSTDIR\autorun.bat"'
Pop $R0
#
# FunctionEnd
FunctionEnd
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Recommend Upgrading to Service Pack 1 for Windows 7, if not present