-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing datalad-gooey as non-admin user on Windows #59
Comments
I agree that it would be very helpful to avoid admin requirements. |
Ping @christian-monch also here. |
Another ping @christian-monch. I have created myself a non-privileged account ( |
I've tried installing a few programs, and they don't touch files under an admin user regardless of whether I provided an admin password or not (Google Chrome and Firefox installed themselves fine without admin password). I checked where the files ended up, and Firefox and Google Chrome installed itself into Whatever solution we come up with, the installation experience with a non-admin account is completely broken at the moment. Even if I provide an admin password, the installer happily modifies admin files and uninstalls stuff on the admin account. The gooey, even if it gets successfully installed, is unavailable on the non-admin user's account that installed it. This renders the software unusable on non-admin accounts. |
No experience with creating the installer either, but I looked at the github workflow and the installer building scripts. The installer is generated with nsis. FWIW I see that the script uses $LOCALAPPDATA variable, which sounds like |
as the topic of datalad gooey came up again in the office hour, did your explorations lead to any insights, links, thoughts to share, @christian-monch? |
Updating this issue with recent developments: datalad/datalad-gooey#430 resolved the issue partially by providing a partial "gooey-only" installer that installs only the python gooey dependencies in a non-admin user location. A full installer (including git and git-annex) still requires admin privileges, as the git-annex installer requires them. @christian-monch has found the right place in the git-annex source code to fix it, and promised a PR: datalad/git-annex#176 |
Origin: datalad/datalad-gooey#425
It seems that the datalad-installer on Windows attempts an installation under the
admin
user. I have tagged @christian-monch in hopes that he might know more about it - maybe its defined in the installer that he created. I looked at the installer, specificallyhttps://github.com/datalad/datalad-gooey/blob/69b5f083bf74ecb2bee0dc819105dda74bda4da1/tools/installer_building/windows-installer-amd64.nsi#L31-L42
but it is not entirely clear to me why
LocalAppData
expands to theadmin
user instead of a non-privileged user.TODO (not necessarily to be performed in this order)
The text was updated successfully, but these errors were encountered: