Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
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
Alchemy Viewer
Alchemy Viewer
Commits
d588660d
Commit
d588660d
authored
6 years ago
by
Nat Goodspeed
Browse files
Options
Downloads
Patches
Plain Diff
SL-10469: Remove any similar shortcuts for old per-user install.
parent
35bc6df9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/installers/windows/installer_template.nsi
+18
-0
18 additions, 0 deletions
indra/newview/installers/windows/installer_template.nsi
with
18 additions
and
0 deletions
indra/newview/installers/windows/installer_template.nsi
+
18
−
0
View file @
d588660d
...
@@ -602,6 +602,24 @@ RMDir /r "$INSTDIR\skins"
...
@@ -602,6 +602,24 @@ RMDir /r "$INSTDIR\skins"
Delete "$SMPROGRAMS\$INSTSHORTCUT\SL Release Notes.lnk"
Delete "$SMPROGRAMS\$INSTSHORTCUT\SL Release Notes.lnk"
Delete "$INSTDIR\releasenotes.txt"
Delete "$INSTDIR\releasenotes.txt"
# SL-10469: During the brief period when the BugSplat RC supported "current
# user" installs, we might have put a shortcut with this same $INSTSHORTCUT
# name in the Start menu folder for "current user" programs. Even though we're
# about to write our new shortcut to the Start menu folder for "all users,"
# apparently Windows 7 only shows one of them. (Windows 10 reportedly shows
# both.) Try temporarily setting "current user," just long enough to delete
# any such old shortcuts.
SetShellVarContext current
# This stanza should match the $SMPROGRAMS and $DESKTOP deletions in the
# "clean up shortcuts" passage in Section Uninstall. Don't bother with the
# shortcuts in $INSTDIR because we're just about to (over)write those.
Delete "$SMPROGRAMS\$INSTSHORTCUT\*.*"
RMDir "$SMPROGRAMS\$INSTSHORTCUT"
Delete "$DESKTOP\$INSTSHORTCUT.lnk"
SetShellVarContext all
FunctionEnd
FunctionEnd
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
...
...
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