Hi, I have written an application which creates objects from an ActiveX .exe component which I have also written. The system works fine from the development environment and from executables run from my development computer.

The problem comes when I try to bundle up the entire system into an installable package. I have been using the Microsoft Visual Studio Installer.

To keep things simple, I have created an installation package for the component, and one for the main application. When the component attempts to install, an error occurs "could not register component."

1) Does anybody have some ideas about why that might happen or how I could prevent it?

After the component installation occurs, the component seems to register itself when I double click on it. (the registry adds some keys) Having done this, I installed the main application. Then when I tried to run the main application, an error was reported "class not registered," and a class id different from the class ids shown in the registry is shown.

2) Any comments?

Thanks, Ben