/build/static/layout/Breadcrumb_cap_w.png

Problems registering an OCX file

I use Installshield 11; I have a vendor msi that when run does not register an ocx file.
Problem being is that in direct edit mode I am unable to tell the file to self-register. (Always crashes installshield, but thats another story).

So I captured the registry settings that register the file and put that into a new component in the msi. And everything is good.

But,

I have several mst's built that install the program in specific ways. When I install the program using one of the MST's the registry settings that I put into the MSI for the register of the OCX file do not install.

All the MST's have are a few registry settings in HKLM so I dont see how that should effect it all.

So I took the registry settings and put them into the MST file as well and it still wont install!

Its driving me nuts.

Anyone have a suggestion?

0 Comments   [ + ] Show comments

Answers (3)

Posted by: sridtech 19 years ago
Senior Yellow Belt
0
Hi emuringer,
I dont think modifying the vendor MSI is a good idea. Have you tried using the regsvr32 to register ur .ocx file within ur package?.
In case u havent, script a CA to register and unregister the .ocx file during install and uninstall respectively within ur MST.
Syntax (install): regsvr32 /s <Full path of .ocx file>
Syntax (uninstall): regsvr32 /u /s <Full path of .ocx file>

Let me know if this works for u. By the way, are using calling all those MST's during install?? Verify the command line options ur using for installing the app.

Good luck,
Srid
Posted by: emuringer 19 years ago
Senior Yellow Belt
0
Thanks for the reply sridtech,

command line is :
msiexec /i Blah.msi TRANSFORMS=blah1.mst

which mst the PC would receive would be determined by its job function.

I will try the CA. I figured I would have to do this but our department really frowns on creating our own CA in our packages. Something with deploying via SMS or something.

What really bothers me is that I really should not have to do this.

Thanks
Posted by: emuringer 19 years ago
Senior Yellow Belt
0
I got this fixed now.

Had to re-insert the OCX file making sure to extract the COM information.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ