如何在安装设置时检查序列号?
我有一个 C# 项目。我想创建一个设置并部署它。我想在安装设置时检查序列号,该序列号是否有效(就像我们安装MS Office的许可证副本时一样。它会询问序列号。如果该序列号有效,则该软件将安装成功)。如果序列号无效,如何添加序列号和回滚设置过程?
提前致谢..
I have a project in C#. I want to create a setup and deploy it. I want to check the serial key at the time of installation setup , which is valid or not (like when we installing the license copy of the MS office. It asks serial key. If this serial key is valid, then this software will install successfully). How can I add the serial key and rollback setup process if serial key is not valid?
Thanks in advance..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Scott Guthrie 在此向您描述了如何使用自定义操作进行安装设置。
提示/技巧:使用 VS 2005 创建打包的 ASP.NET 安装程序
您可以根据需要自定义此示例。
Here you have described by Scott Guthrie how to make installation setup with custom actions.
Tip/Trick: Creating Packaged ASP.NET Setup Programs with VS 2005
You can customize this example to your needs.
请参阅给定的链接,您将能够使用序列号进行设置。
http://www.codeproject.com/KB/install/easysetup.aspx
作者:Gourav Pal,BuckSoftech Pvt.兰契有限公司
Refer to given link, you will b able to a setup with serial key.
http://www.codeproject.com/KB/install/easysetup.aspx
By: Gourav Pal, BuckSoftech Pvt. Ltd., Ranchi