Setting Wix icon when advertise is set to no -


seems i'm forever asking questions wix. should last, , it's polishing one.

i'm wanting associated files have icon go them, in progid element, advertise not specified assume defaults no. therefore in wix documentation, states:

for advertised progid, id of icon element. non-advertised progid, id of file containing icon resource.

i'm not understanding how works @ all. set folder contains icon , reference iconindex? part of .wxs i'm working with.

<component id ="myapp.exe" guid="{guid-here}">             <file id="myapp.exe" keypath="yes" source="$(var.myapp.targetdir)myapp.exe" />             <progid id ="myappprogid" description="myapp data files" icon ="logo.ico" iconindex="0">                 <extension id ="myapp" contenttype="application/myapp">                     <verb id ="open" command="open" targetfile="myapp.exe" argument="&quot;%1&quot;"/>                 </extension>             </progid>  <icon id="logo.ico" sourcefile="$(var.myapp.targetdir)\icon\logo.ico"/> 

i'm struggling find examples or proper documentation on lot of progid functionality wix.

thanks in advance

you need change icon element file , remove iconindex

<component id ="myapp.exe" guid="{guid-here}">         <file id="myapp.exe" keypath="yes" source="$(var.myapp.targetdir)myapp.exe" />         <file id="logo.ico" sourcefile="$(var.myapp.targetdir)\icon\logo.ico"/>         <progid id ="myappprogid" description="myapp data files" icon ="logo.ico">             <extension id ="myapp" contenttype="application/myapp">                 <verb id ="open" command="open" targetfile="myapp.exe" argument="&quot;%1&quot;"/>             </extension>         </progid> 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -