Hi,
We are looking to upgrade our Oracle client from 9i to 10g.
The chap who re-packaged 9i decided for some reason to add a system search, this would terminate the install/uninstall if TNSNames.ora file was found anywhere on the system, which is obviously now come back to haunt me beacause I want to remove the product
I'm trying to think of the best way to get around this problem

Do I need to attempt an upgrade of the existing install? Or use some other method?

I use GPO for deployment.

Any guidance for this would be appreciated

Many Thanks
Jimmy
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
I'm thinking that that's represents as powerful an argument against repackaging the Oracle client as I've seen. If the Oracle Installer had been used, this upgrade would be a snap. That doesn't help you now, of course.

If this were me, I'd be building a response file using the Oracle Installer, creating a wrapper for that and adding a call to that wrapper to uninstall the present package using the uninstall string from the registry.
Answered 11/20/2008 by: VBScab
Red Belt

Please log in to comment
0
Ian,
Thanks for your reply.
Excuse my ignorance on this but wouldn't calling the uninstall from the wrapper still invoke the system search on the present install?
Answered 11/20/2008 by: jimmyx
Purple Belt

Please log in to comment
0
Think about it, think about it... :)
Answered 11/20/2008 by: VBScab
Red Belt

Please log in to comment
0
I'm thinking so much my head hurts!!
I can't see how using the uninstall string will help me...the system search will still find TNSnames.ora and the unistall will terminate...Or am I missing something..please.. the shop has just run out of Nurofen :-)
Answered 11/20/2008 by: jimmyx
Purple Belt

Please log in to comment
0
Admittedly, I jumped the gun a bit there. Sorry about that.

Whether or not AppSearch affects an uninstall depends entirely on what the package does with the property populated by it. I'm willing to bet it does something like this (assuming the property's name is 'TNSNAMESFOUND')If NOT Installed AND TNSNAMESFOUND
Cancel Installation
If so, it won't affect uninstalls since 'Installed' will be True.
Answered 11/20/2008 by: VBScab
Red Belt

Please log in to comment
0
Unfortuantley there is no install condition on the if statment so i've got:

if TNSNAMESSEARCH <> 0 then
Cancel Installation

So it happens on install and uninstall :-(

Maybe the best way forward is to have a startup script that checks for TNSnames.ora then removes it from the system before the oracle policy kicks in?
Answered 11/20/2008 by: jimmyx
Purple Belt

Please log in to comment
0
You wouldn't want to remove it, would you? Rename it, then rename it back when you're done?
Answered 11/20/2008 by: VBScab
Red Belt

Please log in to comment
0
Yes, I've got a new one to include a new one in the Oracle 10g install, I know you mentioned in the past about having the file on a network share, I have raised this and apparently thats not possible in our environment.

Thanks again for your time
Answered 11/20/2008 by: jimmyx
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity