重新安装ie的一个vbs
导读:收集整理的这篇文章主要介绍了重新安装ie的一个vbs,觉得挺不错的,现在分享给大家,也给大家做个参考。 复制代码 代码如下:'run_ie_reinstall.vbs - Runs th...
收集整理的这篇文章主要介绍了重新安装ie的一个vbs,觉得挺不错的,现在分享给大家,也给大家做个参考。 复制代码 代码如下:'run_ie_reinstall.vbs - Runs the internet Explorer SETUP
'?Doug Knox - 4/10/2002
'Downloaded From www.dougknox.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 & vbCR & "Copyright 2003 - Doug Knox",vbOkOnly, "User Cancelled"
End If
声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: 重新安装ie的一个vbs
本文地址: https://pptw.com/jishu/609804.html
