Found the answer myself:
* Define the following properties:
    <Property Id="VSNET2005">
      <RegistrySearch Id="VsNet2005"
              Root="HKLM"
              Key="SOFTWARE\Microsoft\VisualStudio\8.0"
              Name="InstallDir"
              Type="raw" />
    </Property>

    <Property Id="VSNET2005SPNUMBER">
      <RegistrySearch Id="VsNet2005SPNumber"
              Root="HKLM"
              Key="SOFTWARE\Microsoft\DevDiv\VS\Servicing\8.0"
              Name="SP"
              Type="raw" />
    </Property>

    <Property Id="VSNET2008">
      <RegistrySearch Id="VsNet2008"
              Root="HKLM"
              Key="SOFTWARE\Microsoft\VisualStudio\9.0"
              Name="InstallDir"
              Type="raw" />
    </Property>

Then use these properties to block the installation of the certain
components..
-- 
View this message in context: 
http://n2.nabble.com/Check-whether-VS.NET-is-installed.-tp1082028p1082052.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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