"Go" C # program Package install deployment Add registry key

Source: Internet
Author: User

Today we have compiled some specific documentation on how to do the program installation package, these documents do not ensure that everyone in the installation package will be able to correctly build and run, but the guidance of these documents for the needs of friends is still very necessary, In the actual product installation deployment process may be the use of some of the existing powerful installation package production software installation program installation, and some enterprises or individuals will make the installation package. In order to give the novice some help, now share these documents, I hope you can use this knowledge in their own practical work.

The main contents of the present document are:

One: Create a Windows Setup project

Two: Add content Files

Three: Add Project output

Four: Add registry information

Five: Create a shortcut

Six: Build Windows Installer

Note: In the actual production of the installation package process, the steps are not necessarily the same as the above steps, the specific installation of the different needs are sometimes more complex and cumbersome, this document only provides reference value and guidance.

To add a registry key
To add a registry key for Windows Setup, follow these steps.
(1) Select the Setup project in the Solution Explorer window, right-click and choose View/Registry option in the popup shortcut menu, 1.


Figure 1 Selecting the View/registry option
(2) on the left side of the Windows Setup project, display the Registry tab, in the Registry tab, expand the Hkey_current_user/software node, and then rename the registry key "[Manufacturer]", as shown in 2.


Figure 2 "Registry" tab
Note: the "[Manufacturer]" registry key is enclosed in square brackets to indicate that it is a property that will be replaced with the manufacturer property value of the input deployment project.
(3) Select the registry key, right-click, select the "New/String value" option in the Popup shortcut menu, 3 to initialize a value for the added registry key.


Figure 3 Selecting the new/String value option
(4) Select the added registry key value, right-click, select the "Properties Window" option, pop Up the "Properties" window, 4, where the value of the registry key can be modified.


Figure 4 "Properties" window
Follow the steps above to add a registry key for Windows Setup.

From:http://www.cnblogs.com/wangsaiming/archive/2012/01/05/2313433.html

"Go" C # program Package install deployment Add registry key

Related Article

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.