Thanks for the ideas but unfortunately, I can't seem to get them to work. With 
the line suggested below (and several variations of it), the files will not 
install regardless of if the '[OSINSTALLDIR]\PUBLIC\SH4' is there or not.
 
I've used /l*v with msiexec but there doesn't seem to be any logging that shows 
the condition statement being tested.  Is there another way of seeing this?
 
What does level="101" indicate about the Feature?  Could it indicate that I 
should be putting he condition at another level other than Feature?
 
Could the fact that the feature is pointing to a ComponentGroupRef mean that I 
need to do something different with my condition?  What about a fragment?
 
I may be grasping at straws but those are the main differences between the 
sample code that works and what the code I'm trying to integrate this into.
 
Again, thanks for any help y'all can provide.  
 
Scott

> Date: Fri, 29 Aug 2008 12:51:09 -0400> From: [EMAIL PROTECTED]> To: 
> wix-users@lists.sourceforge.net> Subject: Re: [WiX-users] Problem with 
> conditional install> > Change 101 to just 1.> > And I think on the the 
> condition tag might need to be parsed...> > <Condition 
> Level="100"><![CDATA[NOT SH4EXISTS <> ""]]></Condition>> > On Fri, Aug 29, 
> 2008 at 12:39 PM, scott b harris <[EMAIL PROTECTED]> wrote:> > > Howdy,> >> > 
> I'm having an issue getting a condition to work. I'm new to this whole> > 
> thing so hopefully I'm just missing something simple. I'm trying to get> > 
> files installed only if there is an SH4 folder. With the following, SH4> > 
> will not install regardless of if the folder exists. If I remove the> > 
> condition the files will be laid down. What have I done wrong?> >> > <?xml 
> version="1.0" encoding="utf-8"?>> > <Wix 
> xmlns="http://schemas.microsoft.com/wix/2003/01/wi";>> > <Fragment>> > 
> <Feature Id="SH4" Title="SH4" Description=" SH4" Level="101"> > 
> AllowAdvertise="no" 
 Display="hidden" Absent="disallow"> > InstallDefault="followParent">> > 
<ComponentGroupRef Id="SH4_components"/>> > <Condition Level="0">NOT 
SH4EXISTS</Condition>> > </Feature>> > </Fragment>> >> >> > <Fragment>> > 
<Property Id="SH4EXISTS">> > <DirectorySearch Id="CheckFileDir" 
Path='[OSINSTALLDIR]\PUBLIC\SH4'> > Depth="0">> > </DirectorySearch>> > 
</Property>> > </Fragment>> >> > </Wix>> >> > I've run logging (/l*v) but that 
only seems to indicate the Components that> > make up the ComponentGroup are 
Null for Request and Action.> >> > I am confident that the directory path does 
exist. I am curious if the> > condition being in a fragment or the Feature 
Level being 101 has anything to> > do with it.> >> > Thanks for any 
assistance.> >> > Scott> > 
-------------------------------------------------------------------------> > 
This SF.Net email is sponsored by the Moblin Your Move Developer's> > 
challenge> > Build the coolest Linux based applications with Moblin SDK & win 
great> >
  prizes> > Grand prize is a trip for two to an Open Source event anywhere in 
the world> > http://moblin-contest.org/redirect.php?banner_id=100&url=/> > 
_______________________________________________> > WiX-users mailing list> > 
WiX-users@lists.sourceforge.net> > 
https://lists.sourceforge.net/lists/listinfo/wix-users> >> 
-------------------------------------------------------------------------> This 
SF.Net email is sponsored by the Moblin Your Move Developer's challenge> Build 
the coolest Linux based applications with Moblin SDK & win great prizes> Grand 
prize is a trip for two to an Open Source event anywhere in the world> 
http://moblin-contest.org/redirect.php?banner_id=100&url=/> 
_______________________________________________> WiX-users mailing list> 
WiX-users@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/wix-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to