Error installing ActiveX cab on Windows Vista

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
 
C

Carey Frisch [MVP]

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
 
J

Joe K

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

Frank
 
L

Lang Murphy

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
 
J

Joe K

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top