Thanks, Christopher. I did see that and then wondered if 2.0 is installed on all systems and couldn’t find an answer. Windows 7 comes with .NET 3.5 OOB and my system also has 2.0. Is that the case with all Windows 7 systems? i.e. Is it sufficient to do a check for 2.0 or do I need to check for all versions from 2.0 onward?
From: Christopher Bodnar [mailto:[email protected]] Sent: February-26-13 10:06 AM To: NT System Admin Issues Subject: Re: Need help with VBscript First hit on Google: http://stackoverflow.com/questions/4394607/vbscript-to-check-if-net-2-0-is-installed Christopher Bodnar Enterprise Architect I, Corporate Office of Technology:Enterprise Architecture and Engineering Services Tel 610-807-6459 3900 Burgess Place, Bethlehem, PA 18017 [email protected]<mailto:> [cid:[email protected]] The Guardian Life Insurance Company of America www.guardianlife.com<http://www.guardianlife.com/> From: Tammy George <[email protected]<mailto:[email protected]>> To: "NT System Admin Issues" <[email protected]<mailto:[email protected]>> Date: 02/26/2013 08:58 AM Subject: Need help with VBscript ________________________________ Hello. I have a VBScript which calls an .exe in order to install something. We created the VBScript in order to run the .exe with elevated privileges as well as send us an email each time it’s run reporting success or failure. We’ve discovered that if users don’t have .NET Framework version 2.0 or greater, the install fails. Is it possible for the VBScript to check if version 2.0 or greater is installed? If it’s not, I’ll then run the install. Thanks in advance! - Tammy ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected]<mailto:[email protected]> with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected]<mailto:[email protected]> with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin
<<inline: image001.jpg>>
