Click here to Skip to main content
Rate this: bad
good
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 11:30am

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 at 3-Oct-12 18:30pm
   
5'ed!
abhijeet5k at 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
0 Sergey Alexandrovich Kryukov 458
1 OriginalGriff 344
2 George Jonsson 233
3 Animesh Datta 130
4 Shemeemsha RA 128
0 OriginalGriff 6,179
1 Sergey Alexandrovich Kryukov 5,616
2 CPallini 4,770
3 George Jonsson 3,400
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 3 Oct 2012
Copyright © CodeProject, 1999-2014
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