Error installing ActiveX cab on Windows Vista

  • Thread starter Thread starter Joe K
  • Start date Start date
J

Joe K

I have a 3rd party ActiveX control I distribute with my software that fails
to install on Windows Vista. When I install it from the browser, it prompts
me to install, appears to have been successful, but the install fails
silently. Using the MS ActiveX log utility, I can see it fails with an
error: "Code Download Error: (hr = 80004005) Unspecified error".

If I manually copy this ActiveX to the target system and run regsvr32 on the
cab file, it gives me an error telling me the control "may not be compatible
with the version of Windows that you're running." If I extract the unsigned
OCX (the cab is signed; OCX is not) and run regsvr32.exe on this OCX, it
installs and runs fine.

This cab is distributed by a vendor and works on all other platforms. Oddly
enough, it only fails on SOME Vista systems.

I tried all the usual Vista tricks (added to secure zone, lowered security
in secure zone, changed Advanced IE settings related to certificates, tried
the ActiveX installer service, and disabled User Account Control).

Anyone have any pointers?

Frank
 
Right-click on the IE icon located on the Quick Launch
toolbar, select "Run as administrator", then attempt to install.


--
Carey Frisch
Microsoft MVP
Windows Shell/User

---------------------------------------------------------------

I have a 3rd party ActiveX control I distribute with my software that fails
to install on Windows Vista. When I install it from the browser, it prompts
me to install, appears to have been successful, but the install fails
silently. Using the MS ActiveX log utility, I can see it fails with an
error: "Code Download Error: (hr = 80004005) Unspecified error".

If I manually copy this ActiveX to the target system and run regsvr32 on the
cab file, it gives me an error telling me the control "may not be compatible
with the version of Windows that you're running." If I extract the unsigned
OCX (the cab is signed; OCX is not) and run regsvr32.exe on this OCX, it
installs and runs fine.

This cab is distributed by a vendor and works on all other platforms. Oddly
enough, it only fails on SOME Vista systems.

I tried all the usual Vista tricks (added to secure zone, lowered security
in secure zone, changed Advanced IE settings related to certificates, tried
the ActiveX installer service, and disabled User Account Control).

Anyone have any pointers?

Frank
 
I'll confess that I didn't even know that feature existed... but it still
failed in the same way. Any other ideas?

Frank
 
Joe K said:
I'll confess that I didn't even know that feature existed... but it still
failed in the same way. Any other ideas?

Frank


Try a ng specific to the language you're using to write your app... C#? C++?
VB? Try one of those ng's...

Lang
 
My challenge is actually to have it loaded via a web page. I think I
mentioned before that I can manually register the OCX in the cab. What I
can't do is actually install the ActiveX from a web page via the CAB. It
fails silently. Running the Vista IE Compatibility Tool I see this (I put
X's in):

MitigationCode: ActiveXBlock
UrlPath:
UrlZone:
CLSID: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
Error: 0x800c0400
AXKill: False
ControlUrl: https://10.70.10.50/servlets/activex/XXXXX.cab
Signature: Valid
Publisher: teeMach SL
ControlUpgrade: False
ControlUpgradePath: C:\Windows\Downloaded Program Files\XXXXX.ocx
ControlUpgradePublisher:
ControlUpgradeSignature:


For some reason it seems to be treating this ActiveX differently from all
others. Any advice is appreciated.

Joe
 
Back
Top