PC Review


Reply
Thread Tools Rate Thread

Check for .net 2

 
 
Daniel
Guest
Posts: n/a
 
      5th Jan 2007
HI

I have a requirement to check for .net 2 framework on ym app running as well
as checking if a particular directx version is intalled, can anyone give any
tips or pointers where i could find a code snippet in c# to do this?

Thans in advance



 
Reply With Quote
 
 
 
 
Daniel
Guest
Posts: n/a
 
      5th Jan 2007
I use click once for deployment. And though you need .net 2 apparently to
download an app using click once i have found users able to use click once
download even though they don't have .net 2.

Also adding the pre-requisite of .net 2 doesn't seem to work through click
once either.

So i need another check made when my app runs for .net 2 and for directx 9.
Any tips on how to programatically do the check yourself? c#.




"roger_27" <(E-Mail Removed)> wrote in message
news:9CE0617A-2571-4FB0-B3DF-(E-Mail Removed)...
> Add a new project, and make it a Setup Package project. when you do this,
> it
> will create an MSI installation, and it automatically checks for .net 2.0,
> and if you dont it will tell the user and direct them to the microsoft
> website to download it.
>
>>"Daniel" wrote:
>>
>> HI
>>
>> I have a requirement to check for .net 2 framework on ym app running as
>> well
>> as checking if a particular directx version is intalled, can anyone give
>> any
>> tips or pointers where i could find a code snippet in c# to do this?
>>
>> Thans in advance



 
Reply With Quote
 
Daniel
Guest
Posts: n/a
 
      6th Jan 2007
Doesn't apply if the main loading part of your app doesn't use .net 2. So in
that opening part i can do a check before .net 2 is required (where it will
throw a missing module exception). To be honest i have had untold problems
with .net 2, problems out of my control like it not installing properly on
clients, some clients running the app fine even tho it says they dont have
..net 2 and so on. All very strange

"roger_27" <(E-Mail Removed)> wrote in message
news:5FC5E231-056B-4C87-8793-(E-Mail Removed)...
> take a look here
> http://www.thescripts.com/forum/thread579470.html
>
> he made a good point:
> That's kind of a vicious circle! If the .Net Framework 2.0 is not
> installed, your program will not run anyway, so it cannot detect if the
> framework is there.
>
> "Daniel" wrote:
>
>> I use click once for deployment. And though you need .net 2 apparently to
>> download an app using click once i have found users able to use click
>> once
>> download even though they don't have .net 2.
>>
>> Also adding the pre-requisite of .net 2 doesn't seem to work through
>> click
>> once either.
>>
>> So i need another check made when my app runs for .net 2 and for directx
>> 9.
>> Any tips on how to programatically do the check yourself? c#.
>>
>>
>>
>>
>> "roger_27" <(E-Mail Removed)> wrote in message
>> news:9CE0617A-2571-4FB0-B3DF-(E-Mail Removed)...
>> > Add a new project, and make it a Setup Package project. when you do
>> > this,
>> > it
>> > will create an MSI installation, and it automatically checks for .net
>> > 2.0,
>> > and if you dont it will tell the user and direct them to the microsoft
>> > website to download it.
>> >
>> >>"Daniel" wrote:
>> >>
>> >> HI
>> >>
>> >> I have a requirement to check for .net 2 framework on ym app running
>> >> as
>> >> well
>> >> as checking if a particular directx version is intalled, can anyone
>> >> give
>> >> any
>> >> tips or pointers where i could find a code snippet in c# to do this?
>> >>
>> >> Thans in advance

>>
>>
>>



 
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
Spell check -- text marked skip spelling and grammar check =?Utf-8?B?RGF2aWQgQS4=?= Microsoft Word Document Management 8 9th Aug 2008 11:47 PM
Asp.net Treeview Clientscript - Auto Check Child Notes After Check Parent Node Sylvie Microsoft C# .NET 1 9th Oct 2007 02:25 PM
Treeview Clientscript - Auto Check Child Notes After Check Parent Node Sylvie Microsoft ASP .NET 1 9th Oct 2007 02:25 PM
In outlook get message "Spell check cannot check items...try agai =?Utf-8?B?am1yYW5jaG1hbg==?= Microsoft Outlook Discussion 1 28th Sep 2006 10:26 PM
Xp:Check Disk:Tools:Check Now:Both Options:reboot countdown does not complete? RAS Windows XP General 3 1st Feb 2005 06:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:37 AM.