Hello.
Wow, I'm learning that WiX is cool, but ICE is very confusing. I would have to
think that with WiX's simplicity, it would attract a significant population
that does not have Windows Installer experience (self included!) that probably
makes these ICE errors especially bewildering.
Anyway, the following WiX XML gives the following error with light.exe:
error LGHT0204 : ICE64: The directory MyCompanyName is in the user profile but
is not listed in the RemoveFile table.
So, what WiX XML do I need to put it in the RemoveFile table and why?
<?xml version="1.0" encoding="UTF-8"?><Wix
xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product
Id="9D9B2995-C2AD-4df0-AF5C-003066CABA43" Name="Product Name" Language="1033"
Version="1.0.0.0" Manufacturer="Manufacturer Name"
UpgradeCode="F735EEA3-3421-4324-A907-BA01F5AB4681"> <Package
Id="FDDFF53B-8B84-4083-A04E-4BCA53BE7A90" Description="This is a description."
Comments="We need a better description." InstallerVersion="200"
Compressed="yes" />
<Media Id="1" Cabinet="product.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="DesktopFolder"
Name="TheDesktopFolder"> <Directory Id="MyCompanyName" Name="CompanyXYZ">
<Directory Id="INSTALLDIR" Name="AppName">
<Component Id="CompProgram" Guid="472DADD7-BA14-4733-9C90-B7B973BF3C1D" >
<RegistryKey Root="HKCU" Key="Software\CompanyXYZ\AppName">
<RegistryValue Value="Why ICE38, why?" Type="string" KeyPath="yes" />
</RegistryKey> <File Id="readme" Name="readme.txt" DiskId="1"
Source="readme.txt" Vital="yes" />
<RemoveFolder Id='INSTALLDIR' On='uninstall' /> </Component>
</Directory> </Directory> </Directory> </Directory>
<Feature Id="MyFeature" Title="Install Product Feature" Level="1">
<ComponentRef Id="CompProgram" /> </Feature> </Product></Wix>
Thank you very much for your insight.
_________________________________________________________________
Climb to the top of the charts! Play the word scramble challenge with star
power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users