Shortcut Icons... again

Got a problem you cannot solve? Try here.
Post Reply
HarvestInstaller
Posts: 5
Joined: Mon Mar 19, 2007 3:22 pm

Shortcut Icons... again

Post by HarvestInstaller »

I've upgraded to IA 6.5 hoping to resolve the issue with shortcut icons, and it does appear to resolve the issue for the person that actually performs the install. However, if another user logs onto the same system, they do not see the icons associated w/ the Shortcut.

There really needs to be a way to specify a shortcut based on the file that you're pointing the shortcut to, or some other implementation OTHER than the current implementation.
Christoph Schneegans
Posts: 55
Joined: Tue Jan 09, 2007 12:20 pm

Post by Christoph Schneegans »

Are you referring to this problem? I cannot reproduce this problem with 6.50, so it seems that it has been fixed.

The shortcut icon path still looks a little bit strange, e.g.
"%SystemRoot%\\Installer\\{233EE40F-08B6-4C11-9081-C3A001B1CED9}\\rtcutIcon5cApplication.ico0.ico", but it "survives" a reboot, and it works for all users.
Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Post by Gizm0 »

Best thing to do, is place the .ico file of your application on TargetDir and set that as Icon Path.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
Install[b]Aware[/b] Software Corporation
Christoph Schneegans
Posts: 55
Joined: Tue Jan 09, 2007 12:20 pm

Post by Christoph Schneegans »

"Icon File Path (no variables allowed)" is what the dialog says...
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

This mechanism is MSI's own mechanism and cannot be changed. What was done in 6.5 was actually to workaround an MSI flaw which caused icons to go missing. But we are still limited to what Windows Installer can natively do, unless of course, somebody writes a plug-in to create shortcuts manually using the Windows API.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Christoph Schneegans
Posts: 55
Joined: Tue Jan 09, 2007 12:20 pm

Post by Christoph Schneegans »

So I can't use $TARGETDIR$ in the icon file path, right?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

The icon is embedded at build time into the MSI package, so you cannot use any runtime variables. You can of course use compiler variables if you want to.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Post by Gizm0 »

Christoph Schneegans wrote:So I can't use $TARGETDIR$ in the icon file path, right?
I was reffering to the TARGETDIR as a directory, not as the variable, but nevermind.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
Install[b]Aware[/b] Software Corporation
Post Reply