如何使用asp.net中的注册表在远程系统中卸载软件 [英] How to uninstall the software in remote system using registry in asp.net

查看:71
本文介绍了如何使用asp.net中的注册表在远程系统中卸载软件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

uninstall.StartInfo.FileName = 
          uninstallstring.Substring(0, uninstallstring.LastIndexOf("/") - 1);
uninstall.StartInfo.Arguments = 
          uninstallstring.Substring(uninstallstring.LastIndexOf("/"), 
          uninstallstring.Length - uninstallstring.LastIndexOf("/"));
uninstall.Start();



这是卸载我的系统软件的代码. 您能帮我用注册表卸载远程系统软件吗...

在此先感谢....



This is the code to uninstall my system software.....
Can u please help to uninstall the remote system software using registry......

thanks in advance....

推荐答案

Asp.net生成HTML,该HTML显示在远程(客户端)计算机上的浏览器中.
您无法使用HTML访问客户端的注册表,因此您的方法将无效.

您必须让用户在其计算机上运行可执行文件.

尼克
Asp.net produces HTML that is displayed in a browser on the remote ( client ) computer.

You cannot access the client''s registry using HTML, so your approach will not work.

You will have to get the user to run an executable on their computer.

Nick


这篇关于如何使用asp.net中的注册表在远程系统中卸载软件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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