Problem with tuxedo ver 10 check - 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!

SwathiSurya
Posts: 6
Joined: Mon Apr 13, 2009 11:13 am

Problem with tuxedo ver 10 check

Hi,

I have a problem with tuxedo version 10 check.As our application works on tuxedo,before installing application we need tuxedo to be checked whether it is installed or not. Our application works for 7.1 or higher version of tuxedo. So here is the problem now if we install tuxedo 10.3, the registry key will be available at SOFTWARE\ORACLE\TUXEDO and if we install Tuxedo 7.1 or 8.1 or 9.1, the registry key will be available at SOFTWARE\BEA Systems\TUXEDO. So, our application should fail only when tuxedo version is less than 7.1.So, can you let me know how should i proceed now.

Thanks,
Swathi.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Problem with tuxedo ver 10 check

Hi,

You can make two search operations, named for example SEARCH_1 and SEARCH_2. Each one will refer to a certain registry path. Now for the condition you can use something like this:

Code: Select all

 SEARCH_1 OR SEARCH_2 

If one of the search operations will return a valid answer the condition will be validated, otherwise the installation will stop.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
SwathiSurya
Posts: 6
Joined: Mon Apr 13, 2009 11:13 am

Re: Problem with tuxedo ver 10 check

Hi,

Thanks. But will i be able to set the property using these search operations?
Since if the tux version is 8, we need to check for the 8.1 patches and also update the path variable accordingly.
Can you help me how to proceed.

Thanks,
Swathi.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Problem with tuxedo ver 10 check

Hi Swathi,
Thanks. But will i be able to set the property using these search operations?
Yes, you can use the Property Set with Formatted custom action to conditionally set it to one of your search result properties.
Since if the tux version is 8, we need to check for the 8.1 patches
It is recommended that you create a search for each version i.e having SEARCH_FOR_UNDER_7_1 SEARCH_FOR_7_1 SEARCH_FOR_8_0 SEARCH_FOR_8_1 etc. then use these properties in conditions where different actions need to be taken depending on the version of tux installed.
and also update the path variable accordingly.
You can use the Environment page to add a new PATH environment variable with the Behavior field set to "Append". Make sure you uncheck the "Remove on uninstall" checkbox. You do not want the PATH variable to be removed from the system.
If this is not what you want, please give me more details.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
SwathiSurya
Posts: 6
Joined: Mon Apr 13, 2009 11:13 am

Re: Problem with tuxedo ver 10 check

Hi GabrielBarbu,

Thanks for your suggestion.The problem was solved in a different way.I have defined two variables for Registry path one for Tux 9 and lower versions and the other one for Tux 10. Then applied the OR condition for both the variables in launch condition to check for the Tuxedo.Its working fine now.

Regards,
Swathi

Return to “Common Problems”