Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

Looking for a help, I currently have an ActiveX which can only be downloaded and installed on a machine using Admin Credential. I have to make some changes in the ActiveX so it can be downloaded on a machine using normal user credentials , in short I am trying to make Non Admin ActiveX Control. I have gone through MSDN link (http://msdn.microsoft.com/en-us/library/dd433049(v=vs.85).aspx) also implemented the suggested changes but its not working and ActiveX is not getting installed without Admin Credential.

Changes done:
VB
[version]
    signature="$CHICAGO$"
    AdvancedINF=2.0

[Add.Code]
     time.ocx=time.ocx
     msvcrt.dll=msvcrt.dll

[Deployment]
    InstallScope=user

[time.ocx]
    file-win32-x86=thiscab
    clsid={DCF0768D-BA7A-101A-B57A-0000C0C3ED5F}
    FileVersion=1,0,0,0
    RegisterServer=yes

[contoso.dll]
    file-win32-x86=thiscab
    clsid={ABC01234-BA7A-101A-B57A-0000C0C3EFF0}
    FileVersion=4,20,0,6164
    RegisterServer=yes
    RedirectToHKCU=yes


Looking forward to your valuable response.

Thanks,
Abhijeet
Posted

1 solution

Nothing can get installed with Admin credentials. This is for a very good reason. If things could get installed without admin, then anyone could install anything willy nilly on anyone's machine. That would not be very safe. That is why you cannot do it.
 
Share this answer
 
Comments
Espen Harlinn 3-Oct-12 18:30pm    
5'ed!
abhijeet5k 3-Oct-12 19:01pm    
Thanks Marcus for the quick response but does it mean this MSDN link is for something else http://msdn.microsoft.com/en-us/library/dd433049(v=vs.85).aspx ?

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