Installing Components Authored in Visual Basic

   Tasks

You can include components written in Visual Basic in a setup project by including the Visual Basic components and all the files that they depend on in the setup project. However, it is often easier to use Visual Basic's Package and Deployment Wizard to build a setup. You can then include these Visual Basic-authored setup files as a nested setup in a Microsoft developer environment setup project.

Such internal, nested setups are automatically run first, when your users run the outer setup (.exe) file that the setup project generated.

If the component authored in Visual Basic is a COM component (such as an ActiveX control), then like all COM components, it is best to install them in the Windows System folder (in the Visual Basic-authored setup).

Even if you don't want to use a nested setup, running the Package and Deployment Wizard on the Visual Basic project for the component is a quick and easy way to determine the correct set of files that need to be included in your self-installing setup file with the component.