What is teh syntax to refer to an icon in an exe?  

I have an exe in one fragment

<File Id="File_ClientExe" Name="StrawberryFields.exe"
Source="$(var.ClientRoot)StrawberryFields.exe" Checksum="no" ReadOnly="yes">
        
        <Shortcut Id="StartMenuStrawberry" Directory="DocumentMenuDir"
Name="StrawberryFields Client" WorkingDirectory='INSTALLDIR'
Icon="StrawberryFields.exe" IconIndex="0" />
</File>

that contains the icon I want to use

In my main module I have an icon

   <Icon Id="IconStrawberry.exe" SourceFile="[File_ClientExe],0" />

but the linker  cant find the exe. I have tried a variety of formats 

"[!File_ClientExe],0" "[File_ClientExe],0" "File_ClientExe,0"

but am having no luck.

I don't want to hard code the path to the exe

Is there a definition of the language syntax somewhere - there are bits and
pieces around - but I have spent three days on this and am getting nowhere







-- 
View this message in context: 
http://www.nabble.com/Referring-to-Icon-in-an-exe---How-is-it-done--tf4755241.html#a13598254
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to