cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gzvinstall
Level 4

Install different sets of binaries depending on the version of Oracle

I have an InstallScript MSI project.

Depending on which version of Oracle the target computer has, I need to install different sets of binaries for the same feature.

Any ideas on how to do this?

Thanks!
Labels (1)
0 Kudos
(2) Replies
TheTraveler
Level 8

Well, obviously, you will need some form of detection to figure out what version of oracle is installed on the machine. You could look into using registry functions to figure this out. Oracle usually has a version number of its software in the registry.

Once you figure that out, you could use, FeatureSelectItem(MEDIA, "Oracle version X.X", TRUE);. This idea assumes that you have separated the needed files into features.

I hope this helps.
0 Kudos
gzvinstall
Level 4

Thank you so much for the prompt response!

As far as I could see, Oracle does not have specific version settings in the registry. But I used the key HKLM\SOFTWARE\ORACLE\KEY_OraDb10g_home1
to do the job!

I got this to work by separating the main feature into two subfeatures - one for oracle 10 and the other for oracle 11.

Thanks!
0 Kudos