Summary
Adding additional information to Add/Remove Programs entrySynopsis
This article discusses how to set additional information in the support information link in the Add/Remove Programs applet.
Discussion
Recently, Microsoft provided functionality in the Windows operating system that allows additional information to be set in the Add/Remove Programs applet. This functionality was added to Microsoft Windows 2000, XP, and later. This additional information can be viewed by selecting the Support Information link in the Windows Add/Remove Programs applet for your application. This additional information, such as the Product Version, Readme, and Contact information, can also be set from your InstallShield project.
The main location where this information is stored is in the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\<PRODUCT_GUID>
where <PRODUCT_GUID> is the Product Code for your setup. This Product Code can be found under Step 1 - General Information view when your project is open.
Note: You can access this registry location directly by typing regedit in the Windows Run dialog to launch the Microsoft Registry Editor.
For example, the following InstallScript code sets the ProductID value for your product to be svSerial from the dialog SdCustomerInformationEx:
function MyFunction()
NUMBER nResult;
STRING szTitle, szMsg, svName, svCompany, svSerial;
begin
nResult = SdCustomerInformationEx(szTitle, svName, svCompany, svSerial, nUser);
// Set sKey to be the uninstall key for this product.
sKey = "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\" + PRODUCT_GUID;
RegDBSetDefaultRoot( HKEY_LOCAL_MACHINE );
// Set the InstallLocation value in the uninstall key.
RegDBSetKeyValueEx( sKey, "ProductID" , REGDB_STRING, svSerial, -1 );
if (nResult = BACK) goto Dlg_SdWelcome;
end;
To use this code in a InstallScript project, copy the entire block of code and paste it into your script. Then, call this function from one of your pre-existing events to run it.
To use this code in a Basic MSI project, copy the entire block of code and paste it into the 'MyFunction' function that is created by default when you insert a new setup.rul file in the InstallScript view.
Note: When using a Basic MSI project with this sample code, the dialog displayed may appear behind the previous dialog that is displayed. This may occur because MSI-based dialogs take precedence over InstallScript-generated dialogs. Therefore, it may be best to create a dialog in the Dialog Editor, so it is MSI-based, and use this sample code as a guide in creating your own dialog.
More Settings for Support Information for your Product
Additional information, other than the ProductID in the above example, can also be set via this same registry key. To set other values, replace the ProductID argument in the RegDBSetKeyValueEx function in the above code with a value listed in the first column of the table below. The following are the values you would have to write to the same key mentioned above, and the information they will fill in:
| Publisher: | Specifies your company name or the name of the application distributor. |
| DisplayVersion: | Contains a string containing the version you want displayed. |
| Contact: | Support contact name. |
| HelpLink: | Contains a link to the support Web site for your product. |
| HelpTelephone: | Specifies your support phone number. |
| ReadMe: | Specifies a link in this registry value that points to a Web site with your product's ReadMe file. |
| URLUpdateInf | Contains a URL to a Web site that provides information about any product upgrades. |
| ProductID: | Specifies a serial number or other ProductID for the product. |
| RegCompany: | Specifies the company of the registered owner (for example, what the end user may have entered in the user information dialog). |
| RegOwner: | Contains the name of the registered owner of the product |
| Comments: | Contains any comment about your product you want to include. For example, it could be a short description of what your product does. |
Additional Information
These registry values will not modify any information in the Add/Remove Programs dialog for any versions of Windows earlier than Windows 2000. This is because Microsoft did not provide this additional functionality in earlier versions of the Windows Operating System.
For further information about the registry functions available, refer to the InstallShield Help Library topic Registry Functions.
Related Articles
Preventing Applications from Appearing in Add/Remove Programs 3Number of Views Size Not Displayed in Add/Remove Programs on Windows 7 3Number of Views Windows Add/Remove Programs lists MongoDB 4.2.13 after Snow License Manager 9.27.1 upgrade 41Number of Views How to Hide the Add/Remove Programs Option 5Number of Views Launch a Custom Action Only When Uninstall is Selected From Add/Remove Programs 10Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago