C # software package and deployment

Source: Internet
Author: User
Reference online: http://blog.csdn.net/hanghwp/archive/2009/03/17/3998083.aspx
1. The configuration file does not need to be introduced into the packaging file.
Ii. software packaging and deployment process:
1. Create a deployment project step by step.
2. Modify the properties of the package project, right-click the properties of the deployment project -- ", and modify the attributes of author, manufacturer, and productname, such:
3. Select to deploy ProgramProject to automatically add reference to the dependency. For example:

Select primary output

4. Add the main program and other program files (if any). I will add the main program bigrelicimagemanager.exe, for example:

5. create shortcuts for the main program. after renaming, place the shortcuts under the user's desktop and the user's Program folder.


Desktop shortcuts:

6. Create an icon for the shortcut and click shortcut> Properties> icon> browse


Open the graphic icon dialog box and Click Browse. Set the file to executable program. .exe -- Application folder -- main application.

Click OK to complete the setting.

7. Uninstall the software:

Second, use MSI to implement
In the Application folder on the left, add the c: \ windows \ system32 \ msiexec.exefile, which can be changed to uninstall.exe. Then, follow the steps mentioned above to create a shortcut for the file to be detached and paste it to the user's "program" menu.
In step 3, create a folder in the program menu, so put the file in this folder. Otherwise, after the packaged program is installed, in the start-> program list, there are two shortcuts that seem unrelated. To facilitate identification, change the shortcut name to "Uninstall **" and ** to the software name.
Modify the argument attribute value of this shortcut to "/X {productcode}". For details about how to view productcode, see the first method in step 1.

8. Generate the deployment file and obtain the installation file.

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.