Hi 
My application requires Word and .Net.
I am creating a wix bootstrap application to install .net if not not found.
The basic criteria i found is to search through registry entries. the
problem is both items may have many products, e.g. Word can have v11, v12,
v14. and .net can have 2.0, 3.5, 4.0, etc
(http://support.microsoft.com/kb/318785). So to resolve this I have to check
all possibilities. 
Is there a *Simple *way to just find that word is installed and either of 64
or 32 bit. Or .net 2.0 or greater is installed?

I am doing this for Word
         <util:RegistrySearch 
            Variable="WordVersion"
            Root="HKLM"
            Key="SOFTWARE\Microsoft\Office\11.0\Word\InstallRoot"
            Format='raw' 
            Value="Path"
            Result="value" />

And this for .Net
         <util:RegistrySearch 
            Root="HKLM" 
            Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v2.0.50727" 
            Value="Install" 
            Variable="Netfx2FullVersion" />


I also tried to search the version of mscoree.dll through FileSearch but it
seems like that it never executed.
                <Property Id="MINFRAMEWORK"> 
                        <DirectorySearch 
                                        Id="MinFrameworkDir" 
                                        Depth="0" 
                                        Path="[SystemFolder]"> 
                                                <FileSearch 
                                                        Id="MinFrameworkFile" 
                                                        MinVersion="6.1.4322" 
                                                        Name="mscoree.dll" /> 
                        </DirectorySearch> 
                </Property>





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Detect-the-existence-of-Word-and-Net-version-greater-or-equal-to-2-0-tp7583339.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to