I used the Runtime version key in the registry for the 1.1 .NET hosting DLL:

HKCR\CLSID\{00B01B2E-B1FE-33A6-AD40-57DE8358DC7D}\InprocServer32

If this existed, I noted that the 1.1 FX was supported.  There may be better
ways, but I used that key.  I also used the following key to detect 1.0
(I've never tested for 2.0):

HKCR\CLSID\{005023CA-72B1-11D3-9FC4-00C04F79A0A3}\InprocServer32


Thanks,

Shawn Wildermuth
Wildermuth Consulting Services, LLC
http://adoguy.com
C# MVP, MCSD.NET, Author and Speaker


> -----Original Message-----
> From: Discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Alex Smotritsky
> Sent: Wednesday, November 08, 2006 10:11 PM
> To: [email protected]
> Subject: [ADVANCED-DOTNET] checking .net runtime version
>
> I have a property called VSDSupportedRuntimes with value
> 1.1.4322 in an msi I'm working on which I generated with
> vs.net 2003. This makes windows installer require .net
> 1.1.4322 for installation to proceed. I want to require .net
> 1.1.4322 Service Pack 1. Is there a straight forward way to do that?
>
>
>
>
>
>
> ===================================
> This list is hosted by DevelopMentor.  http://www.develop.com
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to