I'm trying to create a launch condition that makes sure SharePoint is
installed. I thought this was the way to do it:

    <Property Id="INSTALLDIR">
        <RegistrySearch Id='SharepointRegistry' Type='raw' Win64='no'
            Root='HKLM'
Key='SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\SharePoint' />
    </Property>

    <Condition Message='SharePoint 2007 was not detected on the target
computer.'>
      SharepointRegistry
    </Condition>

But this always fails, even though the SharepointRegistry value does get set
before the installation begins, because if SP is actually installed, the
body of the package gets put in the correct place.

What am I doing wrong here?

Also - why are CDATA sections sometimes used inside conditions, and
sometimes not? What's the difference?

-- 
Regards,
 cf
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to