I typically change the ~ to _ (I think that's what heat does).  The problem 
with using ~ in the name is that it actually could conflict with a file on the 
system.  I'd say this was a theoretical except that someone actually hit it in 
Office some long time back and Derek added this warning so no one else would 
have to debug the problem he hit.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher 
Painter
Sent: Thursday, September 06, 2007 07:52
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WiX v2 File element question ( ICE30 errors )

What's the WiX best practice for the following scenario?


Using WiXAware to generate v2 schema consider these files:

Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Logging.dll

WiXAware generates file elements with attributes:

Name="Microsof" LongName="Microsoft.Practices.EnterpriseLibrary.Common.dll"

Name="Microsof" LongName="Microsoft.Practices.EnterpriseLibrary.Logging.dll"

It builds without errors but I get ICE30 Errors ( SFN nname collisions) because 
the file table looks like:

Microsof|Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsof|Microsoft.Practices.EnterpriseLibrary.Logging.dll

In my InstallShield generated installs I don't get ICE30 errors because the 
file table looks like:

MICROS~1.DLL|Microsoft.Practices.EnterpriseLibrary.Common.dll
MICROS~4.DLL|Microsoft.Practices.EnterpriseLibrary.Logging.dll

If I try to put this into my WXS I get a candle warning about the attribute 
being ambigious.

The install works either way and it's kind of a non issue because my .NET 
assemblies would never work on an SFN system anyways.... but I'm trying to be 
really clean and I find myself caught between a candle warning and an ICE Error.






________________________________
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get 
online.<http://us.rd.yahoo.com/evt=48251/*http:/smallbusiness.yahoo.com/webhosting/?p=PASSPORTPLUS>
-------------------------------------------------------------------------
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