AllenInstitute / MIES

Multichannel Igor Electrophysiology Suite
https://alleninstitute.github.io/MIES/user.html
Other
23 stars 7 forks source link

Various installer bugfixes #2206

Open t-b opened 3 months ago

t-b commented 3 months ago
t-b commented 3 weeks ago

@timjarsky

The last issue

When installing as normal user which does not have admin rights, then elevating to an admin user and then selecting "Current user" this installs for the admin user and not the normal uesr. Might be a NSIS issue.

is the one reported on slack, https://aiephys.slack.com/canvas/C06P3MYEV6H.

When looking at the installer code I can see how this goes wrong. For a normal end-user installer we request admin execution level.

And after that there is no way to get back to the original user for an "user" installation.

This is kind of on purpose from Windows because writing per-user data from an UAC elevated installer running as adin is considered bad practice, see https://stackoverflow.com/a/55537022.

Now if we want to fix it there are several ways:

t-b commented 3 weeks ago

We go for option 1 (officially advised way).