Hi,

I am getting Problem in installing Activex control from our installer on Vista machine.

I have enabled ActiveX control from Administrator->services .But i am still unable to install activex control from setup package.

Normally these control installed properly on all XP machines except Vista.

The access right's of this machine are properly set i.e. machine has full Administrative rights.

Is there something that i have to configure on Vista machine to install Activex control properly.

I have visited many links of microsoft i have not got any proper solution from that side.

Reply from the earliest is really appreciated.

Thanks and regards,
Virendra Tank.

Dani AI

Generated

Vista's security model differs from XP: UAC, IE Protected Mode and 32/64-bit registry/file redirection are common causes for ActiveX installs that worked on XP but fail on Vista. This note builds on observations from and the symptom reported by (installer/dialog that hangs) and gives a compact checklist targeted at setup-package installs rather than the browser prompt loop.

Elevation / installer design — test whether the installer actually runs elevated. Running the setup with administrative elevation will reveal if UAC is blocking writes to Program Files or HKLM. MSI packages prompt automatically; custom EXE wrappers must embed an application manifest requesting elevation (requestedExecutionLevel) or perform privileged steps as an elevated process. For MSI troubleshooting enable verbose logging:

msiexec /i "setup.msi" /l*v install.log

Inspect install.log for permission failures or "Return value 3".

Bitness / registration — on x64 Vista a 32-bit OCX must be registered with the 32-bit regsvr32 in SysWOW64; the System32 regsvr32 registers 64-bit controls. Example commands:

%windir%\SysWOW64\regsvr32.exe "C:\Path\to\mycontrol.ocx"  # register 32-bit OCX on x64
%windir%\System32\regsvr32.exe "C:\Path\to\mycontrol.ocx"  # register 64-bit OCX on x64

Protected Mode / hangs / diagnostics — if IE shows "downloading" and hangs (as noted), try the 32-bit IE on x64 or temporarily disable Protected Mode for that security zone to see whether low-integrity prevents temp extraction. Capture a Process Monitor trace filtered for the installer/regsvr32 to spot ACCESS DENIED or missing files, and check the Application event log for MsiInstaller or COM registration errors. Also verify whether the control is signed; unsigned controls are blocked more aggressively.

If elevation or registration failures are the cause, adjust the installer to request elevation or move registration steps into MSI custom actions that run without impersonation. Enabling an enterprise service (ActiveX Installer Service) is not enough by itself—its policy and site lists must be configured correctly, and the installer still needs correct bitness and privileges.

Recommended Answers

All 4 Replies

What happens when you try to install it? what does it say or do?

I'm going to go out on a limb but report one problem I've seen with installing certain active x controls and how I fixed it, maybe it is like your situation and will help... or maybe they're not related at all. :)

Some websites that want you to download an active x control, it will pop up that it is blocked or that it needs your permission, then when you tell it you do infact want to install it, IE7 does a quick little refresh (or you have to tell it to refresh because its just siting there not doing anything.) then all of a sudden it forgot that you had authorized it to download an install the active x control, so it prompts you again, and thus the cycle continues.

If thats the case, the one way around it I have found, is if you truly do trust the site you are downloading the control from you can add it to your trusted sites and thus put it in the trusted zone so it won't prompt you for permission it will just go ahead and do it.

If you don't know, this is located in internet options on the security tab. trusted sites, sites, and you'll probably need to remove the checkmark where it says that https is required.

Again, I'm just taking a shot in the dark, if this isn't the problem you're experiencing, then I'm sorry, We can try again with more information.

Hi,
I have the same kind of issue. IE7 does show the box saying downloading activex control but just hangs there doing nothing.
any suggestion??

hello i am new at this but i am havingproblems in facebook with my uploader any help would be appreciated..

thanks gna

hello i am new at this but i am havingproblems in facebook with my uploader any help would be appreciated..

thanks gna

this might be a better place to ask you question.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.