How to change ProductName display in "add/remove programs" ? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ladk
Posts: 3
Joined: Fri Jan 29, 2010 12:45 pm

How to change ProductName display in "add/remove programs" ?

Hi,

In my setup I create a dialog to define an "InstanceName" property, I want to use this property to define my "ProductName" show in the "add / remove programs" dialog, but how can I do ?

If I define ProductName = [ProductName] ([InstanceName]) in additionnal properties in multiple instances tab is to early because InstanceName has no value.

I try to change the [ProductName] value in the dialog I defined (published event on "Next" button) it doesn't work.

How can I do ?

Thanks for your help.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: How to change ProductName display in "add/remove programs" ?

Hello,

You will have to create a registry value named DisplayName in the following location:

Code: Select all

Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName]
This registry value should contain the desired display name for your application.
Our guide contains information on how to create registry keys.

However, to fully understand how to implement the above, you would first have to read our tutorials so you can better understand how Windows Installer works.
Particularily, the Adding registry keys and values article might be of interest.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
ladk
Posts: 3
Joined: Fri Jan 29, 2010 12:45 pm

Re: How to change ProductName display in "add/remove programs" ?

First thanks for your response.

But my problem is not solved. I had the registry Key "DisplayName" in HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] but nothing change. Perhaps I need others keys in this folder as DisplayVersion, DisplayIcon, InstallDate, InstallLocation, Publisher, UninstallString, Version, ... ?

Besides, in "DisplayName" key I use this code : [ProductName] ([InstanceName]) but in place of [InstanceName] I've the default value of this property not the value I've entered in my dialog. How can I do to have the value entered in the dialog and not the default value ?

Thanks.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: How to change ProductName display in "add/remove programs" ?

Hello,

Please use INSTANCENAME instead of InstanceName, so that your property is available during the entire install process.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
ladk
Posts: 3
Joined: Fri Jan 29, 2010 12:45 pm

Re: How to change ProductName display in "add/remove programs" ?

Great it's working.

No need of the registry update. Juste use the property "Custom Name" in "Product Details" screen with the value [ProductName] ([INSTANCENAME]).

Thanks for your help. :D

Return to “Common Problems”