This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Using custom action
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 14, 2009
09:52 AM
Using custom action
Hi,
I try to add a condition to my custom action. I want to check if a specific version of java is installed and, if not install java.
In custom action, I click on "After setup complete Success dialog" then "new EXE.
In the dialog box, I put the java exe file in File Name and try to had a condition.
I create a new requirement based on "registry entry" with these entries :
- Registry Root : HKEY_CLASSES_ROOT
- Registry Key : SOFTWARE\JavaSoft\Java Runtime Environment\1.6
- Registry Value : (I leave it empty)
I choose "not found"
After, I try the install setup and it always want to install java, instead I have the 1.6 version already installed.
Can someone help me ??
I try to add a condition to my custom action. I want to check if a specific version of java is installed and, if not install java.
In custom action, I click on "After setup complete Success dialog" then "new EXE.
In the dialog box, I put the java exe file in File Name and try to had a condition.
I create a new requirement based on "registry entry" with these entries :
- Registry Root : HKEY_CLASSES_ROOT
- Registry Key : SOFTWARE\JavaSoft\Java Runtime Environment\1.6
- Registry Value : (I leave it empty)
I choose "not found"
After, I try the install setup and it always want to install java, instead I have the 1.6 version already installed.
Can someone help me ??
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 16, 2009
01:33 PM
I think that you should be checking under HKEY_LOCAL_MACHINE, not HKEY_CLASSES_ROOT.