Tuesday, September 09, 2008

Incorrect shortcut icon in start menu

Had an issue with an InstallShield 11 created installer.

One of the installed shortcuts was displaying a `default` exe icon, rather than the one specified.

Digging in the MSI, with Orca, showed that the shortcut incorrectly had an IconIndex of 1.

The Installshield IDE displayed an icon index of 0.

Something was obviously wrong.

The "Icon" table, in XML mode, showed the problem:
It was:
<row><td>NewShortcut2_B78C30FEFEEC4393B73638863E86FFA5.exe</td><td/><td>&lt;PATH_TO_PROGRAM FILES_FILES&gt;\StatMon.exe</td><td/></row>

Instead of:

<row><td>NewShortcut2_B78C30FEFEEC4393B73638863E86FFA5.exe</td><td/> <td> &lt;PATH_TO_PROGRAM FILES_FILES&gt;\StatMon.exe</td><td>0</td></row>

The IDE was showing a different value, if none was specified, than was put into the MSI.

Hope this helps save someone a headache in the future. ;)


  1. Anonymous1:32 pm

    Thanks, this one helped me a lot! For those of you building in InstallShield who haven't downloaded Orca to mess around with your tables, the shortcut table can be directly edited using just Install Shield under Additional Tools -> Direct Editor -> Shortcut

  2. Orca is an amazing tool, but can't (AFAIK) be scripted so for changes to automated builds it doesn't help, but is invaluable in finding problems. MSIDiff is great too.


  3. the rolex replica uk continues to make an impression, asap. Built to be noticed and adored, these kinds of tag heuer replica sale are definitely attention searchers. With their beautiful colors, sparkling treasures, and timelessly classic designs, it's hard not to notice one on someone's arm. Combined with a solid reputation for sturdiness and stability, these chanel replica sale end in a finished product that is a champion in the watch market. Technomarine watches are just fascinating. While it's a pretty summary quality to see in watch, it's hard to look away when you see a Technomarine close up. These hublot replica uk take the traditional Switzerland design and take it one step further. Plainly noticeable, a wrist watch like this will not go unseen when worn. Adding a sprint of sparkle to the original sort of Switzerland design, these watches feature remarkably vibrant very glass and a sophisticated chronograph. Technomarine has become a popular name in the corporate world. Most of the sales of these tag heuer replica sale are made right in the united states, satisfactorily which represents the drive of the American entrepreneur. Among CEO's, businessmen, and other professionals, these watches have become a statement of success.