在Visual Studio 2005中安装Windows应用程序 [英] Installation of Windows application in Visual Studio 2005

查看:66
本文介绍了在Visual Studio 2005中安装Windows应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了Windows应用程序并为其创建了安装程序,但是我不想让它从控制面板的添加或删除程序"选项中卸载.即使它也不应该出现在控制面板的添加或删除程序"选项中.

用户提供授权密码后,只能从应用程序本身中将其卸载.

有没有办法做到这一点.

谢谢.

亲切的问候

Sushil Saini

I have developed a windows application and created installation for the same but I don''t want let it to uninstalled from - Add or Remove Program option of control Panel. Even it should not be appeared in Add or Remove Program option of control panel.

It must be uninstalled only from application itself after providing authorized password by the user.

Is there any way to do this.

Thanks.

Kind Regards

Sushil Saini

推荐答案

如果我对您的理解正确,则可能需要Orca之类的编辑器来打开已创建的msi,并将条目添加到Property名为ARPSYSTEMCOMPONENT的表,并为其赋予1值.我相信这样做可以防止它显示在添加/删除程序"列表中.
If I understand you correctly, you will probably need an editor like Orca to open up the msi that is created and add an entry to the Property table called ARPSYSTEMCOMPONENT and give it the value of 1. I believe this should prevent it from showing in the Add/Remove Programs list.


由于我的应用程序可以保护独立台式机PC上未经授权的用户/黑客的私有文件夹数据的安全.如果有人从控制面板的添加或删除程序"中卸载了该应用程序,那么重新安装它或提供许可证密钥就成了我的问题.

禁止未经许可的用户卸载的主要目的是为了维护隐私.并且只有所有者应在需要时卸载该应用程序.
Since my application works on securing private folder data from unauthorized users/hackers on a stand alone desk top PC. If some one uninstalls the application from Add or Remove Programs of control panel than it becomes my problem to reinstall it or provide license key.

The main purpose for prohibiting uninstallation from unuthorized users is to maintain privacy. And only owner should uninstall the application whenever required.


请提供许可证密钥,否则,如果卸载了某个软件并且正在重新安装,他们应该可以在帮助下打开它.许可证密钥.
Please provide the License key otherwise if some one un-installed and if they are re-installing they should be able to open it with the help of the License key.


这篇关于在Visual Studio 2005中安装Windows应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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