Commit Graph

211 Commits (bd008a170898e69beeb8bc0481b4bfd94de86c55)

Author SHA1 Message Date
AndreyL ProductEngine 823cef92ed Merged in lindenlab/viewer-lynx 2019-08-13 21:58:10 +03:00
AndreyL ProductEngine a056d3c021 SL-10639 Line endings fix 2019-07-30 03:25:03 +03:00
eli 4998308fd5 FIX SL-10639 minor typo in German 2019-07-22 15:43:16 -07:00
andreykproductengine 1b793f5c10 SL-11323 Bad merge fix and cleanup 2019-05-31 17:51:51 +03:00
andreykproductengine 89cfffa15f SL-10936 Mark updater as unpinnable and make viewer pinnable 2019-04-23 16:11:36 +03:00
AndreyL ProductEngine 36cb6933e6 Merged in lindenlab/viewer-release 2019-03-01 02:24:00 +02:00
Nat Goodspeed 765259b200 INTL-318: Fix syntax error in lang_tr.nsi. 2019-02-22 06:03:32 -10:00
Nat Goodspeed c505cf1914 INTL-318: Fix similar syntax error in lang_ru.nsi. 2019-02-22 05:20:09 -10:00
Nat Goodspeed f235317cb2 INTL-318: Fix syntax error in lang_es.nsi. 2019-02-21 20:45:18 -10:00
Nat Goodspeed df840bde0f INTL-318: Add translations for new Windows installer messages. 2019-02-21 19:45:09 -10:00
Nat Goodspeed 3e17a3c84b SL-10506: Try again to attain desired behavior. 2019-02-11 14:20:02 -05:00
Nat Goodspeed 1ff58087a9 SL-10506: Disregard any previous installation. Start from scratch. 2019-02-09 10:51:00 -05:00
Nat Goodspeed 5196bab897 SL-10469: Remove old-shortcut cleanup cruft: only works for Admin.
The installer is (once again) running with Admin privilege elevation even for
a Standard Windows user, so it can't determine the underlying Standard user.
Therefore it can't clean up any per-user shortcuts left over for that Standard
user. Moved the kludge to SLVersionChecker.
2019-02-06 13:14:17 -05:00
Nat Goodspeed d779a03f0b SL-10469: Add diagnostic popup when trying to delete old shortcuts. 2019-02-06 09:17:06 -05:00
Nat Goodspeed d588660db1 SL-10469: Remove any similar shortcuts for old per-user install. 2019-02-05 14:35:36 -05:00
Nat Goodspeed cfbe33d7c7 SL-10396: Disable per-user installs: require Admin for all-users. 2019-02-02 14:01:39 -05:00
Nat Goodspeed aabca008ad DRTVWR-447: Comment out Danish and Polish in one more file. 2019-02-02 13:53:57 -05:00
Nat Goodspeed 73eadfa12a INTL-318: Stop processing Danish and Polish language files. 2018-12-10 17:11:40 -05:00
andreykproductengine a39d330cc2 SL-10152 Uninstaller's offers to delete remaining files is problematic 2018-12-03 20:27:44 +02:00
Nat Goodspeed 63117d2919 SL-10147: Copy placeholder English text to supported NSIS languages. 2018-11-30 15:06:27 -05:00
Nat Goodspeed 7ca89229f8 SL-10077: Save correct uninstall directory and (un)install mode.
Curiously, the value of $INSTDIR is correct before MULTIUSER_UNINIT, but is
made incorrect by MULTIUSER_UNINIT. Save and restore the correct value.

Saving $MultiUser.InstallMode in the registry (by setting relevant macros
examined by MultiUser.nsh) is susceptible to overwriting if the user installs
multiple viewers with the same channel name. Instead, write an InstallMode.txt
in the install directory, and read it back on uninstall. Of course, add it to
the files to be deleted on uninstall.
2018-11-21 12:07:18 -05:00
Nat Goodspeed 24872bea74 DRTVWR-447: Fix longstanding NSIS warning about unused label. 2018-11-21 09:55:54 -05:00
Nat Goodspeed 8420e20102 DRTVWR-447: Fix syntax error in embedded variable reference. 2018-11-21 09:53:45 -05:00
Nat Goodspeed db2cddf93f SL-10010: Use trunk NSIS + Unicode attrib, instead of Unicode fork.
Back out misguided attempt to overwrite $PROGRAMFILES with $PROGRAMFILES64.
2018-11-15 16:02:47 -05:00
Nat Goodspeed dd9f6784cc SL-10010: Use c:\Program Files rather than c:\Program Files (x86)
for 64-bit viewers.

It seems there's a longstanding bug in NSIS: it fails to use $PROGRAMFILES64
rather than $PROGRAMFILES when performing an all-users install of a 64-bit
program. Try to remedy that.

Also pick up a few NSIS suggestions from Ansariel Hiller.
2018-11-15 12:06:30 -05:00
Nat Goodspeed e7ce166469 DRTVWR-447: Fix NSIS installer icons with "Modern UI" mechanism. 2018-11-02 08:24:28 -04:00
Nat Goodspeed 559899f1bd DRTVWR-447: Merge directly executing updater for Windows precheck. 2018-11-02 08:00:46 -04:00
Nat Goodspeed 75cbe187a6 DRTVWR-447: Back out changeset 69118ad33b45: directly run updater
from NSIS installer, instead of via explorer.exe.

A recent test run performed the install, then opened an Explorer window on My
Documents. <eyeroll/>
2018-11-02 07:59:51 -04:00
Nat Goodspeed a186f9a729 DRTVWR-447: Allow Standard Windows user to install for current user.
This should eliminate any confusion due to a Standard user needing to elevate
to Admin privileges, since from that point on Windows tells the running
program the current user is that Admin. Bypass all that.
2018-11-01 22:08:44 -04:00
Nat Goodspeed e2ca890898 DRTVWR-447: Copy VIEWER_EXE to local variable (thanks Ansariel) 2018-10-30 10:36:28 -04:00
Nat Goodspeed a5f492acf1 SL-9980: Launch the first-run updater via explorer.exe as we used to
run the viewer from the installer.

Turns out that the peculiar indirection through explorer.exe was a known trick
for an elevated-privileges program to launch a program as the logged-in
Windows user. (They could have commented that...)

But explorer.exe doesn't pass command-line parameters, so if you want to pass
any such to the actual target program, you have to launch a shortcut with
those parameters.

But this target program (the updater) and its parameters (precheck mumble) are
specific to the very first viewer run after installation, so delete it after.
Having an additional permanent icon that always runs the updater before the
viewer would only confuse matters.
2018-10-29 17:17:26 -04:00
Nat Goodspeed 83b40329fd DRTVWR-474: Make NSIS installer invoke updater precheck subcommand. 2018-09-13 16:22:38 -04:00
Nat Goodspeed d41245f252 DRTVWR-474: $VIEWER_EXE, rather than plain VIEWER_EXE 2018-09-12 20:13:53 -04:00
Nat Goodspeed 2081b8a654 DRTVWR-474: Make NSIS run new updater.exe after install.
But change shortcuts and registry entries and everything else back to the real
viewer executable, so that every subsequent run directly launches the viewer.

Eliminate SL_Launcher references from viewer_manifest.py.
2018-09-12 12:15:41 -04:00
Nat Goodspeed 2e87bac8f9 MAINT-8305: Fix longstanding typo in WriteRegStr per Ansariel Hiller. 2018-02-28 16:56:20 -05:00
Nat Goodspeed 5bbb78ee22 MAINT-8305: Point SLURLs to viewer, not launcher; suppress warning.
Specifically, when the viewer is run with a URL target argument, suppress the
"do not directly execute viewer, use the launcher instead" warning.
2018-02-28 11:26:11 -05:00
Nat Goodspeed ea3abfdc85 MAINT-7533: Stop NSIS installer from pinging secondlife.com.
Specifically, the installer has been hitting
http://install.secondlife.com/check/
In most situations, the installer is run right after the user finishes
downloading it. If s/he can successfully download a big executable, we should
be able to use that network connection.

More to the point, *nothing is done* with the connect result. It serves only
to slow down the viewer installer.
2018-01-24 09:52:13 -05:00
Nat Goodspeed 8ba4f526c0 MAINT-7812: NSIS check for /marker before writing marker file.
The /marker switch is passed by the (new) VMP. If any user wants to explicitly
pass the /marker switch to the installer, s/he shouldn't mind ending up with
an nsis.winstall file in the download directory.
2017-10-18 16:16:34 -04:00
Nat Goodspeed 0c7bc67814 Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2017-10-11 14:35:49 -04:00
andreykproductengine 983a227d59 MAINT-7446 Fixed After installs, bat file fails to start the viewer. 2017-09-13 17:13:51 +03:00
Nat Goodspeed 714b911a40 Automated merge with ssh://bitbucket.org/lindenlab/viewer64 2017-08-22 21:00:44 -04:00
Nat Goodspeed 1d2ded8c5f MAINT-7661: Make NSIS installer place .winstall marker file.
This reduces a timing hole in which one instance of SL_Launcher might place
a .winstall marker file in the download directory and run the downloaded
installer, but another SL_Launcher instance might discover that marker and try
to delete the directory before the NSIS install completes.
2017-08-17 18:48:41 -04:00
Oz Linden 01e0b78c59 merge changes for DRTVWR-439 2017-08-16 15:43:58 -04:00
Glenn Glazer b46697fcc1 MAINT-7529: de-Nerf autolaunch after install 2017-07-20 10:38:38 -07:00
Glenn Glazer 5fd1c47bb4 SL-671: uninstall pinning changes 2017-06-30 08:21:29 -07:00
coyot deaca27155 merge 2017-06-27 13:33:08 -07:00
coyot 6eae3c6f4f use icon in viewer exe for shortcut 2017-06-27 13:32:34 -07:00
Glenn Glazer 3fd2ac14ea upgrade to VMP package 506923 2017-06-27 12:20:55 -07:00
Glenn Glazer cc85030f7e Try pointing icon path to actual viewer exe 2017-06-27 07:57:04 -07:00
Glenn Glazer 263a9e7791 MAINT-7514: remove check if same version is installed 2017-06-26 13:11:20 -07:00