diff options
| author | andreykproductengine <andreykproductengine@lindenlab.com> | 2017-09-13 17:13:51 +0300 | 
|---|---|---|
| committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2017-09-13 17:13:51 +0300 | 
| commit | 983a227d590c7cd305508b527c259ae7e4742c22 (patch) | |
| tree | e518a961d21afeedc78684ad3c9a58b20b1164eb | |
| parent | 9ee708707e5b28b8149d5f9fad6246b4e1a90cb0 (diff) | |
MAINT-7446 Fixed After installs, bat file fails to start the viewer.
| -rw-r--r-- | indra/newview/installers/windows/installer_template.nsi | 7 | 
1 files changed, 1 insertions, 6 deletions
| diff --git a/indra/newview/installers/windows/installer_template.nsi b/indra/newview/installers/windows/installer_template.nsi index 89317f2793..6ee330619f 100644 --- a/indra/newview/installers/windows/installer_template.nsi +++ b/indra/newview/installers/windows/installer_template.nsi @@ -300,11 +300,6 @@ CreateShortCut "$INSTDIR\$INSTSHORTCUT.lnk" \  CreateShortCut "$INSTDIR\Uninstall $INSTSHORTCUT.lnk" \
  				'"$INSTDIR\uninst.exe"' ''
 -# Create *.bat file to specify lang params on first run from installer - see MAINT-5259
 -FileOpen $9 "$INSTDIR\autorun.bat" w
 -FileWrite $9 'start "$INSTDIR\$INSTEXE" "$INSTDIR\$INSTEXE" $SHORTCUT_LANG_PARAM$\r$\n'
 -FileClose $9
 -
  # Write registry
  WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "" "$INSTDIR"
  WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\Linden Research, Inc.\$INSTPROG" "Version" "${VERSION_LONG}"
 @@ -700,7 +695,7 @@ Call CheckWindowsServPack		# Warn if not on the latest SP before asking to launc  	Push $R0					# Option value, unused
  	StrCmp $SKIP_AUTORUN "true" +2;
  # Assumes SetOutPath $INSTDIR
 -	Exec '"$WINDIR\explorer.exe" "$INSTDIR\autorun.bat"'
 +	Exec '"$WINDIR\explorer.exe" "$INSTDIR\$INSTSHORTCUT.lnk"'
  	Pop $R0
  FunctionEnd
 | 
