1. Setup Wizard, Setup and Deployment project, new, project, file, enter a name and location, click OK, the "Welcome To Install Project Wizard Interface", "Next", select "Project Type", "Next" , select the file to include, Next, finish.
2. Under "Application Folders", create the same structure by project file structure (you actually need to use it, and the file structure doesn't have to be the same). In the Properties window of the application folder, you can set its related properties.
3. In the user's Programs menu, create a folder named for the name you want. In the blank area on the right, right-click Create new shortcut, select item in project, select EXE file.
4. Select the created shortcut, modify the name in the Properties menu, and add the. Icon icon.
5. Right-click on the project, select Properties, configure the program name, prerequisites, and so on in the property page, and configure to select Release.
6. After right-click on the project, locate the release folder under the project file, which is a packaged file.
Creation is complete!
C#. NET Project Packaging