This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Common Feature possible?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Apr 21, 2009
12:52 AM
Common Feature possible?
Hi everybody, Greetings for the day..!
I am having two different installers say A and B(Both are Basic MSI). I ve a feature common in both the installers, means some set of files and registries bind with a feature called X in both the products. I have the feature X bind in both A and B seperately.
1. In this scenario, i install feature X through A then i run B i want to show the feature X as if it is in installed state, in the custom setup screen.
2. (Assuming the Point 1 is achieved)In the same scenario when i deselect the feature X from B, i should be able to uninstall the feature X from product A. Means when i run A next time the feature X should be in the deselected state.
(My untimate aim is to make the feature X common to both A and B installation/uninstallation should be possible from either installer and the feature state should be common for both the products)
I learnt that my above specification is possible through Install script project by coding manually. Since this case is basic msi, i want to know whether it is possible to achieve it?
Thanks in Advance
I am having two different installers say A and B(Both are Basic MSI). I ve a feature common in both the installers, means some set of files and registries bind with a feature called X in both the products. I have the feature X bind in both A and B seperately.
1. In this scenario, i install feature X through A then i run B i want to show the feature X as if it is in installed state, in the custom setup screen.
2. (Assuming the Point 1 is achieved)In the same scenario when i deselect the feature X from B, i should be able to uninstall the feature X from product A. Means when i run A next time the feature X should be in the deselected state.
(My untimate aim is to make the feature X common to both A and B installation/uninstallation should be possible from either installer and the feature state should be common for both the products)
I learnt that my above specification is possible through Install script project by coding manually. Since this case is basic msi, i want to know whether it is possible to achieve it?
Thanks in Advance
(2) Replies
‎Apr 21, 2009
08:10 AM
So, basically, what you're trying to support is uninstalling part of product A from product B's installation? I don't believe this is supported in MSI.
Offhand, I can't really think of a way to handle this in an MSI. Windows Installer tracks on the product and component levels, and it knows which components were installed by which products. You would have to hack into those registry entries to try to override this behavior. I honestly wouldn't recommend trying to make such a drastic change to the basic Windows Installer functionality.
Offhand, I can't really think of a way to handle this in an MSI. Windows Installer tracks on the product and component levels, and it knows which components were installed by which products. You would have to hack into those registry entries to try to override this behavior. I honestly wouldn't recommend trying to make such a drastic change to the basic Windows Installer functionality.