Loading
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 ??

  • 0_H Yamanishi (Flexera Software)

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

Loading
Using custom action