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: Include path in add/remove product name?
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
‎Aug 06, 2008
02:44 PM
Include path in add/remove product name?
Hi all... I don't know if this is an obvious question or not, but nothing I've tried so far has worked, and my googling/help doc searches haven't come up with anything either.
We're using the multiple instance support in IS2009, which works pretty well, but all of the instances show up with the same name in the Add/Remove control panel. Because of this, you can't tell which instance you're uninstalling. To fix this, we'd like to include the installed path in the add/remove display name (so, go from "Microsoft Foobar" to "Microsoft Foobar"). Variable substitution ("Microsoft Foobar [INSTALLDIR]") doesn't seem to work, and neither does changing the ProductName property at runtime. Any thoughts on a solution?
Thanks,
-Tom
We're using the multiple instance support in IS2009, which works pretty well, but all of the instances show up with the same name in the Add/Remove control panel. Because of this, you can't tell which instance you're uninstalling. To fix this, we'd like to include the installed path in the add/remove display name (so, go from "Microsoft Foobar" to "Microsoft Foobar
Thanks,
-Tom
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 07, 2008
09:39 AM
I haven't walked all the way through it, but how and where are you attempting to modify ProductName?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 07, 2008
11:01 AM
I had a custom InstallScript action, executing just before RegisterClassInfo. It just called MsiGetProperty to get the current value, added INSTALLDIR, and then set it again with MsiSetProperty. Which step sets the registry info for add/remove, anyway?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 07, 2008
11:18 AM
RegisterProduct sets up the Add or Remove Programs information. Does MsiSetProperty succeed? Does the correct modified value show up in a MessageBox? In an MSI log file?