Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
XDG Integration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
JennaHuntsman
XDG Integration
Commits
3cf4ebf1
Commit
3cf4ebf1
authored
10 years ago
by
Oz Linden
Browse files
Options
Downloads
Plain Diff
merge changes for MAINT-3591
parents
8147f4c5
7555596c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/newview/installers/windows/installer_template.nsi
+15
-26
15 additions, 26 deletions
indra/newview/installers/windows/installer_template.nsi
indra/newview/installers/windows/lang_en-us.nsi
+0
-0
0 additions, 0 deletions
indra/newview/installers/windows/lang_en-us.nsi
with
15 additions
and
26 deletions
indra/newview/installers/windows/installer_template.nsi
+
15
−
26
View file @
3cf4ebf1
...
@@ -105,8 +105,8 @@ Var INSTEXE
...
@@ -105,8 +105,8 @@ Var INSTEXE
Var INSTSHORTCUT
Var INSTSHORTCUT
Var COMMANDLINE # Command line passed to this installer, set in .onInit
Var COMMANDLINE # Command line passed to this installer, set in .onInit
Var SHORTCUT_LANG_PARAM # "--set InstallLanguage de", Passes language to viewer
Var SHORTCUT_LANG_PARAM # "--set InstallLanguage de", Passes language to viewer
Var SKIP_DIALOGS # Set from command line in .onInit. autoinstall
Var SKIP_DIALOGS # Set from command line in .onInit. autoinstall
GUI and the defaults.
# GUI and the defaults.
Var SKIP_AUTORUN # Skip automatic launch of the viewer after install
Var DO_UNINSTALL_V2 # If non-null, path to a previous Viewer 2 installation that will be uninstalled.
Var DO_UNINSTALL_V2 # If non-null, path to a previous Viewer 2 installation that will be uninstalled.
# Function definitions should go before file includes, because calls to
# Function definitions should go before file includes, because calls to
...
@@ -145,6 +145,10 @@ Call CheckWindowsVersion # Don't install On unsupported systems
...
@@ -145,6 +145,10 @@ Call CheckWindowsVersion # Don't install On unsupported systems
IfErrors +2 0 # If error jump past setting SKIP_DIALOGS
IfErrors +2 0 # If error jump past setting SKIP_DIALOGS
StrCpy $SKIP_DIALOGS "true"
StrCpy $SKIP_DIALOGS "true"
${GetOptions} $COMMANDLINE "/SKIP_AUTORUN" $0
IfErrors +2 0 ; If error jump past setting SKIP_AUTORUN
StrCpy $SKIP_AUTORUN "true"
${GetOptions} $COMMANDLINE "/LANGID=" $0 # /LANGID=1033 implies US English
${GetOptions} $COMMANDLINE "/LANGID=" $0 # /LANGID=1033 implies US English
# If no language (error), then proceed
# If no language (error), then proceed
...
@@ -348,7 +352,7 @@ StrCpy $INSTEXE "${INSTEXE}"
...
@@ -348,7 +352,7 @@ StrCpy $INSTEXE "${INSTEXE}"
StrCpy $INSTSHORTCUT "${SHORTCUT}"
StrCpy $INSTSHORTCUT "${SHORTCUT}"
# Make sure the user can install/uninstall
# Make sure the user can install/uninstall
Call un.CheckIfAdministrator
Call un.CheckIfAdministrator
# Uninstall for all users (if you change this, change it in the install as well)
# Uninstall for all users (if you change this, change it in the install as well)
SetShellVarContext all
SetShellVarContext all
...
@@ -370,13 +374,13 @@ Delete "$DESKTOP\$INSTSHORTCUT.lnk"
...
@@ -370,13 +374,13 @@ Delete "$DESKTOP\$INSTSHORTCUT.lnk"
Delete "$INSTDIR\$INSTSHORTCUT.lnk"
Delete "$INSTDIR\$INSTSHORTCUT.lnk"
Delete "$INSTDIR\Uninstall $INSTSHORTCUT.lnk"
Delete "$INSTDIR\Uninstall $INSTSHORTCUT.lnk"
# Clean up cache and log files, but leave them in-place for non AGNI installs.
Call un.UserSettingsFiles
# Remove the main installation directory
# Remove the main installation directory
Call un.ProgramFiles
Call un.ProgramFiles
SectionEnd
# Clean up cache and log files, but leave them in-place for non AGNI installs.
Call un.UserSettingsFiles
SectionEnd
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Make sure the user can install
;; Make sure the user can install
...
@@ -654,7 +658,7 @@ Delete "$INSTDIR\SecondLife.exe"
...
@@ -654,7 +658,7 @@ Delete "$INSTDIR\SecondLife.exe"
Delete "$INSTDIR\VivoxVoiceService-*.log"
Delete "$INSTDIR\VivoxVoiceService-*.log"
# Remove entire help directory
# Remove entire help directory
RMDir "$INSTDIR\help"
RMDir
/r
"$INSTDIR\help"
Delete "$INSTDIR\uninst.exe"
Delete "$INSTDIR\uninst.exe"
RMDir "$INSTDIR"
RMDir "$INSTDIR"
...
@@ -675,25 +679,10 @@ FunctionEnd
...
@@ -675,25 +679,10 @@ FunctionEnd
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
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_AUTORUN "true" +2;
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 '"$WINDIR\explorer.exe" "$INSTDIR\$INSTEXE"'
Exec '"$WINDIR\explorer.exe" "$INSTDIR\$INSTEXE"'
label_no_launch:
Pop $R0
Pop $R0
FunctionEnd
FunctionEnd
...
@@ -734,7 +723,7 @@ FunctionEnd
...
@@ -734,7 +723,7 @@ FunctionEnd
; EnumRegKey $1 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" $0
; EnumRegKey $1 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" $0
; StrCmp $1 "" DONE # no more users
; StrCmp $1 "" DONE # no more users
;
;
; ReadRegStr $2 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\$1" "ProfileImagePath"
; ReadRegStr $2 HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\$1" "ProfileImagePath"
; StrCmp $2 "" CONTINUE 0 # "ProfileImagePath" value is missing
; StrCmp $2 "" CONTINUE 0 # "ProfileImagePath" value is missing
;
;
;# Required since ProfileImagePath is of type REG_EXPAND_SZ
;# Required since ProfileImagePath is of type REG_EXPAND_SZ
...
...
This diff is collapsed.
Click to expand it.
indra/newview/installers/windows/lang_en-us.nsi
+62 B (+1%)
View file @
3cf4ebf1
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment