If you need a framework version checker (unmanaged C++ code), take a look at
this:

http://community.bartdesmet.net/blogs/bart/archive/2005/07/27/3172.aspx

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Alex Smotritsky
Sent: vrijdag 10 november 2006 0:52
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] checking .net runtime version

My bad, that's not allowed.

-----Original Message-----
From: Alex Smotritsky [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 5:34 PM
To: 'Discussion of advanced .NET topics.'
Subject: RE: [ADVANCED-DOTNET] checking .net runtime version

Thanks. I've looked into this a little more and I think I can get away with
just replacing 1.1.4322 with 1.1.4322.2300; 1.1.4322.2032 as per the version
numbers here:

http://support.microsoft.com/kb/318785/

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Wilson, Phil
Sent: Thursday, November 09, 2006 1:47 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] checking .net runtime version

There's a description here:

http://blogs.msdn.com/astebner/archive/2004/09/14/229574.aspx


Phil Wilson


-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Shawn
Wildermuth
Sent: Wednesday, November 08, 2006 7:33 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] checking .net runtime version

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: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
> 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(r)  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

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