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

Document how to install on Windows without admin privileges #200

Closed
ggam opened this issue Mar 22, 2020 · 1 comment
Closed

Document how to install on Windows without admin privileges #200

ggam opened this issue Mar 22, 2020 · 1 comment
Labels
Milestone

Comments

@ggam
Copy link
Contributor

ggam commented Mar 22, 2020

From #107 it seems like it's possible to install without admin privileges, but I'm unable to do so. If it's really possible, it needs to be documented and possibly the installer should default to it (with a warning about side effects) when the currently logged in user is not admin.

@aahlenst
Copy link
Contributor

It is documented. Please see https://github.com/AdoptOpenJDK/openjdk-installer/tree/master/wix#per-user-install. The problem is we're currently not doing the best job at providing accessible documentation. Maybe I find the time some day to change that.

The key here is that you have to pass arguments to msiexec using cmd or PowerShell:

msiexec /i OpenJDK14U-jdk_x64_windows_hotspot_14_36.msi MSIINSTALLPERUSER=1

This launches the interactive installer and you can use it as normal. But as stated in the README, some features are not available for a user installation.

I am not aware of a way to force the interactive installer to perform a user installation using the GUI.

@karianna karianna added this to the March 2020 milestone Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants