Click to See Complete Forum and Search --> : Registering an OCX file with MSI package


Dark Potato
February 12th, 2008, 06:06 PM
Hey there guys, I have been working on a little project and now it is completed and I want to create an MSI package that will install my application to where the user wishes but as it is doing that it needs to register RICHTX32.OCX so the application is able to launch properly.

I have never played with MSI packages but it looks a little complicated to do something so simple.

Does anybody have an example of registering an OCX file automatically on the machine they are installing their application on?

This would really be awesome if somebody could help me on this.

Cheers CG

dglienna
February 12th, 2008, 06:10 PM
What language are you using?

Dark Potato
February 12th, 2008, 06:25 PM
Visual Basic 6 for this project

Arjay
February 13th, 2008, 11:54 AM
You'll have to read the MSI documentation to be sure, but I don't believe MSI works on 16-bit components (aren't OCX's 16-bit?).

dglienna
February 13th, 2008, 11:58 AM
I've used Inno Setup and Inno Script. The Package and Deployment Wizard will deploy controls and register them, but it doesn't do desktop icons, and has more than just the exe to install.