简体   繁体   中英

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?

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). Web installations don't really have an administrative install, however, and ultimately the patch creation fails.

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. All of the documentation I've found for generating patch files with PCP and MSIMSP.EXE involves performing an administrative installation of the installers. 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.

I'm looking into InstallShield to see if any finer control is available there...

Sorry for not helping, I can however tell you how we use WIX to create the installation for our web-site.

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. This process is rolled into the build (MSBuild) for the web-site, so the MSI creation is automatic.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM