Can a single component installed by two different installers, if we keep same GUIDs and Paths for files,services, registries, upgrade codes?

感情迁移 提交于 2020-01-06 05:52:08

问题


Can a product installed by two different installers, if we keep same GUIDs and Paths for files,services, registries, upgrade codes? Install by installer1 and uninstalled by other installer2, or upgraded by installer2

I have a component, is bundled with two installers One is bundled as MSM module in Installer with multiple other components.

And other I have standalone installer that installs my component, it does not have MSM module just has .wixproj and .wxs file.

So my question is can I have compatibility in between standalone installer and Bundled installer (component installed by Standalone can upgraded by Bundled component installer and vice versa)

I know this can be done using shared MSM but trying to acomplomplish it with minimum changes just USE same GUIDs and PATHs.

Also how uninstallation will work, if uninstalled by Bundled installer, what will happen if uninstall triggered by clicking "remove" standalone installer. also vice versa case "uninstalled by standalone installer and then tried to uninstall bundled uninstallation"

Please consider I have used common Filepaths and GUIDs for components. Is this sufficient? Consuming existing standalone installer.

I feel consuming same MSM in standalone installer may be longer path.

wanted to know is this possible? if yes what additional steps I have to perform.

来源:https://stackoverflow.com/questions/50215788/can-a-single-component-installed-by-two-different-installers-if-we-keep-same-gu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!