安装更新的应用程序而不卸载旧的应用程序
有没有办法将应用程序的更新版本与旧版本的应用程序一起安装(即不卸载旧版本)?
is there a way to install an updated version of an application alongside the old version of the application (i.e., without uninstalling the old version)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
只要不对互斥的系统资源进行硬编码更改,更改版本就可以做到这一点。
Changing the version # should do it, so long as there's no hard-coded changes to system resources that are mutually exclusive.
这称为“并行安装”。有许多并排安装的示例; Microsoft Office 产品可以并行安装,Windows 动态链接库 (DLL) 也可以。
某些编程语言和操作系统允许您进行“热修补”,即应用程序的代码在运行时进行更新。 Erlang 等函数式语言就是这方面的著名例子。
It's called "side-by-side installation." There are a number of examples of side-by-side installation; Microsoft Office products can be installed side-by-side, as can Windows Dynamic Link Libraries (DLL's).
Some programming languages and operating systems allow you to do "hot patching," where the application's code is updated while it is running. Functional languages such as Erlang are notable examples of this.