How to disable Java detection - 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!

fourinline
Posts: 2
Joined: Thu Jan 07, 2010 11:43 am

How to disable Java detection

Hello, I use Custom Action to force install Java JRE in my MSI package "I don't use prerequisite because I don't want EXE" but in Win 7 64 bit the installer automatically cancels the installation of my JRE without notifying me of anything when it detects any other JRE installed in my PC.

Please let me know how to disable Java JRE detection as I want to force the installation of my JRE in my MSI package. Or how to disable the installer's ability to know what kind of file I want to install using Custom Action.

Thank you.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to disable Java detection

Hi,

Please note that this is handled automatically by the JRE installer you are using, it is not related to the MSI package. Your installer simply launches the JRE EXE you specified, it does't control what that EXE does.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
fourinline
Posts: 2
Joined: Thu Jan 07, 2010 11:43 am

Re: How to disable Java detection

No Sir this is not it. When you install the JRE separately it will give you a message wether you want to reinstall the JRE or not.

What you said Cosmin is right in the older versions of Advanced Installer.

I believe this is due to the newly advertised feature of Advanced Installer that it has the ability to detect Java JRE's which I'm trying desperately to disable.

Kindly let me know if I can disable detecting Java files or to disable detecting what kind of file I want to install in Custom Actions. Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to disable Java detection

Hi,

Please note that our Java detection features are not related or used in any way by custom actions. Also, a Java detection feature could not affect a custom action by default (you would have to manually set installer properties and condition the custom action with them). Can you please send us the .AIP (project) file you are using to support at advancedinstaller dot com so we can investigate it?

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

Return to “Common Problems”