Reinstall a vbs of IE

Source: Internet
Author: User

CopyCode The Code is as follows: 'run _ ie_reinstall.vbs-runs the Internet Explorer setup
'? Doug Knox-4/10/2002
'Downloaded from www.mongoknox.com

X = msgbox ("Do You Want to reinstall Internet Explorer? ", Vbyesno," prompt! ")

Y = msgbox ("Do You Want to reinstall Outlook Express? ", Vbyesno," prompt! ")

Set wshshell = wscript. Createobject ("wscript. Shell ")

If X = 6 then
Wshshell. regwrite "HKLM \ Software \ Microsoft \ Active Setup \ Installed Components \ {89820200-ecbd-11cf-8b85-00aa005b4383} \ isinstalled", 0, "REG_DWORD"
End if

If y = 6 then
Wshshell. regwrite "HKLM \ Software \ Microsoft \ Active Setup \ Installed Components \ {44bba840-cc51-11cf-aafa-00aa00b6015c} \ isinstalled", 0, "REG_DWORD"
End if

If X = 6 or Y = 6 then
Wshshell. Run ("rundll32.exe setupapi, installhinfsection defaultinstall 132% WINDIR % \ INF \ IE. inf ")
Else
Msgbox "you chose not to reinstall IE or OE. No changes were made." & vbcr & "Copyright 2003-Doug Knox", vbokonly, "user cancelled"
End if

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.