卸载由合并模块部署的文件 [英] Uninstalling files deployed by merge module

查看:57
本文介绍了卸载由合并模块部署的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在安装InstallShield 2015项目.假设我的产品的版本1是使用合并"模块运送一些文件的.现在,我正在开发同一产品的版本5.从v1升级到v5的过程中,我想从v1删除由合并模块部署的文件,并从v5的合并模块部署新的文件集.

I am working InstallShield 2015 project. Say for version 1 of my product is shipping some files using Merge module. Now I am working on version 5 of same product. During upgrade from v1 to v5, I want to remove files deployed by merge module from v1 and deploy new set of files from merge module in v5.

我该如何实现?如何删除由v1合并模块部署的文件?

How can I achieve this? How should I remove files deployed by v1 merge module?

推荐答案

合并模块 :合并模块在MSI编译时合并到您的程序包中.它们打算被合并到需要Merge模块中的组件的任何MSI软件包中.因此,它是一种用于共享组件或运行时或许多程序包消耗的需求的分发机制.

Merge Modules: Merge modules are merged into your package at MSI compile time. They are intended to be merged into any MSI package that needs the components from the merge module. As such it is a distribution mechanism for shared components or runtimes or whatever you need that many packages consume.

合并的内容 :合并模块成为合并到其中的软件包的一部分,因此它们由MSI本身(不是通过某些自定义方式)进行引用计数,因此仅当没有其他MSI软件包(取决于它们)时,才卸载这些组件.还可以将组件设置为永久性,在这种情况下,永远不会删除它们.

Merged Content: The merge modules become part of the packages they are merged into and they are hence reference counted by MSI itself - not by some custom means - so that the components are only uninstalled when there are no other MSI packages depending on them. Components can also be set permanent, in which case they are never removed.

更新 :如果要从合并模块更新文件,则基本上需要创建新版本的合并模块.

Updates: If you want to update the files from the merge module, you basically need to create a new version of the merge module.

这篇关于卸载由合并模块部署的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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