Shortcut Icons disappearing
-
- Posts: 19
- Joined: Thu Nov 03, 2005 11:58 am
- Contact:
Shortcut Icons disappearing
On some systems that I deploy to, I am experiencing a situation where shorctus that I am creating are "losing" their icons. When I install all is fine. After a time, the shorcuts regress to the "default" shorcut icon. What is going on?
This can happen with advertised shortcuts - the sure fix is to use regular shortcuts. Unfortunately, advertised shortcuts behave strangely and can lose their icons as you have indicated. This can happen on identical installs of the product onto identical hardware at different times for no apparent reason.
-
- Posts: 19
- Joined: Thu Nov 03, 2005 11:58 am
- Contact:
-
- Posts: 19
- Joined: Thu Nov 03, 2005 11:58 am
- Contact:
I believe that is the problem - its the same problem that happens with advertised shortcuts. When a shortcut is advertised, or its regular but you are specifying a custom icon, Windows Installer stores the specified icon (as identified by the index, or 0 if the first one) in the MSI database. Unfortunately, this storage tends to go haywire as you have observed. The only workaround is to not specify a custom icon. Advertised shortcuts, even if no custom icon is specified, store their icons in the MSI database anyways (as they are meant to display the icon even when the application hasn't been fully installed yet, but advertised), and therefore they are always potential candidates for this problem.
We might have a permanent fix for this problem available. If you are able to, could you please:
Thank you!
- 0) Close your IDE
1) Backup the file msidbwrap.dll in your InstallAware folder
2) Download the new version from http://www.installaware.com/blockspon/msidbwrap.dll and place in your InstallAware folder
3) Re-open the IDE and re-build your project
4) Test the produced setup thoroughly to verify that icons are no longer disappearing after a period of time
Thank you!
-
- Posts: 19
- Joined: Thu Nov 03, 2005 11:58 am
- Contact:
-
- Posts: 19
- Joined: Thu Nov 03, 2005 11:58 am
- Contact:
-
- Posts: 149
- Joined: Fri Oct 21, 2005 8:42 am
- Location: UK
I found this issue on a couple of occasions, It seemed that the location for the icon was pointing to a non existant directory in the MSI installation directory. An issue when I have been adding and removing lots of versions of my software.
In the end I updated the GUI ID of my application and things started working again.
For the moment anyway
In the end I updated the GUI ID of my application and things started working again.

For the moment anyway

Who is online
Users browsing this forum: No registered users and 124 guests