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