I. New Installation Deployment project
Second, the application folder to add the application's executable file and the corresponding class library, components, "User's Program Menu" added file shortcuts will be displayed in the Start menu, "User desktop" added file shortcuts will be displayed on the desktop.
Add (C:\Windows\System32\msiexec. exe) to the application folder if you need to have uninstall capability
Third, look at the "Application Folder" property, where DefaultLocation, remove [manufacturer], or the installer default installation directory will be "C:\programm file\ your user name \ Install solution name."
Iv. Review the Properties page in the solution and click on "Prerequisites"
V. View the project's identification code ProductCode
Vi. Enter "/x {ProductCode}" in the Aguements property in the Uninstall.exe shortcut
Seven, you are ready to build a solution directly
C # Windows Forms Program Packaging installation and uninstallation