Java Installer w/o admin priv - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

kylewhaley
Posts: 3
Joined: Thu Jul 24, 2008 3:08 pm

Java Installer w/o admin priv

Is there a way to install java in windows without admin permissions?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Java Installer w/o admin priv

Hi,

If you are referring to JRE, the only solution is to install a JRE bundle in a location which doesn't require Administrator privileges. Note that a JRE bundle can be used only by the Java Product installed by your package.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kylewhaley
Posts: 3
Joined: Thu Jul 24, 2008 3:08 pm

Re: Java Installer w/o admin priv

my package needs to be installed so all users can access it and the jre. I have tried to install it in application data but I get the admin privi warning.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Java Installer w/o admin priv

Hi,

An all users location which doesn't require Administrator privileges is the "Common Application Data" folder (it is resolved to the "All Users\Application Data"). However, please note that a package which doesn't require elevation needs to install per-user. Also, it must not write in per-machine locations (like the "Program Files" folder).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kylewhaley
Posts: 3
Joined: Thu Jul 24, 2008 3:08 pm

Re: Java Installer w/o admin priv

my jnlp file doesnt find jave to associate it with
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Java Installer w/o admin priv

Hi,

Please note that the Advanced Installer Java Launcher does not support the Java Network Launching Protocol. Therefore, you cannot use a JRE bundle for your Java Web Start application.

Unfortunately, there is no other solution for installing a JRE without Administrator privileges. A workaround would be to use a JRE launch condition. This will make the installation stop if a supported JRE version is not found on the target machine. Also,it will show a message to the user to inform him why the installation cannot run.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”