This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to change ProductName for uninstall
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 10, 2008
08:52 AM
How to change ProductName for uninstall
Hello,
ich have a Basic-MSI Installation, and want to change the ProductName , which is displayed in setup dialogs, and in the Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\...
and in some other places ...
During the Installation, the user can make some selections.
Depending on these selections i want to change the ProductName.
Is this possible ?
Does someone have an idea ?
Thanks
Andreas
ich have a Basic-MSI Installation, and want to change the ProductName , which is displayed in setup dialogs, and in the Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\...
and in some other places ...
During the Installation, the user can make some selections.
Depending on these selections i want to change the ProductName.
Is this possible ?
Does someone have an idea ?
Thanks
Andreas
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 10, 2008
10:23 AM
Hi,
I guess you can store the new name somewhere in registries, and when uninstalling, read and in a CA set the new ProductName.
But what do you need this for?
Regards,
Daniel
I guess you can store the new name somewhere in registries, and when uninstalling, read and in a CA set the new ProductName.
But what do you need this for?
Regards,
Daniel
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 11, 2008
02:10 AM
Hi,
Sorry, but
no, i cant store it somewhere else, i need it in the Display Name from the uninstall
I have mutiple instances for multiple installations.
I have some selfmade dialogs, need these to decide wich component has to be installed. No, i cant split the installation.
Because the user has to know, in the 'software' dialog, what he has installed -
i have to change the DisplayName.
No, i cant write it in the comments or else 😞
Sorry, but
no, i cant store it somewhere else, i need it in the Display Name from the uninstall
I have mutiple instances for multiple installations.
I have some selfmade dialogs, need these to decide wich component has to be installed. No, i cant split the installation.
Because the user has to know, in the 'software' dialog, what he has installed -
i have to change the DisplayName.
No, i cant write it in the comments or else 😞
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 11, 2008
10:23 AM
If you know what the set of potential product names are ahead of time, you may want to look into the MSI multiple-instance support in InstallShield 2009. I'm not convinced it's a perfect fit for what you describe, but it might be close enough.
However generally multiple instances are virtually identical, and your last post seems to indicate you change what you install on a per-instance level since you know what instance it is. This is not a great fit for our multi-instance support (although it can still be done).
However generally multiple instances are virtually identical, and your last post seems to indicate you change what you install on a per-instance level since you know what instance it is. This is not a great fit for our multi-instance support (although it can still be done).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 11, 2008
01:08 PM
You have built in function "OnCustomizeUninstInfo"
This is used in case you are running setup with more then one product, and for each install dependant on which product is selected you can change uninstall info. i had this problem last year.
In dialog window where you choose which product you are installing
you just make
if (bOneThing = TRUE) then
UNINSTALL_DISPLAYNAME = "One Thing";
elseif (bOtherThing = TRUE) then
UNINSTALL_DISPLAYNAME = "Other Thing";
endif;
if you need more help, send me a msg.
This is used in case you are running setup with more then one product, and for each install dependant on which product is selected you can change uninstall info. i had this problem last year.
In dialog window where you choose which product you are installing
you just make
if (bOneThing = TRUE) then
UNINSTALL_DISPLAYNAME = "One Thing";
elseif (bOtherThing = TRUE) then
UNINSTALL_DISPLAYNAME = "Other Thing";
endif;
if you need more help, send me a msg.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 13, 2021
09:39 AM
Hi
I need to change application name in add or remove programmes. So please help me on this.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 12, 2008
02:56 AM
Hello,
thank you for your answers
Sory, but i am not sure what you mean.
@Miroslav
As i have already written, i am using a Basic MSI installation.
I think the function OnCustomizeUninstInfo can only be used in a InstallScript Installations.
Installscript can be used with Basic MSI Installation, but i think the On... Functions do not work.
I tried to change the Property within a script, but 'ProductName' is a Property i cant change within a script.
@MichaelIU
I am already using the Table ISProductInformationInstance and already set a different ProductName, but thats not my problem.
I need to build the property ProductName depending on customer selection during the installation.
I think the easiest way is to modify the dialog text strings using a different Property to display my new name
And to modify the Registry Value at the end of the installation.
Thanks
Andreas
thank you for your answers
Sory, but i am not sure what you mean.
@Miroslav
As i have already written, i am using a Basic MSI installation.
I think the function OnCustomizeUninstInfo can only be used in a InstallScript Installations.
Installscript can be used with Basic MSI Installation, but i think the On... Functions do not work.
I tried to change the Property within a script, but 'ProductName' is a Property i cant change within a script.
@MichaelIU
I am already using the Table ISProductInformationInstance and already set a different ProductName, but thats not my problem.
I need to build the property ProductName depending on customer selection during the installation.
I think the easiest way is to modify the dialog text strings using a different Property to display my new name
And to modify the Registry Value at the end of the installation.
Thanks
Andreas
