[Therion] Therion] Therion 5.4.1 Windows Installer incomplete installs

Владимир Георгиев vld.georgiev at gmail.com
Mon Jul 17 09:55:21 CEST 2017


About the installer problems...
Since I did the installer changes, here is that comes to mind:
1) I could try to make it more intelligent and to detect if there is an
existing install location (all users or current user) and to install in the
same one without the "All/Current user" prompt. This will probably not
prevent all possible problems though.

2) Another solution would be to revert those changes and keep only the "All
users" option, which requires admin privileges. This is how the older
installers worked and always installed in Program Files.
In addition to that, there could be a portable edition of Therion, which is
distributed as a ZIP file and the user would only need to extract it in a
folder. There would be no association to the TH, TH2 and THCONFIG file
extensions of course. Currently the code reads the install location from
the Win registry, but it could be made to search for files in the current
folder.

Does anyone have an opinion on what would be most useful?
Would you use the portable option, or the "Current user" installer?

Vladimir


On Wed, Jun 14, 2017 at 10:55 PM, Bruce Mutton via Therion <
therion at speleo.sk> wrote:

> Just following up on what I think is a serious problem with the 5.4.0 and
> 5.4.1 Windows Installers (as described below).
>
>
>
> I think the Windows installers should be taken offline until they can
> cleanly install in all likely situations.  Either that all provide explicit
> information on the download page as to the limitations and how to fix the
> problems the installers are likely to cause.
>
>
>
> Bruce
>
>
>
> *From:* Therion [mailto:therion-bounces at speleo.sk] *On Behalf Of *Bruce
> Mutton via Therion
> *Sent:* Tuesday, 30 May 2017 8:48 PM
> *To:* 'List for Therion users' <therion at speleo.sk>
> *Cc:* Bruce Mutton <bruce at tomo.co.nz>
> *Subject:* Re: [Therion] Therion 5.4.1 Windows Installer incomplete
> installs
>
>
>
> Thanks Vladimir
>
> I seem to have got through all that successfully.
>
> I will stick to “all users” Therion installs from now on, as that puts the
> files in a location where I am used to looking for them.
>
> If the installer ever handles uninstalls, then the .ini files should be
> preserved.
>
>
>
> Bruce
>
>
>
> *From:* Therion [mailto:therion-bounces at speleo.sk
> <therion-bounces at speleo.sk>] *On Behalf Of *???????? ???????? via Therion
> *Sent:* Tuesday, 30 May 2017 6:59 AM
> *To:* List for Therion users <therion at speleo.sk>
> *Cc:* Владимир Георгиев <vld.georgiev at gmail.com>
> *Subject:* Re: [Therion] Therion 5.4.1 Windows Installer incomplete
> installs
>
>
>
> Bruce
>
> This is likely because the "Install for all users" uses a location in
> Program Files, while "Current user" uses a location in the users AppData
> folder. The former requires admin privileges, and the later can be used by
> a limited user.
>
> Older installer versions used Program files by default, and the new files
> would always overwrite the older ones. But if you had an older version in
> Program Files, and installed the new one for the current user in his
> AppData folder, you would end up with two sets of files. And with
> conflicting file type associations.
>
> You could try uninstalling and manually deleting the Therion install
> folder. Cleaning the registry entries requires using Registry Editor and
> deleting a set of keys, if you are comfortable doing that.
> The keys are these (after the text "Subkey". HKLM is HKEY_LOCAL_MACHINE
> and HKCU is HKEY_CURRENT_USER)
> https://github.com/therion/therion-batteries/blob/master/
> therion.iss#L60-L104
>
> I suppose a better solution would be if I can make the installer uninstall
> any previous version before installing. This should prevent such an issue.
>
> Vladimir
>
>
>
> On Mon, May 29, 2017 at 1:12 PM, Bruce Mutton via Therion <
> therion at speleo.sk> wrote:
>
> Things are getting weirder.
>
> Usually I have just installed one version of Therion over top of whatever
> version I have installed, but wonder if this might be contributing to
> issues I have here.
>
> After I have installed 5.4.1 over top of 5.4.0…
>
> If I open a thconfig file, with Help About I get 5.4.1 reported, as below
>
>
>
> If I then open a .th2 drawing file, I get 5.4.0 reported, as below
>
>
>
> So with two instances of XTherion open at the same time, each is reporting
> a different version.
>
>
>
> Same thing happens installing 5.4.1  88c8a06 over top of 5.4.1.  The
> drawing editor still reports 5.4.0
>
>
>
> Perhaps a harmless bug/omission or something odd with the installer?
>
> Initial drawing suggests the drawing editor is behaving like 5.4.1
> (triangular survey stations).
>
>
>
> Bruce
>
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20170717/06a5f88c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 61315 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20170717/06a5f88c/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 62261 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20170717/06a5f88c/attachment-0001.jpg>


More information about the Therion mailing list