diff options
author | coyot@coyot-sager-PC <coyot@coyot-sager-PC> | 2017-04-28 01:09:14 +0100 |
---|---|---|
committer | coyot@coyot-sager-PC <coyot@coyot-sager-PC> | 2017-04-28 01:09:14 +0100 |
commit | 24b4d3c13f15917f8c775d5b4211d213af9309c0 (patch) | |
tree | 07a67a9733475f07c4b2828e6e469001f7767e33 /indra/newview/installers/windows | |
parent | a3acaaa61b2144af1f76dd8a7bc2b48b9ced00d3 (diff) |
SL-671: make icon point to launcher, not viewer
Diffstat (limited to 'indra/newview/installers/windows')
-rw-r--r-- | indra/newview/installers/windows/installer_template.nsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/installers/windows/installer_template.nsi b/indra/newview/installers/windows/installer_template.nsi index fe1b35767e..4396a576cc 100644 --- a/indra/newview/installers/windows/installer_template.nsi +++ b/indra/newview/installers/windows/installer_template.nsi @@ -337,6 +337,10 @@ WriteRegStr HKEY_CLASSES_ROOT "x-grid-location-info\DefaultIcon" "" '"$INSTDIR\$ # URL param must be last item passed to viewer, it ignores subsequent params to avoid parameter injection attacks.
WriteRegExpandStr HKEY_CLASSES_ROOT "x-grid-location-info\shell\open\command" "" '"$INSTDIR\$INSTEXE" -url "%1"'
+# Only allow Launcher to be the icon
+WriteRegStr HKEY_CLASSES_ROOT "Applications" "$INSTEXE" "IsHostApp"
+WriteRegStr HKEY_CLASSES_ROOT "Applications" "$VIEWER_EXE" "NoStartPage"
+
# Write out uninstaller
WriteUninstaller "$INSTDIR\uninst.exe"
|