[英]how to install web application from a .msi file , created using wix?
I created a small web application in c# and wanted to create a installer for the web app and started so, using wix and i come up with the .msi file(installer) with a .wixpdb file. 我用c#创建了一个小型Web应用程序,并想为该Web应用程序创建安装程序并开始使用wix,因此我提出了带有.wixpdb文件的.msi文件(安装程序)。 Now, when i click on the .msi setup file ,installation is getting started and ending up with noting.
现在,当我单击.msi安装文件时,安装开始,并以提示告终。
steps i followed is, 我遵循的步骤是
My Doubt here is that, how can i run the installer that will create a service/web application and installed locally. 我的怀疑是,如何运行将创建服务/ Web应用程序并在本地安装的安装程序。
答案很简单,当然我们只需要双击安装程序,但是在此之前,我们需要在FileName.wxs文件中添加<UIRef Id="MyWebUI" />
并在.wxs文件中定义一些UI对话框,在http://www.codeproject.com/Articles/115036/Creating-WIX-Installer-for-ASP-NET-Web-Application中可以更清楚地说明。
Unfortunately WIX harvesting will not create a web application/web site for you automagically, when you harvest a "published" application. 不幸的是,当您收获“已发布”的应用程序时,WIX收获将不会自动为您创建Web应用程序/网站。 It will just produce the code to copy files.
它将仅生成复制文件的代码。 In WIX, you have to add this functionality yourself.
在WIX中,您必须自己添加此功能。 In comparison with VS installer for example, you've got much more to do, and the rabbit's hole appears to be much deeper.. Take a look here for example:
例如,与VS安装程序相比,您还有更多工作要做,而兔子的洞似乎要深得多。请看这里:
http://www.codeproject.com/Articles/115036/Creating-WIX-Installer-for-ASP-NET-Web-Application http://www.codeproject.com/Articles/115036/Creating-WIX-Installer-for-ASP-NET-Web-Application
http://blog.bartdemeyer.be/2013/10/create-an-installer-for-website-with-wix-part-1/ http://blog.bartdemeyer.be/2013/10/create-an-installer-for-website-with-wix-part-1/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.