ActiveX in a MSI
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
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
Answers (5)
Please log in to answer
Posted by:
AngelD
15 years ago
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]
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]
Posted by:
unreal2me
15 years ago
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
Posted by:
anonymous_9363
15 years ago
Posted by:
unreal2me
15 years ago
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
Posted by:
anonymous_9363
15 years ago
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?!?
Why can you not capture?!?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.