/build/static/layout/Breadcrumb_cap_w.png

Install/uninstall Oracle with GP in AD

Hi everyone.

(This topic maybe also should be in the Distribution forum also?)
I´m in the startup process of packaging two different versions of Oracle that should be distributed with Group Policys (per machine) in a Active Directory.
I guess that its better to first create a responsfile with Oracle Universal Installer (OUI), and then create a MSI that starts the OUI with the responsfile, rather than maken a setupcapture of the installation. Do you have any thoughts or ideas on how I should tackle this??

But how should I handle the Uninstallation of the application? A cutsom action that executes an uninstall command during uninstall?

The old version of Oracle that will be installed is 9.2.0.1.0 with two 9.2.0.6 patches, the other version is yet to be determinated but I guess it will be a 10."something"....

Thanks in advance
Marcus

0 Comments   [ + ] Show comments

Answers (7)

Posted by: anonymous_9363 16 years ago
Red Belt
0
You're absolutely right. Your best option is to create a response file. As evr, AppDeploy's 'Package KB' is a good start point - http://itninja.com/link/chapter-3
Posted by: jmcfadyen 16 years ago
5th Degree Black Belt
0
just be aware that using the response files doesnt account for reference count type scenarios. shared directories get toasted during uninstall. so if thats an issue in your environment then a repackage could be useful as well but that introduces its own problems.

either way is problematic in certain instances.
Posted by: Mackan75 16 years ago
Orange Belt
0
Thank you for the answers.
The bit that worries me with the respones file is that it dont work over UNC-paths. I maybe can do it with a batch-file in the MSI as "rocket" spoke about, but it doesnt feel very safe...

Thank you John about the information about shared directorys, that could be an issue here. Do you have any tips on problems that may occure during a capture?
We have a separate package that configures ODBC-sources and copies the tnsnames.ora depending on if the machine is in production or test env.

It seems that the customer wants Oracle 10.2.0.3 patch 18 as the other package, I will look in the forum for that application.

More thanks in advance [;)]
Marcus
Posted by: AngelD 16 years ago
Red Belt
0
Marcus,

John has posted some info regarding packaging oracle in the past so try searching for those and if I recall he has spoke about these at the Altiris forum also.
Home path(s) is something you should think about with different oracle versions installed.
Posted by: jmcfadyen 16 years ago
5th Degree Black Belt
0
when you capture the functionality designed into the oracle installer is lost.

For example each version of oracle writes important registry information into HKLM\software\oracle

Under there is a key called Oracle Home. Each version gets assigned a numeric value starting at 0. the next version gets 1 and so on.

If you capture all of your versions will be 0. As such installing one version will overite another version. So you need to dynamically assess the current Oracle home value and increment the value by one.

this is done by modifying all your reg keys from

HKLM\Software\Oracle\home0 to
HKLM\Software\Oracle\home[OracleID] to write some custom script to set the Oracle ID value to whatever you need.

I have numerous posts in the wise forums on how to do this and supplied code etc in there. If you get really stuck email me and I will find the code for you.
Posted by: Mackan75 16 years ago
Orange Belt
0
John.
Great info, I´ll try that if the response-file doesnt work, thanks.

/Marcus
Posted by: jmcfadyen 16 years ago
5th Degree Black Belt
0
np scripts are posted on myitforum and wise if you need them,
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ