Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I have developed a AxControls.dll and created a AxControls.cab file using makecab utility.
My .CAB file has AxControls.inf and AxControlsInstaller.msi in it.
I try to install this using a html file which has Javascript section section and Object tag to in install this Active.

My ActiveX installs perfectly fine on Windows XP for a non-admin.
It also installs fine for Admin user on Windows 7.

But it fails to install for non-admin user on Windows 7/IE8.

I tried to add [Deployment]InstallScope=User into inf file. But it didn't work.

My inf file looks like this:

[version]

signature="$CHICAGO$"

AdvancedINF=2.0

[Deployment]
InstallScope = user

[Add.Code]
AxControlsInstaller.msi=AxControlsInstaller.msi

[AxControlsInstaller.msi]
file-win32-x86=thiscab
clsid={7BF670F6-A570-4A43-A22D-53043CF1D144}
FileVersion=1,0,0,0

[Setup Hooks]
install=install

[install]
run=msiexec.exe /package """%EXTRACT_DIR%\AxControlsInstaller.msi""" /qn


I also tried to change %EXRACT_DIR% to %USERPROFILE%\AppData because I don't permission to write to EXTRACT_DIR being a non-admin.
But nothing works.

Please help.

Thanks,
Sona
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900