需要从我的Web应用程序检查用户/客户端注册表 [英] Need to check user/client registry from my web application

查看:84
本文介绍了需要从我的Web应用程序检查用户/客户端注册表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个Web应用程序,由于缺少某些DLL,因此无法部分正常运行.因此,我们向用户计算机提供了一个exe(它将注册这些dll).用户安装相同的文件即可正常工作.
现在,我们计划将其自动化.当用户尚未安装此exe时,我们希望他们重定向到页面,以便他们将具有安装该exe的说明.
计划使用注册表实现相同的目的.我们在用户安装EXE的同时将一些东西写入注册表,然后通过Web我们将在注册表中找到更新并相应地重定向它们.

但是无法通过ASP.net读取客户端注册表,有什么想法吗?

问候
Ashrith

Hi All,

I have a web application which is not partially working fine as its missing some DLL''s. so we have provided an exe(which will register these dll''s) to the users machine. users install the same and working.
Now we are planning to automate this. when users have not installed this exe we would wish them to redirect to an page so that they will have instruction to install the same.
planned to achieve the same using registry. we are writing some thing into registry while users install the EXE and through web we will find the update in registry and redirect them accordingly.

But not able to read client registry through ASP.net, any idea to do this?

Regards
Ashrith

推荐答案

否.没有直接的方法可以从Web应用程序访问客户端注册表.由于明显的安全原因,这是很好且有效的.

尽管有部分解决方案.您可以构建和使用ActiveX,但是它只会基于IE,并且还会根据用户的IE设置向用户提示安全警告.


我建议您将其作为安装程序/更新补丁程序的一部分,以确保将其安装在客户端系统上.或者,您可以提供一个小型桌面应用程序,该应用程序仅根据相关注册表检查并告诉用户是否已安装所需的应用程序.在您的网站上闪烁,如果不确定或有问题,请下载此桌面应用程序以确认是否已安装所有必需的组件.
No. There is no direct way to access client registry from a web application. This is good and valid because of obvious security reasons.

Though there is a partial solution to it. You can build and use an ActiveX, but then it will only be IE based and would also prompt security warning to the user based on his/her IE settings.


I would suggest you to make it a part of installer/update patch that will make sure it is installed on the client system. Alternatively, you can provide a small desktop app that just checks and tells users if the needed application is installed or not based on the registry in question. Flash on your website that if not sure or having issues, please download this desktop app to confirm if all the needed components are installed.


这篇关于需要从我的Web应用程序检查用户/客户端注册表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆