williery10
asked on
Registering ocx files during installation?!
Hi there,
I have a project that uses a number of third active party activex components. During development these of course have to be registered (using RegSvr32.exe) but I find it strange that in order for the compiled project exe file that the components have to be registered on the machine the exe is running. I also discovered that inorder to register these that "Active X" need to be installed on the machine in order to register the third party components. Is this right? It really doesn't seem logical to have to do all this for a compiled exe. Also if the above is true, can anybody recommend a good free to download installer for windows that will do the above as I am currently using a batch file to register the components which requires the user to click ok for each component. Any help with this would be great.
Williery
I have a project that uses a number of third active party activex components. During development these of course have to be registered (using RegSvr32.exe) but I find it strange that in order for the compiled project exe file that the components have to be registered on the machine the exe is running. I also discovered that inorder to register these that "Active X" need to be installed on the machine in order to register the third party components. Is this right? It really doesn't seem logical to have to do all this for a compiled exe. Also if the above is true, can anybody recommend a good free to download installer for windows that will do the above as I am currently using a batch file to register the components which requires the user to click ok for each component. Any help with this would be great.
Williery
VB comes with the package and deployment wizard that takes care of all this for you. Go to Add-ins...Add-In manager and load the Package and deployment wizard. It will create an installer for you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thats a brilliant help, thanks.
Why don't you use the wizard included in vb6 to make a setup. This will register the ocx's on the target machine.
v.k.