install over mscomctl.ocx?

G

greg

hello,
we have a custom install we built for our application. it has been around
since windows 2000. we had to install a newer version of mscomctl.ocx for
win 2000 clients and still need to install it for customers who have not
upgraded. now xp sp2 users are saying we are overwriting their newer
versions of mscomctl.ocx.

it seems like we are checking the version, but.....
it does not seem like xp would allow us to overwrite an older ocx in the
windows directory?
would this be possible?
i would think xp would stop an older ocx from writing over a nwer one?

thanks for any help
 
C

Carey Frisch [MVP]

The Windows Common Controls Mscomctl.ocx or Comctl32.ocx may cause
your application or the Visual Basic 6 IDE to unexpectedly quit, or you may
receive a "Divide By Zero" error message
http://support.microsoft.com/?scid=kb;en-us;896559&spid=3042&sid=147

--
Carey Frisch
Microsoft MVP
Windows XP - Shell/User
Microsoft Newsgroups

-------------------------------------------------------------------------------------------

:

| hello,
| we have a custom install we built for our application. it has been around
| since windows 2000. we had to install a newer version of mscomctl.ocx for
| win 2000 clients and still need to install it for customers who have not
| upgraded. now xp sp2 users are saying we are overwriting their newer
| versions of mscomctl.ocx.
|
| it seems like we are checking the version, but.....
| it does not seem like xp would allow us to overwrite an older ocx in the
| windows directory?
| would this be possible?
| i would think xp would stop an older ocx from writing over a nwer one?
|
| thanks for any help
 
Y

Yves Leclerc

XP has a built-in feature which protects the "core" files. If it detects a
core file change/removal, XP will restore it with the one it has registered
as the good one.
 
G

greg

thank you.

how does it know what is a good one?
when we install we actually register the ocx. Through regsvr32.exe.
so would windows consider it a good ocx at that point?
i would think it just wouldn't let us overwrite a newer version.

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top