This specific error can be reproduced by following the following steps:

a)      Create initial release, say app.msi v1.00- copy msi and wixpdb files to 
directory  v1.00

b)      Make changes to source (if asp.net app, change one of the .aspx by 
adding some new element to the page). If you make changes to code behind, 
increment the assembly file version.

c)       Create  another build (called the latest build- to distinguish from 
initial), say app.msi v1.10 - copy msi and wixpdb files to directory v1.10

d)      Execute torch, candle, light and pyro (the last to generate .msp file).

This will create the error:
C:\build\appwixsource\ControlPanel.wxi(29) : error PYRO0103 : The system cannot 
find the file 'UI\Icons\appicon.ico'.

I have to comment out the icon stuff in ControlPanel.wxi in then following 
steps c) and d) to get a successfull .msp creation.

Original ControlPanel.wxi :

<Include xmlns="http://schemas.microsoft.com/wix/2006/wi";>

  <!-- Add/Remove Programs settings -->
  <?define SupportURL = "http://www.somesite.com"; ?>
  <?define UpdateURL = "http://www.somesite.com"; ?>
  <?define SupportPhone = "1-800-111-2222" ?>
  <?define Contact = "Technical Support" ?>

  <!-- Icons -->
  <Icon Id="ProductIcon" SourceFile="UI\Icons\appicon.ico" />

  <!-- This information is visible in Add/Remove programs -->
  <Property Id="ARPHELPLINK"><![CDATA[$(var.SupportURL)]]></Property>
  <Property Id="ARPURLUPDATEINFO"><![CDATA[$(var.UpdateURL)]]></Property>
  <Property Id="ARPHELPTELEPHONE"><![CDATA[$(var.SupportPhone)]]></Property>
  <Property Id="ARPCONTACT"><![CDATA[$(var.Contact)]]></Property>
  <Property Id="ARPPRODUCTICON" Value="ProductIcon" />

</Include>

Modified ControlPanel.wxi to get things working

<Include xmlns="http://schemas.microsoft.com/wix/2006/wi";>

  <!-- Add/Remove Programs settings -->
  <?define SupportURL = "http://www.somesite.com"; ?>
  <?define UpdateURL = "http://www.somesite.com"; ?>
  <?define SupportPhone = "1-800-111-2222" ?>
  <?define Contact = "Technical Support" ?>

  <!-- Icons -->
  <!--<Icon Id="ProductIcon" SourceFile="UI\Icons\appicon.ico" />-->

  <!-- This information is visible in Add/Remove programs -->
  <Property Id="ARPHELPLINK"><![CDATA[$(var.SupportURL)]]></Property>
  <Property Id="ARPURLUPDATEINFO"><![CDATA[$(var.UpdateURL)]]></Property>
  <Property Id="ARPHELPTELEPHONE"><![CDATA[$(var.SupportPhone)]]></Property>
  <Property Id="ARPCONTACT"><![CDATA[$(var.Contact)]]></Property>
  <!--<Property Id="ARPPRODUCTICON" Value="ProductIcon" />-->

</Include>


Note: appicon.ico is set to BuildAction to Content.




------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to