MS12-060 is a security update that was released Tuesday, August 14, 2012. This update replaced MS12-027. Some may be seeing "Unspecified Automation Error" when running your Microsoft Office VBA code after installing MS12-060.
Update: We have redeployed the MS12-060 update that contains the fix for this issue automatically built in. The update is now available from the Microsoft download center.
These KB articles have been updated with mention of the workarounds, a fix it package and a link to download the new update. You do not need to install the original update in order to install the new update:
Office Sustained Engineering Blog has been updated with a resolution.http://blogs.technet.com/b/office_sustained_engineering/archive/2012/08/24/ms12-060-not-initiating-with-certain-controls.aspx
For more information on MS12-060, review the complete security bulletin:
Microsoft Security Bulletin MS12-060 - CriticalVulnerability in Windows Common Controls Could Allow Remote Code Execution (2720573)http://technet.microsoft.com/en-us/security/bulletin/MS12-060
A batch file that contains the following lines could make things easier by detecting the OS bitness and running the appropriate regsvr32 command:
if exist %systemroot%\SysWOW64\cscript.exe goto 64
%systemroot%\system32\regsvr32 /u mscomctl.ocx
%systemroot%\sysWOW64\regsvr32 /u mscomctl.ocx
To run the regsvr32 commands silently, add a “/s” to each of the above regsvr32 commands – i.e., %systemroot%\system32\regsvr32 /u mscomctl.ocx /s
The second command retrieves the following error popup.
What am I supposed to do?
The module "C:\Windows\System32\MSCOMCTL.OCX" was loaded but the call to DllRegisterServer failed with error code 0x80004005.
For more information about this problem, search online using the error code as a search term.
see this link (bottom portion related to the August 12th update)
This batch file works if run in Administrator Mode.
This link saved a lot of time and unnecessary frustration caused due to unknown errors.
I have been very frustrated trying to resolve this problem on my own. Thanks so much--your link saved time and sanity.
Thanks for this, saved us a lot of time. Our IT dept keep pushing out MS patches and crippling BIP!
Worked for me on a 64 system with Office 2007. I just wish one would not have to be so computer savvy to fix what Microsoft breaks.
Big thanks from my side. It really works.
Thank you so much... It worked.........
Confirmed, fixed a regression caused by a Windows 7 update to Word 2010. "Automation Error" is now gone after deleting the *.exd files as described by your link (getfaxing.com).
You're welcome. We still see this problem after 1 year! We created a batch/exe to fix the issue for our customers but we removed last year after Microsoft finally released a fix for it. I recommend deleting those EXD files first, and if you still have problems to go ahead with the Microsoft "FixIt" patches listed on our page.