Q. "Error code: 0x80070666" AutoPIPE Preview Handler - occurred when installing AutoPIPE, why?


Applies To
Product(s):AutoPIPE
Version(s):V8i 
Area: installation
Original Author:Bentley Technical Support Group
Date Logged
& Current Version
June 2015
09.06.02.06

Problem:

When trying to install AutoPIPE, an error message "AutoPIPE Preview Handler - Error Code: 0x80070666" was displayed and  the installation procedure stopped:

Reviewing the log showed the following:

AutopipeBA: Progress Message - Installing "AutoPIPE Preview Handler"

Applying execute package: PreviewHandlerPackageId, action: Install, path: C:\ProgramData\Package Cache\{D8884C90-DE0D-43BD-B13B-070BF016CFA9}v1.1.3\AutoPIPE Preview Handler Setup.msi, arguments: ' ALLUSERS="1" MSIFASTINSTALL="7"'

Error 0x80070666: Failed to install MSI package.

Error 0x80070666: Failed to execute MSI package.

Error 0x80070666: Failed to configure per-machine MSI package.

Applied execute package: PreviewHandlerPackageId, result: 0x80070666, restart: None

Error 0x80070666: Failed to execute MSI package.

AutopipeBA: Progress Message - Installing "AutoPIPE Preview Handler"

Skipped rollback of package: PreviewHandlerPackageId, action: Uninstall, already: Absent

Applied rollback package: PreviewHandlerPackageId, result: 0x0, restart: None

Removed package dependency provider: {D8884C90-DE0D-43BD-B13B-070BF016CFA9}, package: PreviewHandlerPackageId

OS = WIN7 64 bit

Why does this occur and hod best to avoid it. 

Solution:

From the log it seems that there is some registry corruption on the machine. The installer catch the version number (1.0.01) of the preview handler from registry but unable to find the registry key that determines that the preview handler is installed on machine.

Setting string variable 'APPreviewHandlerVersion' to value '1.0.01'
Detected package: PreviewHandlerPackageId, state: Absent, cached: None

The development team was unable to reproduce the issue

Workaround:

Please check the "Programs and Features" list and uninstall the preview handler if it is listed there. Try installing AutoPIPE now.


If the problem still exist then the issue needs to be investigated on user machine. But before we can do that, we will need the preview handler log file which can be copied from temp directory (%temp%). Locate the log file name that starts with "AutoPIPE_Setup" and ends with "PreviewHandlerPackageId", log a Service Request and send in the file for review.

See Also

Errors that occur when Installing / Uninstalling

Bentley AutoPIPE