Unix Technical Forum

conflicting versions of regsvr32

This is a discussion on conflicting versions of regsvr32 within the Oracle Miscellaneous forums, part of the Oracle Database category; --> We have a product that requires an Oracle client to run, currently we are shipping Oracle 8.0.5. when this ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 06:53 AM
hamerb@gmail.com
 
Posts: n/a
Default conflicting versions of regsvr32

We have a product that requires an Oracle client to run, currently we
are shipping Oracle 8.0.5.

when this is installed oracle will prepend it self to the path, placing
the oracle directory in front of the %WINDIR%\system32 folder. This in
it self isn't a problem, the problem comes w/ the fact that this
version of oracle ships a buggy version of regsvr32.exe . I believe it
is version 4.0, and the current version that comes on XP sp2 is
5.1.2600.2180 (at least that is what I've got.)

I'm working on an installer and the installer grabs the version from
Oracle, not the one in the system folder. All in all this has been a
tedious bug to track down due to the behavior of the regsvr32 that
oracle ships. One of the bugs is that it always succeeds, no really, it
does. Try it, run "regsvr32 foobar.dll" and echo the return code. it
will return a 0 like everything worked fine.

So I was wondering if I could just delete this file from oracle. This
would solve our problem, and prevent a whole list of tiny problems w/
our customers.

I wonder is anyone has dealt w/ this before, and knows if this
workaround will interfere w/ oracle.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 06:53 AM
HansF
 
Posts: n/a
Default Re: conflicting versions of regsvr32

On Wed, 01 Jun 2005 09:28:41 -0700, hamerb interested us by writing:

>
>
> So I was wondering if I could just delete this file from oracle. This
> would solve our problem, and prevent a whole list of tiny problems w/
> our customers.


Why not?

You are running a version that has been unsupported for so long that
screwing up the client's configuration really shouldn't matter. So if you
care so little for your client that you don't have a currently supported
version to manage, why should you care about any other little issues?

--
Hans Forbrich
Canada-wide Oracle training and consulting
mailto: Fuzzy.GreyBeard_at_gmail.com
*** I no longer assist with top-posted newsgroup queries ***
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 06:53 AM
hamerb@gmail.com
 
Posts: n/a
Default Re: conflicting versions of regsvr32

you know, I've asked that question from the developers, but there is
some reports problem in there. Other than that I wouldn't know either.
I'm not an Oracle person, I just do the installers, so whatever crap is
handed to me is what I need to make work.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-08-2008, 06:53 AM
Rauf Sarwar
 
Posts: n/a
Default Re: conflicting versions of regsvr32



hamerb@gmail.com wrote:
> you know, I've asked that question from the developers, but there is
> some reports problem in there. Other than that I wouldn't know either.
> I'm not an Oracle person, I just do the installers, so whatever crap is
> handed to me is what I need to make work.


Adding to Hans's post.

Regsvr32 used to ship with pre 8.1.x releases. Instead of removing the
file, why not work easily around it,

c:\> set path=%windir%\system32;%path%
Now launch your installer with system32 first in your path
OR
c:\> set regsvrexe==%windir%\system32\regsvr32.exe
Now use this in your installer
OR
lookup usage for kernel32.dll (GetSystemDirectory)

Regards
/Rauf

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:26 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com