PDA

View Full Version : Desktop Shortcut with no Icon associated...



Bob Frakes
08-29-2005, 08:22 AM
Having trouble associating an Icon with a desktop shortcut. I've attached a ZIP file of the procedure and results.

Nothing has worked yet.

Any clues?

TsungH
08-29-2005, 02:26 PM
You will want to make sure there is no build warning or error about shortcut icon. If there is none, you may want to consider contacting Macrovision eService (http://support.installshield.com/eservice/) for assistance.

Bob Frakes
08-30-2005, 04:43 AM
No build warning when it completes.

Paying additional money for something as simple as this, that is supposed to work out of the box is not my style.

If they cannot make this software work out of the box using the instructions they provide, then I will go back to my old 2.13. I know it works.

If anyone has any other ideas, please let me know.

Totally Disastisfied Customer...

carsten
08-30-2005, 06:56 AM
I know there exist a problem when installing as restricted user, see http://community.installshield.com/showthread.php?t=146916

I don't know if you are installing as restricted user?

-cpede

Bob Frakes
08-30-2005, 10:01 AM
Doesn't matter how it's installed or built. No errors on build, no icon associated with shortcut when installed.

TsungH
08-30-2005, 03:10 PM
If you think it's a bug, it's to everyone's benefit when you report (http://www.installshield.com/feedback/) it.

Bob Frakes
08-31-2005, 06:18 AM
Check this out...

The icons for shortcuts, file extensions, and CLSIDs must be stored in files that are separate from the target file itself. This is required because the installer should copy only the small icon files to the user's machine when advertising the resource. A developer of an installation package therefore needs to author separate files containing only the icons. These icon files are then stored as binary data in the Icon table.

Icon files that are associated strictly with file extensions or CLSIDs can have any extension, such as .ico. However, Icon files that are associated with shortcuts must be in the EXE binary format and must be named such that their extension matches the extension of the target. The shortcut will not work if this rule is not followed. For example, if a shortcut is to point to a resource having the key file Red.bar, then the icon file must also have the extension .bar. Multiple icons can be stuffed into the same icon file as long as all of the target files have the same extension.

This comes from the Windows Installer help file. The last paragraph may apply. Nothing is in the InstallShield documentation about this. I've tried making a PE exectuable with the icon in it to no avail.