Article ID: 257773 - Last Review: August 27, 2007 - Revision: 3.1 INFO: Support for Third-Party InstallersThis article was previously published under Q257773 SUMMARY
The following installation tools are supported by Microsoft for the distribution of Visual Basic applications:
MORE INFORMATION
When packaging an application for distribution, there are five main considerations:
At startup, the PDW/Setup Wizard asks which type of package you want to create. There are two options, a Dependency List and a Standard Setup Package. Either one can be used for this purpose, and each has its advantages and disadvantages. When you select Dependency List, the wizard creates a dependency file (ProjectName.dep) that lists the files that are needed by your application, along with additional information about each specific file. This includes the destination folder, the type of COM registration needed, and a list of dependencies. The advantage of this method is that the dependency file is all that is created: the setup script, .cab files, and so forth are not created. When you select Standard Setup Package, the wizard creates a complete setup package. The disadvantage of this option is that you create files that you might never use. The advantage is that the setup instructions for the program are also created. This set of instructions, contained in the file Setup.lst, is a complete chronicle of the steps you need to follow when you install the application. This list provides information that is above and beyond what is available in the dependency file. Perhaps the most important information is about which files require a system reboot. The method you use is a matter of preference, although with a complex application containing many components, it is good practice to generate both the dependency list and the standard setup package. The Setup Wizard and PDW rely heavily on dependency files. Microsoft ships dependency files for all of the Visual Basic controls and components. For example, Msdatgrd.dep is the dependency file for Msdatgrd.ocx, the Microsoft DataGrid control. There should be a dependency file (Filename.dep) for each of the files you include in your installation package. If so, the PDW picks up the information in these files and includes it in the dependency file and/or the Setup.lst for your application. If one of the components that you need to distribute does not have a .dep file, you can use the Dependency Walker (Depends) utility from the Platform SDK to gather the necessary information. Depends provides you with two main pieces of information:
\Common\Tools\VB\Unsupprt\Depend
Once you have gathered this information, you can proceed with building your installation package.One additional troubleshooting step is worth trying. If you have problems installing the application with another tool, try packaging and installing the application with the PDW/Setup Wizard. If the application runs successfully, it provides a starting point for working with the vendor of your distribution tool. REFERENCES
You can download the Platform Software Development Kit (SDK) from the following Microsoft Web site:
http://support.microsoft.com/default.aspx?pr=psdk
(http://support.microsoft.com/default.aspx?pr=psdk)
For additional information about the structure of Setup.lst and Dependency files, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
178354
(http://support.microsoft.com/kb/178354/EN-US/
)
INFO: How Setup Wizard and PDW Uses Dependency Files
189743
(http://support.microsoft.com/kb/189743/EN-US/
)
INFO: Description of Setup.lst Sections
198038
(http://support.microsoft.com/kb/198038/EN-US/
)
INFO: Useful Tools for Package and Deployment Issues
APPLIES TO
| Article Translations
|
Back to the top
