I think that you need a <Icon Id="xxxExtractor.exe"
SourceFile="'Binary\xxxExtractor.exe" />
in there somewhere.  Also the icon file has to have the same extension
as the file the shortcut is for. So it has to be an exe file in this
case.

-----Original Message-----
From: Bob Lim [mailto:cbasic...@yahoo.com.sg] 
Sent: Tuesday, December 23, 2008 5:35 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Shortcut/@Icon referencing fails

Hi guys, 

I kept getting error from light.exe

error LGHT0094 : Unresolved reference to symbol 'Icon:IconExtractor.exe'
in section 'Product:*'.

The code below doesn't link. Actually what I want to use, is a icon
file, not executable file. Because I failed to use a icon file, I tried
to use icon in the executable. Still I failed to link it.

<Component Id='gm2.ico' Guid='3EF66565-1836-4428-86AC-5226DCC1B1EE'>

<File Id='xxxExtractor' DiskId='1' Name='xxxExtractor.exe'
Source='Binary\xxxExtractor.exe' Vital='yes' />

<Shortcut Id="StartmenuGermWeb" Directory="ProgramMenuDir"
Name="Germanium Web" WorkingDirectory='INSTALLDIR'
Target="[LaunchWebsite]" Icon="xxxExtractor.exe" IconIndex="0" />

</Component>

Any pointers as to where I have been doing wrong? 

Thanks in advance!

Best regards,
Bob Lim


      New Email addresses available on Yahoo!
Get the Email name you&#39;ve always wanted on the new @ymail and
@rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/sg/

------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to