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: ShortCut view grabbing random file for icon
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
‎Jan 04, 2011
12:36 PM
ShortCut view grabbing random file for icon
Project type is InstallScript MSI.
I am creating shortcuts via the ShortCuts section of System Configuration. I want to create a shortcut to a readme.txt file. Seems simple enough, but when I try to build the project I'm getting the following error
ISDEV : error -3204: Cannot extract icon with index 0 from file, but the filename being picked up is a totally different file (not a txt, not an ico or dll file).
I deleted the shortcut, then re-created it. After the shortcut was created, I looked at the properties and it picked up the file from the error again.
Any ideas what I can look for? I'm trying to keep custom actions to a bare minimum with this project, unlike its predecessor.
I am creating shortcuts via the ShortCuts section of System Configuration. I want to create a shortcut to a readme.txt file. Seems simple enough, but when I try to build the project I'm getting the following error
ISDEV : error -3204: Cannot extract icon with index 0 from file
I deleted the shortcut, then re-created it. After the shortcut was created, I looked at the properties and it picked up the file from the error again.
Any ideas what I can look for? I'm trying to keep custom actions to a bare minimum with this project, unlike its predecessor.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 10, 2011
04:27 PM
Have you checked if a valid icon file is specified for your shortcut in the Shortcuts view?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 11, 2011
10:01 AM
In the end, what I ended up doing in the Shortcut view is removing the file name that had been picked up before I built my project.
My concern is that if InstallShield is picking up a random file to extract an icon for, even though a txt file should associate out to the standard txt icon.
I shouldn't have to remember to do this every time I create a shortcut to a file that doesn't have an icon to go with it.
My concern is that if InstallShield is picking up a random file to extract an icon for, even though a txt file should associate out to the standard txt icon.
I shouldn't have to remember to do this every time I create a shortcut to a file that doesn't have an icon to go with it.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)