C # Windows Forms Program Packaging installation and uninstallation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.