Installer class - Finding COM registered and file version and time

Giganews Newsgroups
Subject: Installer class - Finding COM registered and file version and time
Posted by:  Sharon (SharonG@newsgroups.nospam)
Date: Mon, 31 Mar 2008

Hello Gurus,

I need to add functionality to my install to check whether a COM dll is
installed by another of our product, and if it's installed to check whether
it has a newer file version or new creation time.

I'm already using an VB installer class in my VS2005 install project as a
custom action.

So the two major issues I need your help is:
(1) How do I check whether a specific COM object is registered?
(2) How do I check the COM file version and creation time?

-------
Thanks
Sharon

Replies