Today, I have compiled some specific documents on how to install the program installation package. These documents do not ensure that everyone can correctly generate and run the installation package, however, the guiding role of these documents is still necessary for friends who need it, during the installation and deployment of the actual product, some enterprises may install the installation program by using some powerful installation packages, and some enterprises or individuals may make their own installation packages. In order to help new users, I hope you can share these documents and apply these knowledge to your actual work.
Currently, the main content of this document is as follows:
I. Create a Windows Installation Project
Ii. Add a Content File
3. Add project output
4. Add Registry Information
5. create shortcuts
6. Generate a Windows Installer
Note: In the process of creating the installation package program, the steps do not have to be the same as the above steps. Different installation needs are sometimes more complex and cumbersome than these steps, this document only provides reference value and guidance.
Add registry key
To add a registry entry for a Windows Installer, follow these steps.
(1) In the Solution Explorer window, select the installation project, right-click, and select the view/registry option from the shortcut menu, as shown in figure 1.
Figure 1 select "View/Registry"
(2) The "Registry" tab is displayed on the left side of the Windows installation project. On the "Registry" tab, expand the "HKEY_CURRENT_USER/software" node in sequence, rename the registry entry "[manufacturer]", as shown in figure 2,
Figure 2 "Registry" tab
Note: The [manufacturer] registry key is enclosed in square brackets, indicating that it is an attribute and will be replaced with the manufacturer attribute value of the input deployment project.
(3) Select the registry key, right-click it, and select the "New/string value" option in the shortcut menu that appears, as shown in 3. This will initialize a value for the added registry key.
Figure 3 select "New/string value"
(4) Select the added registry key value, right-click, and select the "Properties window" option. The "properties" window is displayed, as shown in Figure 4. The registry key value can be modified here.
Figure 4 "properties" Window
Follow these steps to add a registry key for the Windows installer.