Click here to Skip to main content
12,069,450 members (68,983 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ActiveX
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:
[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 3-Oct-12 12:30pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160208.1 | Last Updated 3 Oct 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100