Shortcut Icons... again

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

Shortcut Icons... again

Postby HarvestInstaller » Tue May 01, 2007 1:16 pm

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

Postby Christoph Schneegans » Thu May 03, 2007 5:49 am

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

Postby Gizm0 » Thu May 03, 2007 9:10 am

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\"
InstallAware Software Corporation

Christoph Schneegans
Posts: 55
Joined: Tue Jan 09, 2007 12:20 pm

Postby Christoph Schneegans » Thu May 03, 2007 9:19 am

"Icon File Path (no variables allowed)" is what the dialog says...

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Thu May 03, 2007 5:05 pm

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
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

Christoph Schneegans
Posts: 55
Joined: Tue Jan 09, 2007 12:20 pm

Postby Christoph Schneegans » Fri May 04, 2007 2:01 am

So I can't use $TARGETDIR$ in the icon file path, right?

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Fri May 04, 2007 8:08 am

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

InstallAware

Home of The Next Generation MSI Installer

Get your free copy today - http://www.installaware.com/

Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Postby Gizm0 » Fri May 04, 2007 9:22 am

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\"

InstallAware Software Corporation


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 101 guests