I'm trying to install my component into the SharePoint directory, the
location of which I find from a registry key.

This works perfectly on a 32 bit system, but on a 64 bit system I can't get
it to work.

Here's what I currently have:

    <Property Id="INSTALLDIR">
        <RegistrySearch Id='SharepointRegistry'
        Type='raw'
        Win64='yes'
        Root='HKLM'

Key='SOFTWARE\Wow6432Node\Microsoft\.NETFramework\AssemblyFolders\SharePoint'
/>
    </Property>

I've tried all 4 combinations of WIn64="yes/no" and having or not having the
Wow6432Node part of the path be there explicitly.

Every combination yields the same result - the path for the 32 bit version
of SharePoint, not the 64. Well, actually two combinations yield that, and
two combinations yield nothing at all. The combinations that yield nothing
are (Win64 = yes/ No explicit Wow6432Node) and (Win64=no/ Explicit
Wow6432Node).

What I don't understand is when I read that key explicitly with regedit, it
has the correct path to sharepoint on the 64 bit machine. But reading it
from within my MSI, it seems to disregard the Wow6432Node element and just
read the 32 bit key.

Is there something else I need to do to get this to work?

-- 
Regards,
 cf
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to