Hi,

I have an old ActiveX to build in an MSI. Only files i have is a cab file which contains the .inf file and .ocx file. There is also an exe mfc42.exe.

I know the .inf should go, let's say in Windows\Downloaded Program files and the .ocx is going in System32 but besides that how can i populate the registry alone with so little info?

Other ActiveX I did, was by doing a capture but now, I can't use this method. So i am wondering, when you install an Activex, Registry\HKEY CLASSES_ROOT and Local Machine\Software\Microsoft\Code Store Database keys get populated among others.

How can i find the information about this to create a functional ActiveX package with only the .inf and ocx file?

Anybody can help me understand this, i would really appreciate it.

Thks
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

-2
If you can't capture it you're going to have to find a tool with which to extract the COM information and output it to a .REG and import that .REG into the relevant tables. No offence intended but given that you're asking the question in the first place, I'd say that that was probably beyond your capabilities.

Why can you not capture?!?
Answered 12/17/2008 by: VBScab
Red Belt

Please log in to comment
2
Maybe this old thread may help:
http://itninja.com/question/building-msi-package-cabs&mpage=1

Here are some info that may help:
To identify which files needed to install the component, we need a machine with the ActiveX controller
already installed.

First you need to identify the ActiveX controller in "c:\windows\downloaded program files".
Open properties on the ActiveX component, and document the ID, the files needed with path's.

Search the registry and export
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units\[ID]
HKEY_CLASSES_ROOT\CLSID\[ID]

expand HKEY_CLASSES_ROOT\CLSID\[ID] , and look for ProgID
expand HKEY_CLASSES_ROOT\CLSID\[ID] , and look for Typelib
expand HKEY_CLASSES_ROOT\CLSID\[ID] , and look for VersionIndependentProgID
Export HKEY_CLASSES_ROOT\[ProgID]
Export HKEY_CLASSES_ROOT\[VersionIndependentProgID]
Export HKEY_CLASSES_ROOT\CLSID\[Typelib]
Answered 12/17/2008 by: AngelD
Red Belt

Please log in to comment
0
ORIGINAL: VBScab

If you can't capture it you're going to have to find a tool with which to extract the COM information and output it to a .REG and import that .REG into the relevant tables. No offence intended but given that you're asking the question in the first place, I'd say that that was probably beyond your capabilities.

Why can you not capture?!?


Yes that was beyond my capabilities? why the question? Only active X i did was using the setup capture. This one i can't because i've been given the files as attachment. They have disabled the website that could install it automatically.

If you can help, please feel free to do it.
Thks
Answered 12/18/2008 by: unreal2me
Orange Senior Belt

Please log in to comment
0
i've been given the files as attachment. So? Right-click the INF and choose 'Install', just as you would for any INF. I suspect the MFC42.EXE contains an installer for the MS C++ runtime files. I doubt very much you'll need those so try without for now.
Answered 12/18/2008 by: VBScab
Red Belt

Please log in to comment
0
ORIGINAL: AngelD

Maybe this old thread may help:
http://itninja.com/question/building-msi-package-cabs&mpage=1

Here are some info that may help:
To identify which files needed to install the component, we need a machine with the ActiveX controller
already installed.

First you need to identify the ActiveX controller in "c:\windows\downloaded program files".
Open properties on the ActiveX component, and document the ID, the files needed with path's.

Search the registry and export
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units\[ID]
HKEY_CLASSES_ROOT\CLSID\[ID]

expand HKEY_CLASSES_ROOT\CLSID\[ID] , and look for ProgID
expand HKEY_CLASSES_ROOT\CLSID\[ID] , and look for Typelib
expand HKEY_CLASSES_ROOT\CLSID\[ID] , and look for VersionIndependentProgID
Export HKEY_CLASSES_ROOT\[ProgID]
Export HKEY_CLASSES_ROOT\[VersionIndependentProgID]
Export HKEY_CLASSES_ROOT\CLSID\[Typelib]



Thanks for th info, this was very helpful and helped me understand and build my activeX.

Very appreciated
Answered 12/18/2008 by: unreal2me
Orange Senior Belt

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