<div dir="ltr"><div class="gmail_default" style="font-size:small">About the installer problems...<br></div><div class="gmail_default" style="font-size:small">Since I did the installer changes, here is that comes to mind:<br>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.<br><br></div><div class="gmail_default" style="font-size:small">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.<br></div><div class="gmail_default" style="font-size:small">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.<br><br></div><div class="gmail_default" style="font-size:small">Does anyone have an opinion on what would be most useful?<br></div><div class="gmail_default" style="font-size:small">Would you use the portable option, or the "Current user" installer?<br><br></div><div class="gmail_default" style="font-size:small">Vladimir<br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 14, 2017 at 10:55 PM, Bruce Mutton via Therion <span dir="ltr"><<a href="mailto:therion@speleo.sk" target="_blank">therion@speleo.sk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-NZ"><div class="m_-8088057144250560238WordSection1"><p class="MsoNormal"><span>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).<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>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.<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>Bruce<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Therion [mailto:<a href="mailto:therion-bounces@speleo.sk" target="_blank">therion-bounces@<wbr>speleo.sk</a>] <b>On Behalf Of </b>Bruce Mutton via Therion<br><b>Sent:</b> Tuesday, 30 May 2017 8:48 PM<br><b>To:</b> 'List for Therion users' <<a href="mailto:therion@speleo.sk" target="_blank">therion@speleo.sk</a>><br><b>Cc:</b> Bruce Mutton <<a href="mailto:bruce@tomo.co.nz" target="_blank">bruce@tomo.co.nz</a>><br><b>Subject:</b> Re: [Therion] Therion 5.4.1 Windows Installer incomplete installs<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span>Thanks Vladimir<u></u><u></u></span></p><p class="MsoNormal"><span>I seem to have got through all that successfully.<u></u><u></u></span></p><p class="MsoNormal"><span>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.<u></u><u></u></span></p><p class="MsoNormal"><span>If the installer ever handles uninstalls, then the .ini files should be preserved.<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>Bruce<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Therion [<a href="mailto:therion-bounces@speleo.sk" target="_blank">mailto:therion-bounces@<wbr>speleo.sk</a>] <b>On Behalf Of </b>???????? ???????? via Therion<br><b>Sent:</b> Tuesday, 30 May 2017 6:59 AM<br><b>To:</b> List for Therion users <<a href="mailto:therion@speleo.sk" target="_blank">therion@speleo.sk</a>><br><b>Cc:</b> Владимир Георгиев <<a href="mailto:vld.georgiev@gmail.com" target="_blank">vld.georgiev@gmail.com</a>><br><b>Subject:</b> Re: [Therion] Therion 5.4.1 Windows Installer incomplete installs<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt">Bruce<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt">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.<u></u><u></u></span></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt">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.<u></u><u></u></span></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt">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.<br>The keys are these (after the text "Subkey". HKLM is HKEY_LOCAL_MACHINE and HKCU is HKEY_CURRENT_USER)<br><a href="https://github.com/therion/therion-batteries/blob/master/therion.iss#L60-L104" target="_blank">https://github.com/therion/<wbr>therion-batteries/blob/master/<wbr>therion.iss#L60-L104</a><u></u><u></u></span></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt">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.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt">Vladimir<u></u><u></u></span></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Mon, May 29, 2017 at 1:12 PM, Bruce Mutton via Therion <<a href="mailto:therion@speleo.sk" target="_blank">therion@speleo.sk</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><div><div><p class="MsoNormal">Things are getting weirder.<u></u><u></u></p><p class="MsoNormal">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.<u></u><u></u></p><p class="MsoNormal">After I have installed 5.4.1 over top of 5.4.0…<u></u><u></u></p><p class="MsoNormal">If I open a thconfig file, with Help About I get 5.4.1 reported, as below<u></u><u></u></p><p class="MsoNormal"><img style="width:10.3125in;height:4.5208in" id="m_-8088057144250560238m_1540226104088271281_x005f_x0000_i1027" src="cid:image002.jpg@01D2D984.006EFD70" height="434" border="0" width="990"><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">If I then open a .th2 drawing file, I get 5.4.0 reported, as below<u></u><u></u></p><p class="MsoNormal"><img style="width:10.375in;height:4.5208in" id="m_-8088057144250560238m_1540226104088271281Picture_x0020_2" src="cid:image003.jpg@01D2D984.006EFD70" height="434" border="0" width="996"><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">So with two instances of XTherion open at the same time, each is reporting a different version.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Same thing happens installing 5.4.1 88c8a06 over top of 5.4.1. The drawing editor still reports 5.4.0<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Perhaps a harmless bug/omission or something odd with the installer?<u></u><u></u></p><p class="MsoNormal">Initial drawing suggests the drawing editor is behaving like 5.4.1 (triangular survey stations).<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Bruce<u></u><u></u></p></div></div></blockquote></div></div></div></div><br>______________________________<wbr>_________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/<wbr>listinfo/therion</a><br>
<br></blockquote></div><br></div>