Page 1 of 1

Shortcuts using the wrong icon

Posted: Wed Feb 25, 2015 11:57 am
by InLoox
Hello,

we have a couple of shortcuts created by Installaware (Installaware 15 (Build 11.02.12)) and all of a sudden the shortcuts are all using the same icon. In the code the difference is clear and the files are available in the proper folder. I have recognized that always the icon "lifebelt.ico" is used. No matter what file it is. I have changed that file to another icon and named it that way (lifebelt.ico) thus the new icon was used.

We have no idea what happended. The shortcuts always worked and we didn't change anything regarding the shortcuts/icons. We even revoked every changes to a version which has worked properly. Still the wrong icon.

The following is the code for the creation of the short cut copied from the MSIcode. For each icon the "lifebelt.ico" is used even though the code is correct. "help2.ico", "earth2.ico" and "inloox.ico" are completely ignored:

Code: Select all

~InstallAware Clipboard Data~
~End~
~{81306696-0AD9-4D74-AEAF-C334DB222401}~
~Create Shortcut~
~{F285245B-ACCF-4643-B0C0-7BC61EA7FB53}~
~$TARGETDIR$\Tools\Getting Started en.pdf|FALSE~
~Getting Started~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~Getting Started~
~~
~|FALSE~
~|FALSE~
~|~
~0|~
~Create Shortcut~
~{E30E3941-64AF-418A-B552-7EBE0121DEA0}~
~$TARGETDIR$\Tools\InLoox Support en.exe|FALSE~
~InLoox Remote Support~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~Remote Support Guest Module~
~~
~|FALSE~
~#WORKSPACEPATH#\Assembly\lifebelt.ico|FALSE~
~|~
~0|~
~Else~
~{09FF3F5F-2E01-4850-892F-935DDFF381CF}~
~Create Shortcut~
~{88A6CD18-0F2D-429A-AEDE-3FBDBB0160DB}~
~$TARGETDIR$\Tools\Getting Started de.pdf|FALSE~
~Erste Schritte~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~Erste Schritte~
~~
~|FALSE~
~|FALSE~
~|~
~0|~
~Create Shortcut~
~{27C74242-6D69-4645-BE61-7D59860A386B}~
~$TARGETDIR$\Tools\InLoox Support de.exe|FALSE~
~InLoox Fernsupport~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~InLoox Fernsupport~
~~
~|FALSE~
~#WORKSPACEPATH#\Assembly\lifebelt.ico|FALSE~
~|~
~0|~
~If~
~{E530CC3B-A943-44BB-97B9-C29368FD4803}~
~LANGUAGE~
~0~
~German~
~FALSE~


~InstallAware Clipboard Data~
~Create Shortcut~
~{8E1D480F-7E5F-47EC-B58E-23CFB8CFFE28}~
~$TARGETDIR$\Tools\HelpViewer.exe|FALSE~
~InLoox PM Help (German)~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~InLoox Help System~
~"http://www.inloox.de/layout/set/help-view/support/hilfe/inloox-pm/7-0/" "InLoox PM"~
~|FALSE~
~#WORKSPACEPATH#\Assembly\help2.ico|FALSE~
~|~
~0|~
~Create Shortcut~
~{E84C42B2-1B37-4405-8C50-171F96D139C8}~
~$TARGETDIR$\Tools\HelpViewer.exe|FALSE~
~InLoox PM Help (English)~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~InLoox Help System~
~"http://www.inloox.com/layout/set/help-view/support/hilfe/inloox-pm/7-0/" "InLoox PM"~
~|FALSE~
~#WORKSPACEPATH#\Assembly\help2.ico|FALSE~
~|~
~0|~
~Create Shortcut~
~{2E588B9A-240B-4B53-ADA3-797D594652D3}~
~http://www.inloox.com|FALSE~
~InLoox Website~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~InLoox Website~
~~
~|FALSE~
~#WORKSPACEPATH#\Assembly\earth2.ico|FALSE~
~|~
~0|~
~Create Shortcut~
~{51FF2DB9-ED6B-4631-B6F8-2EB724BCD744}~
~$TARGETDIR$\InLoox PM.exe|FALSE~
~InLoox PM~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~InLoox PM~
~~
~|FALSE~
~#WORKSPACEPATH#\Assembly\inloox.ico|FALSE~
~|~
~0|X78~
~Comment~
~{8D7F5BDD-675E-4CFB-B660-644E184F9AB9}~
~Create Shortcuts~



Do you have any advice what we can do?

Re: Shortcuts using the wrong icon

Posted: Wed Feb 25, 2015 1:08 pm
by FrancescoT
Dear InLoox,

for what I see with all your icons you used a compiler variable "#WORKSPACEPATH#" with the Icon file path paramneter.

With the Windows Installer engine, no variables are allowed, only string literals are accepted. The path must point to a file on your development system. This field cannot be used to point to files on the target system. The icon will be extracted during compile time of your installation. Variables are not allowed in this field.

With the Native Engine, compile time icon extraction is not performed, and the path must point to a file on the target system. Script Variables are allowed in this field.

Hope this helps you.

Regards

Re: Shortcuts using the wrong icon

Posted: Thu Feb 26, 2015 4:23 am
by InLoox
Hello Francesco,

That's exactly what I have tried as well before I created this thread. My bad I should have written it also. Anyway I just gave it another try, the code looking like this:

Code: Select all

~InstallAware Clipboard Data~
~End~
~{81306696-0AD9-4D74-AEAF-C334DB222401}~
~Create Shortcut~
~{F285245B-ACCF-4643-B0C0-7BC61EA7FB53}~
~$TARGETDIR$\Tools\Getting Started en.pdf|FALSE~
~Getting Started~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~Getting Started~
~~
~|FALSE~
~|FALSE~
~|~
~0|~
~Create Shortcut~
~{E30E3941-64AF-418A-B552-7EBE0121DEA0}~
~$TARGETDIR$\Tools\InLoox Support en.exe|FALSE~
~InLoox Remote Support~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~Remote Support Guest Module~
~~
~|FALSE~
~C:\Builds\15\InLoox PM\InLoox PM FO\Sources\Assembly\lifebelt.ico|FALSE~
~|~
~0|~
~Else~
~{09FF3F5F-2E01-4850-892F-935DDFF381CF}~
~Create Shortcut~
~{88A6CD18-0F2D-429A-AEDE-3FBDBB0160DB}~
~$TARGETDIR$\Tools\Getting Started de.pdf|FALSE~
~Erste Schritte~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~Erste Schritte~
~~
~|FALSE~
~|FALSE~
~|~
~0|~
~Create Shortcut~
~{27C74242-6D69-4645-BE61-7D59860A386B}~
~$TARGETDIR$\Tools\InLoox Support de.exe|FALSE~
~InLoox Fernsupport~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~InLoox Fernsupport~
~~
~|FALSE~
~C:\Builds\15\InLoox PM\InLoox PM FO\Sources\Assembly\lifebelt.ico|FALSE~
~|~
~0|~
~If~
~{E530CC3B-A943-44BB-97B9-C29368FD4803}~
~LANGUAGE~
~0~
~German~
~FALSE~

~InstallAware Clipboard Data~
~Create Shortcut~
~{8E1D480F-7E5F-47EC-B58E-23CFB8CFFE28}~
~$TARGETDIR$\Tools\HelpViewer.exe|FALSE~
~InLoox PM Help (German)~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~InLoox Help System~
~"http://www.inloox.de/layout/set/help-view/support/hilfe/inloox-pm/7-0/" "InLoox PM"~
~|FALSE~
~C:\Builds\15\InLoox PM\InLoox PM FO\Sources\Assembly\help2.ico|FALSE~
~|~
~0|~
~Create Shortcut~
~{E84C42B2-1B37-4405-8C50-171F96D139C8}~
~$TARGETDIR$\Tools\HelpViewer.exe|FALSE~
~InLoox PM Help (English)~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~InLoox Help System~
~"http://www.inloox.com/layout/set/help-view/support/hilfe/inloox-pm/7-0/" "InLoox PM"~
~|FALSE~
~C:\Builds\15\InLoox PM\InLoox PM FO\Sources\Assembly\help2.ico|FALSE~
~|~
~0|~
~Create Shortcut~
~{2E588B9A-240B-4B53-ADA3-797D594652D3}~
~http://www.inloox.com|FALSE~
~InLoox Website~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~InLoox Website~
~~
~|FALSE~
~#WORKSPACEPATH#\Assembly\earth2.ico|FALSE~
~|~
~0|~
~Create Shortcut~
~{51FF2DB9-ED6B-4631-B6F8-2EB724BCD744}~
~$TARGETDIR$\InLoox PM.exe|FALSE~
~InLoox PM~
~$SHORTCUTFILESALL$\$TITLE$|FALSE~
~InLoox PM~
~~
~|FALSE~
~C:\Builds\15\InLoox PM\InLoox PM FO\Sources\Assembly\inloox.ico|FALSE~
~|~
~0|X78~
~Comment~
~{8D7F5BDD-675E-4CFB-B660-644E184F9AB9}~
~Create Shortcuts~


Still it doens't work. I have attached a screenshot of the result as well.

Best regards
Markus

Re: Shortcuts using the wrong icon

Posted: Thu Feb 26, 2015 12:38 pm
by FrancescoT
Dear Markus,

could you post a very minimal project that replicates the issue?

I'm very sorry, but I'm not able to see what happens by the code you posted.

Regards