Skip to content
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

wrong default installation directory for non-admin installations #1364

Closed
donovaly opened this issue May 8, 2016 · 8 comments
Closed

wrong default installation directory for non-admin installations #1364

donovaly opened this issue May 8, 2016 · 8 comments

Comments

@donovaly
Copy link

donovaly commented May 8, 2016

If JabRef 3.3 is installed on Windows only for the current user (without admin privileges) the default installation folder proposed by JabRef is
C:\Users\JabRef
this is incorrect, according to the Windows guidelines it must be
C:\Users\AppData\Local\JabRef

All other programs I know respect this default installation folder for current users.

@stefan-kolb
Copy link
Member

Are you sure this shouldn't go to APPDATA\Roaming so the user profile data gets synched when in a Domain? Could you provide links where this best practice is specified?

@stefan-kolb
Copy link
Member

stefan-kolb commented May 9, 2016

We can discuss this in this context:https://msdn.microsoft.com/en-us/windows/uwp/app-settings/store-and-retrieve-app-data
Would enable preference sharing on multiple PCs?

@donovaly
Copy link
Author

donovaly commented May 9, 2016

Are you sure

Sure ;-)
The default installation folder for local users is available via teh %LOCALAPPDATA% variable.
It points you automatically to
%USERPROFILE%\AppData\Local
reference:
https://blogs.msdn.microsoft.com/patricka/2010/03/18/where-should-i-store-my-data-and-configuration-files-if-i-target-multiple-os-versions/

@stefan-kolb stefan-kolb self-assigned this May 10, 2016
@stefan-kolb
Copy link
Member

Why not use the Roaming folder to keep JabRef synchronized for users inside domains?

@donovaly
Copy link
Author

Why not use the Roaming folder to keep JabRef synchronized for users inside domains?

Because Roaming is for installations for all users on a PC. A local installation (only for the current user) cannot be synced with others - that's the concept of the local installation.

@donovaly
Copy link
Author

Can you please try a version from http://builds.jabref.org/win-install

Done. This does not solve the problem because it tries now to install in the same folder where the installer was started from. So when I execute the installer from C:\Test it proposes C:\Test\JabRef as install folder.
So this bug is not fixed. Please reopen this bug report.

@stefan-kolb
Copy link
Member

Thanks for pointing this out 👍
I incidentally used the wrong method to retrieve the environment variable 😊
This should be fixed in current master. Please try the latest build from http://builds.jabref.org/master.

@donovaly
Copy link
Author

Please try the latest build

Done. Many thanks! The bug is now correctly fixed. So from my point of view all install issues are solved. I am looking forward for JabRef 3.4 to use its installer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants