Open a project to be packaged in vs2005, point to "add" in the "file" menu, and click "Create Project ". In the "Add new project" dialog box, click "Install and deploy Project", and select "Install Project" in the "template" pane ". In the "name" box, type "my test installer ". (Of course, you can enter any name in the Name box, which is not described here .) "OK. You can see that the project has been added to Solution Explorer, and the file system Editor opens. In Solution Explorer, select the my test installer project. In the Properties window, select the productname attribute. (The productname attribute specifies the name displayed for the application in the folder name and add/delete programs dialog box .) Type "my test ". Then add the Windows-based application to the installer. The first step is to select the "my test installer" project in Solution Explorer. In the file system Editor, select the application folder node. Step 2: Point to "add" on the "operations" menu, and click "project output ". In the "add project output group" dialog box, select "my test" from the "project" drop-down list ". Select the "primary output" group from the list. In the "configuration" box, select "(activity )". Click OK to close the dialog box. Step 3 creates a shortcut for the application. In the file system Editor, select the "Master output from my test" node. Right-click to create a shortcut. Rename the shortcut as the name you want to appear on the user desktop. At the same time, drag some shortcuts to the left "User desktop" folder. Add an icon to the shortcut attributes. Step 4 is the last step. Select "generate my test installer" on the "generate" menu to distribute the installation to users. Sometimes some software and patches are required to install and run the program. For example, if the IE version is later than 5.0, you need to add the startup conditions. In Solution Explorer, select the my test installer project. On the View menu, point to the editor and click STARTUP conditions ". In the launch condition editor, select the requirements node on the target computer. On the "operations" menu, select "add file startup conditions ". In this case, a "Search for file1" node will be added under the "Search for the target computer" node, and a "condition1" Node (condition:... As a condition ). Rename "Search for file1" to "Search for Internet Explorer ". In the "properties" window, set the "FILENAME" attribute to ipolice.exe, set the "folder" attribute to [programfilesfolder], and set the "depth" attribute to 2, set the "minversion" attribute to 5.00. Select the "condition1" node. Set the message attribute to the following content: "This program requires Microsoft Internet Explorer 5.0 or later. Install Internet Explorer and run my test installer again ."