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 christopher_bod...@glic.com The Guardian Life Insurance Company of America www.guardianlife.com From: Tammy George <tammy.geo...@acadiau.ca> To: "NT System Admin Issues" <ntsysadmin@lyris.sunbelt-software.com> 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 listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe ntsysadmin ----------------------------------------- This message, and any attachments to it, may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are notified that any use, dissemination, distribution, copying, or communication of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and delete the message and any attachments. Thank you. ~ 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 listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe ntsysadmin
<<image/jpeg>>