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: issues updating icon in add/remove programs
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Oct 13, 2006
01:48 PM
issues updating icon in add/remove programs
I found one or two threads related to that subject but none provides a fix...
When our product was being installed with ISMP 5.03, it used to update the display name and iconpath value in the windows registry.
The issue with ISMP 11.5 is that the registry entry under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall does not match the product uuid setup in the project...the entry is something like productuuid-xxxxxxxxx ..
The main problem is to figure the -xxxxxxxxx part out ...
How do you do that???
Thanks!
When our product was being installed with ISMP 5.03, it used to update the display name and iconpath value in the windows registry.
The issue with ISMP 11.5 is that the registry entry under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall does not match the product uuid setup in the project...the entry is something like productuuid-xxxxxxxxx ..
The main problem is to figure the -xxxxxxxxx part out ...
How do you do that???
Thanks!
(3) Replies
‎Oct 13, 2006
04:10 PM
With 11.5, there is a hash code appended to the end of the uuid.
To get it, do something like this:
String installLocation = arg0.resolveString("$P(absoluteInstallLocation)");
String uid = arg0.resolveString("$P(bean5.key.UID)");
installLocation = FileUtils.normalizeFileName(installLocation, '/');
int hash = installLocation.hashCode();
String uidandhash = uid+hash;
note that there is a hotfix for 11.5 that is needed to make this work. It also works in SP1
To get it, do something like this:
String installLocation = arg0.resolveString("$P(absoluteInstallLocation)");
String uid = arg0.resolveString("$P(bean5.key.UID)");
installLocation = FileUtils.normalizeFileName(installLocation, '/');
int hash = installLocation.hashCode();
String uidandhash = uid+hash;
note that there is a hotfix for 11.5 that is needed to make this work. It also works in SP1