-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
installer fails without admin permissions #783
Comments
Which Windows Version are you using? At least for my Win10 System the 64bit installer asks for Admin rights using the usual UAC dialog. |
Win 7 64bit
Here not. |
This is also true for Win 10. Just run the JabRef installer as non-admin user and you will see this. |
Okay - thanks for the clarification. I can see your point now. So we should configure the new installer, that it is able to detect whether a user has admin rights - or not - and set the default install directory accordingly. @koppor Can you do this? |
Maybe we need the admin rights to create file associations. I am unsure about that. Otherwise, we could simply create a launcher, would that help? |
This is not necessary. if the user doesn't have admin permissions you can set the file associations via the HKCU registry tree only for the current user. See the installer of JabRef 2.x as reference how and that this works. |
There are two options:
|
Ok, I got a version running that lets you select the installation scope. You can test it here. Please confirm if this does solve your problems. |
Ok, this is implemented know. The installer automatically decides whether the user has to install in home directory or not. @donovaly Please check at http://builds.jabref.org/install-privileges/ |
It works here. When the same user can acquire admin rights, it asks for admin rights. If the user cannot acquire admin rights, the setup does not popup asking for other user credentials. When using other applications, these also ask for other credentials. Is it possible that the installer asks for admin credentials when the current user is not an admin? |
For reference: The PR is #1125. |
This link is dead. |
@donovaly This has been merged already. You can try out the new final version 3.3. |
I tested now the installer of JabRef 3.3. I requested: "- if the user has admin permissions, the installer should propose to install for all users of the PC (with an option to install only for the current user)
We now have
So it is much better than before and I am now able to bundle JabRef again with the installer of the program LyX. It would nevertheless be helpful if there is the requested option to install only for the current user although the current user as admin. |
I had this inplemented in a previous commit, but we decided to keep it simple for now. Dunno what the others think @simonharrer |
The new Win installer of JabRef 3.x does not check if the user that executes the installer has admin privileges or not.
It should be:
Currently the installer tries to install for all users, also if the user doesn't have admin permissions - which will of course fail. (As an expert one can already change the install path but the vast majority does not know the correct install location for a non-admin user.)
The text was updated successfully, but these errors were encountered: