PC Review


Reply
Thread Tools Rate Thread

Detecting .NET framework presence

 
 
=?Utf-8?B?bXNkbkBjb21zcXVhcmVkLmNvbQ==?=
Guest
Posts: n/a
 
      18th Nov 2004
I know this is an old question, but I'm looking for a better answer.

We want our install to warn the user if the .NET framework isn't installed,
but I don't want to be version dependent unless we must. If we build using
the .NET 1.1 will it work with the next generation framework, or are we
forced to make our install picky about the framework version?
--
Tom Hintz
 
Reply With Quote
 
 
 
 
Eiríkur Fannar Torfason
Guest
Posts: n/a
 
      18th Nov 2004
Assuming you're using windows installer 2.0, you can check the
MsiNetAssemblySupport property. It will give you the version number of the
..NET framework installed on the computer. If the .NET framework is not
present, it will be empty.

http://msdn.microsoft.com/library/de...t_property.asp

<(E-Mail Removed)> wrote in message
news:712B3166-4E36-428F-BBE8-(E-Mail Removed)...
>I know this is an old question, but I'm looking for a better answer.
>
> We want our install to warn the user if the .NET framework isn't
> installed,
> but I don't want to be version dependent unless we must. If we build
> using
> the .NET 1.1 will it work with the next generation framework, or are we
> forced to make our install picky about the framework version?
> --
> Tom Hintz



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check for the presence of .NET Framework ? wylbur37 Windows XP Configuration 6 12th Oct 2009 06:49 AM
How to check for the presence of .NET Framework ? wylbur37 Windows XP General 7 12th Oct 2009 06:49 AM
How to check for the presence of .NET Framework ? wylbur37 Windows XP Help 7 12th Oct 2009 06:49 AM
Detecting presence of scrollbars in a ListView Dilip Microsoft C# .NET 3 27th Aug 2008 03:50 PM
Programmatically detecting presence of named macro in workbook =?Utf-8?B?U3RldmVT?= Microsoft Excel Programming 5 24th Aug 2006 05:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:45 AM.