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