要在没有管理员凭据的计算机上下载/安装ActiveX,需要在ActiveX中进行哪些更改 [英] What change is required in ActiveX to download/install on a machine without Admin Credentials
问题描述
大家好,
为了寻求帮助,我目前有一个ActiveX,只能使用Admin Credential下载并安装在计算机上.我必须在ActiveX中进行一些更改,以便可以使用常规用户凭据将其下载到计算机上,简而言之,我正在尝试制作Non Admin ActiveX Control.我已经通过MSDN链接(http://msdn.microsoft.com/zh-cn/library/dd433049(v=vs.85).aspx)也实现了建议的更改,但无法正常工作,并且在没有安装ActiveX的情况下无法安装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
期待您的宝贵回应.
谢谢,
Abhijeet
Looking forward to your valuable response.
Thanks,
Abhijeet
推荐答案
芝加哥
" AdvancedINF = 2. 0 [添加代码] time.ocx = time.ocx msvcrt.dll = msvcrt.dll [部署] InstallScope =用户 [time.ocx] file-win32-x86 = thiscab clsid = {DCF0768D-BA7A-101A-B57A-0000C0C3ED5F} FileVersion = 1, 0 , 0 , 0 RegisterServer =是 [contoso.dll] file-win32-x86 = thiscab clsid = {ABC01234-BA7A-101A-B57A-0000C0C3EFF0} FileVersion = 4, 20 , 0 , 6164 RegisterServer =是 RedirectToHKCU =是
" 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
期待您的宝贵回应.
谢谢,
Abhijeet
Looking forward to your valuable response.
Thanks,
Abhijeet
使用管理员凭据无法安装任何程序.这是有很好的理由的.如果无需管理员即可安装东西,那么任何人都可以在任何人的计算机上安装任何有害的东西.那不是很安全.这就是为什么您不能这样做.
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.
这篇关于要在没有管理员凭据的计算机上下载/安装ActiveX,需要在ActiveX中进行哪些更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!