I think the problem is that ICE57 isn't actually taking into account the 
Condition on the Component.  In their defense, static conditional evaluation is 
a pretty gnarly problem.  <smile/>  Also, ALLUSERS has that nasty "2" as an 
option.

Why not separate out the HKCU stuff?  Or better yet, don't write it at all (of 
course, it depends on the data... but presumably user data could be managed at 
runtime rather than trying to get setup to install and uninstall it correctly 
for all users... which is impossible in all cases).

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Haloun
Sent: Friday, May 02, 2008 11:05
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Class and Typlib tags for per user and per machine installs

Hi,

I had a quick question.  I have a product that supports both per machine and 
per user installs, and I am trying to transition from wix 2 to 3.  The 
particular component that is giving me trouble is a pretty simply, and contains 
several files, one of which has a COM Class registration, and a few HKCU 
registry keys.  The condition for the component is "NOT (ALLUSERS)", yet I am 
getting an ICE57 error when trying to compile, saying that this component 
contains per user and per machine data.

After some binary search commenting I have narrowed it down to the Class tag 
that is raising the error, but I was under the impression that the Class tag 
knew how to 'do the right thing' depending on the ALLUSERS value?  Or, perhaps 
my Condition has to be more complex now, rather than going only by ALLUSERS is 
defined or not?

Thanks,
Tim
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to