Hi Doitsu,
I guess it depends on what types of systems you are used to working on. Here at my university many students who do research share accounts on a school cluster but have no permissions to install anything outside of their home and so they often install packages and software and in their own home directory. They can not be root/admin as they are not provided with that.
The launcher_updater_20141204.zip was designed to search "standard locations" that typically would require admin/root privs but not always. If that fails, it opens a gui for the user to navigate to his own copy where-ever it may be in his own home or area, or on an external volume or usb key or a dev folder or net drive or wherever?. Once selected, the installer should run just fine for them without need for sudo/root/admin privs.
I could of course skip that part for Windows users as this case probably never arises for them, but it is often found at universities, shared web services/companies, on company servers, on locked down boot systems who run linux / unix shared systems under a separate administrator. Many student developers at our university are faced with exactly this situation when at school.
I hope this explains the reasoning for why the gui comes up. It is to allow the user one more chance to find the proper location if the user's set-up is at all unique in any way. It is not meant just to retry what just failed. If you so desire you can simply hit "Cancel" when it comes up and the installer will stop.
Take care,
KevinH
Quote:
Originally Posted by Doitsu
I have tested the new updater with the official 64bit Windows build and DiapDealer's 64bit Linux build and it worked as designed when executed as root/admin.
For testing purposes, I also repeated the test without root/admin rights. It initially failed but then displayed a folder selection dialog box only to fail again afterwards even if the correct folder was selected.
Maybe it should completely fail at this point and ask the user whether they are root or have admin rights, because the chances of users using non-standard install folders is relatively slim and those users are presumably knowledgeable enough to manually update the launcher files.
|