通过VS2010创建msi安装程序 [英] creating msi installer through VS2010

查看:181
本文介绍了通过VS2010创建msi安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我使用的是windows server 2008r2服务器和iis7



我创建了一个包含两个.net applications.so的msi安装程序安装程序安装它将在iis中创建两个虚拟目录,我将访问应用程序。为了恢复这些应用程序的数据库,我创建了一个批处理文件,该文件将触发包含恢复数据库命令的文件xxx.sql。我已经创建了安装程序,安装完成后,批处理文件将放在用户'的桌面,以便他可以运行该文件来恢复数据库。



但我需要一个解决方案,其中批处理文件不应由用户手动运行。它也应该作为安装过程的一部分进行恢复,现在我正在我的本地服务器上恢复它。我需要在我的msi安装程序中有一个向导,它会询问用户的凭据,应该恢复服务器的名称,一旦用户输入这些详细信息并点击下一步,它就应该将数据库恢复到用户提到的服务器上。 br />


请帮我解决这个问题...

任何帮助将不胜感激

提前致谢


I use windows server 2008r2 server and iis7

I created an msi installer containing two .net applications.so once the setup is installed it would create two virtual directories in iis from where i would access the applications. For restoring the database of these applications i created a batch file that would trigger a file xxx.sql which contains the restore database commands.I have created the setup in such a way that once installation is done the batch file would be placed in user''s desktop so that he can run the file to restore Database.

but i need a solution wherein the batch file should not be manually run by the user. It should also get restored as a part of installation process and right now i am restoring it on my local server. i need to have a wizard in my msi installer that would ask the user for his credentials,name of the server where it should get restored and once user enters these details and clicks next it should restore database onto the server where user has mentioned.

Pls help me out with this problem...
Any help will be appreciated greatly
Thanks in advance

推荐答案

您好



我建议您可能需要使用安装后的操作(在Install Shield中) VS 2010附带限量版)。询问 +强大的G先生+


这篇关于通过VS2010创建msi安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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