开发者

How to know installation action in installshield merge module type project?

开发者 https://www.devze.com 2023-02-13 17:19 出处:网络
I am using installshield to build a setup project. I have one InstallScript type project in which I have multiple merge module project included. In each merge module I have some custom install script

I am using installshield to build a setup project. I have one InstallScript type project in which I have multiple merge module project included. In each merge module I have some custom install script logic. I noticed that this in开发者_StackOverflowstall script logic is running every time (install/uninstall/repair). I want to control these based of the action install/uninstall/repair. Is there any environment variable or flag from where I can get this value?


Assuming you mean an InstallScript project that uses multiple merge modules via the Merge Module Holder Object, no there's no great way. This is part of why the MMHO has been deprecated. Each of the merge modules is built into its own .msi and launched from the InstallScript project; you should probably do that manually so you can pass properties to each .msi file.

However since these are .msi files, you might check to see if the standard conditions like the ones in this article can help. http://www.installshield.com/news/newsletter/0212-articles/msiconditions.asp Note that these would have to be in the merge modules.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号