我使用组策略安装的MSI文件更新flash.但是,每次更新时,大约三分之一的工作站无法更新(
Windows Vista和Windows 7 32/64位版本).在事件日志中,将显示以下消息:
“Adobe Flash Player 11 ActiveX — Error 1714.The older version of
Adobe Flash Player 11 ActiveX cannot be removed. Contact your
technical support group. System Error 1612.”
我能够解决这个问题的唯一方法就是使用Microsoft Fit It tool.但是,这是一个非常耗时的过程,每个工作站需要大约15分钟的时间才能完成,所以每次闪光都会有效杀死一整天更新出来了.
我遇到了这个包含MSIZAP的脚本,用于删除闪存的失败卸载.所以,我的问题是:MSIZAP实用程序是以编程方式删除Flash的最佳方法,还是在此时已过时?我问的原因是,我在这个主题上发现的大部分书面材料都来自2009年或2010年.
@echo off SET MSIZAP=\\my.domain.com\netlogon\bin\msizap.exe SET DFSPATH=\\my.domain.com\dfsroot\Packages\Adobe SET UNINSTALL=%DFSPATH%\uninstall_flash_player_x86.exe SET INSTALL=%DFSPATH%\install_flash_player_11.4.402.278_active_x.exe rem Detect 64-bit Windows IF NOT "%ProgramFiles(x86)%"=="" SET WOW6432NODE=WOW6432NODE\ SET VER_FLAG_KEY=HKEY_LOCAL_MACHINE\SOFTWARE\%WOW6432NODE%Macromedia\FlashPlayer SET VER_FLAG_VALUE=11,4,402,278 REG QUERY "%VER_FLAG_KEY%" /v CurrentVersion | find /i "%VER_FLAG_VALUE%" > NUL 2>NUL if errorlevel 1 goto do_install goto :EOF :do_install rem Uninstall all old versions of Flash. start /wait /min "" "%UNINSTALL%" -uninstall activex rem MSIZAP all old versions start /wait /min "" "%MSIZAP%" TW! {2BD2FA21-B51D-4F01-94A7-AC16737B2163} start /wait /min "" "%MSIZAP%" TW! {B7B3E9B3-FB14-4927-894B-E9124509AF5A} start /wait /min "" "%MSIZAP%" TW! {FA1D6742-0515-4A94-AD5D-F0484026E4A2} rem Run new installer start /wait /min "" "%INSTALL%" -install activex rem Block future automatic updates SET DEST="%windir%\system32\Macromed\Flash\mms.cfg" rem Detect 64-bit Windows IF NOT "%ProgramFiles(x86)%"=="" SET DEST="%windir%\SysWOW64\Macromed\Flash\mms.cfg" rem I'm using "sort" here because the redirect is being interpreted as "1>" and rem doing "1 >" causes a space to be stored in the file,which "breaks" the file. echo AutoUpdateDisable=1|sort>%DEST%
资料来源:I deployed Flash Player via a Software Installation policy. How to upgrade?
您是否尝试将旧版本安装在旧版本上,并依赖其安装程序进行删除?或者,在安装新安装程序之前,您是否告诉Windows安装程序先卸载旧安装程序?
如果你做前者,我建议你切换到后者,因为我几乎只有很好的经验.唯一的例外是Adobe曾在msi内部的卸载命令中放入了错误的版本号(但这是100%可重现的,因此在部署之前在测试机器上立即可见).
见https://serverfault.com/a/441131/144344和https://serverfault.com/a/564881/144344