简体   繁体   English

有什么方法可以为ASP.Net Web应用程序安装程序创建补丁?

[英]Is there any way to create a patch for an ASP.Net web application installer?

Is it possible to create patch installers for web deployment installers generated in VS2005? 是否可以为VS2005中生成的Web部署安装程序创建补丁程序安装程序?

I have a situation in which it is undesirable to perform a complete uninstall/reinstall of a web site, but in which periodic bug fixes and minor upgrades are made. 我遇到的情况是不希望执行网站的完全卸载/重新安装,但是会定期进行错误修复和较小的升级。

I've tried following the instructions in various online posts about using msimsp.exe to generate a patch file, but most/all of them rely on some usage of msiexec.exe to create an administrative install for comparison, since msimsp.exe can't cope with compressed content (eg CAB files). 我尝试按照各种在线帖子中的说明使用msimsp.exe生成补丁文件,但是大多数/全部都依赖于msiexec.exe的某些用法来创建管理安装以进行比较,因为msimsp.exe可以' •处理压缩的内容(例如CAB文件)。 Web installations don't really have an administrative install, however, and ultimately the patch creation fails. Web安装实际上并没有管理安装,最终补丁创建失败。

Of course, I can create an installer containing just the changed files by hand, but that's prone to error, and having an automated process is more desirable. 当然,我可以手动创建一个包含更改后的文件的安装程序,但这容易出错,因此更需要一个自动化的过程。

Any help is appreciated. 任何帮助表示赞赏。

WIX(Windows Installer XML)文档包含有关使用修补程序创建属性(PCP)创作文件来创建增量修补程序文件的修补程序构建的部分。

Thanks for the suggestion but again, this is a web installer. 感谢您的建议,但是再次,这是一个Web安装程序。 All of the documentation I've found for generating patch files with PCP and MSIMSP.EXE involves performing an administrative installation of the installers. 我发现的用于使用PCP和MSIMSP.EXE生成补丁文件的所有文档都涉及对安装程序的管理安装。 There isn't really an administrative install for a web installer (at least not the kind generated in VS2005), so the MSIMSP.EXE patch generation process kind of short-circuits there. Web安装程序实际上没有管理安装(至少不是VS2005中生成的安装),因此MSIMSP.EXE修补程序生成过程在那里发生了短路。

I'm looking into InstallShield to see if any finer control is available there... 我正在调查InstallShield,以查看是否有任何更好的控件可用...

Sorry for not helping, I can however tell you how we use WIX to create the installation for our web-site. 很抱歉没有帮助,但是我可以告诉您我们如何使用WIX为我们的网站创建安装。

We have created a WIX template (Plan Old XML), and we then traverse the build output folder using an utility we wrote our-selves to get the list of folders and files that need to go into the resulting WIX file. 我们已经创建了WIX模板(Plan Old XML),然后使用编写自己的实用程序遍历构建输出文件夹,以获取需要进入生成的WIX文件的文件夹和文件的列表。 This process is rolled into the build (MSBuild) for the web-site, so the MSI creation is automatic. 此过程将滚动到网站的内部版本(MSBuild)中,因此MSI创建是自动的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用asp.net为Web应用程序创建补丁文件 - How to create a Patch file for a web application using asp.net 如何为 ASP.NET Core / Angular web 应用程序创建安装程序? - How to create installer for ASP.NET Core / Angular web app? 有什么方法可以在我的 ASP.NET MVC web 应用程序中模拟声明主体? - Is there any way I can mock a Claims Principal in my ASP.NET MVC web application? 如何使用Wix Toolset为ASP.NET Core应用程序创建MSI安装程序 - How to create MSI installer for ASP.NET Core application using Wix Toolset 使用控制台应用程序创建ASP.NET WEB API - Create ASP.NET WEB API using Console application ASP.NET 网站还是 ASP.NET Web 应用程序? - ASP.NET Web Site or ASP.NET Web Application? 从asp.net应用程序编译MSI(Windows安装程序) - Compiling MSI (Windows Installer) from asp.net application 有没有办法为带有Windows窗体和Web应用程序项目的解决方案创建.NET安装程序? - is there a way to create a .NET installer for a solution with a windows forms and web app project? ASP.NET Web应用程序上的代码检测 - Code Instrumentation on an ASP.NET Web Application 部署ASP.NET MVC 4 Web应用程序 - Deploy asp.net mvc 4 web application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM