Windows系统中WScript.Shell组件异常导致

发布时间:  2015-03-10 浏览次数:  449 下载次数:  1
问题描述
Windows 2003系统在卸载PV Driver时,出现错误,无法卸载。具体错误的事件描述如下所示:

来源:                  MsiInstaller
日期:                  2014/4/26 20:02:16
事件 ID:           11720
任务类别:         无
级别:                 错误
关键字:             经典
描述:
Product: GPL PV Drivers for Windows 1.1.3.10 -- Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action HideCancelOnInstall script error -2146827859, Microsoft VBScript 运行时错误: ActiveX 部件不能创建对象: 'WScript.Shell' Line 12, Column 1, 
事件 Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MsiInstaller" />
    <EventID Qualifiers="0">11720</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-04-26T12:02:16.000000000Z" />
    <EventRecordID>377</EventRecordID>
    <Channel>G:\Temporary Internet Files\Internet 临时文件\Content.Outlook\IP4YPH0V\yingyongchengxu (2).evt</Channel>
    <Computer>WAP-SMS2014</Computer>
    <Security UserID="S-1-5-21-2503374029-4073796852-1189495426-500" />
  </System>
  <EventData>
    <Data>Product: GPL PV Drivers for Windows 1.1.3.10 -- Error 1720. There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action HideCancelOnInstall script error -2146827859, Microsoft VBScript 运行时错误: ActiveX 部件不能创建对象: 'WScript.Shell' Line 12, Column 1,  </Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
<Binary>7B37413731323646322D383830362D344430412D384641362D4346383831443544303541307D</Binary>
  </EventData>
</Event>
处理过程
(1) 单击“开始”,打开“运行”对话框;

(2) 在“运行”对话框中输入“regsvr32 %windir%\system32\WSHom.Ocx ”恢复WScript.Shell;

(3) 无需重启虚拟机,即可重新卸载PV Driver。
根因
从事件描述可以判断该问题是由于Windows系统中WScript.Shell组件异常,导致PV Driver卸载失败。

END