As explained earlier, a dependency file shows your project’s dependencies
or the other files that your project needs to run correctly on a computer. For
a fuller discussion of the contents and purpose of dependency files, see the section
in this chapter titled "Dependency Information in DEP Files."
You create a dependency file by running the Package and Deployment Wizard,
choosing the Package option on the first screen, and choosing Dependency File
from the second screen. The following pages describe the additional steps that
you must take to create your dependency file.
The Package and Deployment Wizard screens for creating a dependency file are
comparable to the Package and Deployment Wizard screens for a standard setup package.
Following is a brief description of the steps for creating a dependency file:
The Package Folder screen is the same as the standard setup package’s
Package Folder screen.
The Included Files screen is the same as the standard setup package’s
Included Files screen.
The Cab Information Screen dialog box is unique to a Package and Deployment
Wizard dependency file setup (see Figure 21.16).
FIGURE 21.16 The Package and Deployment Wizard’s Cab Information Screen
dialog box (dependency file setup only).
The Install Locations screen is the same as the standard setup package’s
Install Locations screen.
After Package and Deployment Wizard has finished creating the dependency file,
the DEP file will appear in the directory you specified (preferably, the same
directory where you store the application’s executable).