cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Vincedav
Level 2

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 ??
Labels (1)
0 Kudos
(1) Reply
hidenori
Level 17

I think that you should be checking under HKEY_LOCAL_MACHINE, not HKEY_CLASSES_ROOT.
0 Kudos