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
- :
- Transitive component not working during modify installation
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 11, 2009
02:55 AM
Transitive component not working during modify installation
Hi,
Consider Product P1 of version 1.0, having a component (Consider Comp1) associated with two features say, F1 and F2. F1 and F2 have other independent components as well.
Now in P1 of version 1.1 (Minor upgrade),
the requirement is to install Comp1 when F1 is installed. But when only F2 is installed, Comp1 should not be installed.
To achieve this, i made Comp1 as 'transitive' and set the condition property appropriately. Thus it works during new installation of P1 Version 1.1.
But during modify installation, the transitive components is not working.
Senario:
1. New installation of P1 ver 1.1 with feature F1 is installed.
Comp1 is placed. (Works!)
2. New installation of P1 ver 1.1 with only feature F2 is installed.
Comp1 is not placed. (Works!)
3. New installation of P1 ver 1.1 with feature F1 is installed.(Comp1 is placed.)
During Modify installation, F1 is de-selected and F2 in selected to install.
The Comp1 condition is False. But Comp1 is not getting removed. (Problem!)
I understand that component condition is evaluated after CostFinalize action, even in Modify installation.
Is there any way of solving this issue other than going for Major upgrade?
Any help is appreciated.
Thanks and Regards,
Sundararajan
Consider Product P1 of version 1.0, having a component (Consider Comp1) associated with two features say, F1 and F2. F1 and F2 have other independent components as well.
Now in P1 of version 1.1 (Minor upgrade),
the requirement is to install Comp1 when F1 is installed. But when only F2 is installed, Comp1 should not be installed.
To achieve this, i made Comp1 as 'transitive' and set the condition property appropriately. Thus it works during new installation of P1 Version 1.1.
But during modify installation, the transitive components is not working.
Senario:
1. New installation of P1 ver 1.1 with feature F1 is installed.
Comp1 is placed. (Works!)
2. New installation of P1 ver 1.1 with only feature F2 is installed.
Comp1 is not placed. (Works!)
3. New installation of P1 ver 1.1 with feature F1 is installed.(Comp1 is placed.)
During Modify installation, F1 is de-selected and F2 in selected to install.
The Comp1 condition is False. But Comp1 is not getting removed. (Problem!)
I understand that component condition is evaluated after CostFinalize action, even in Modify installation.
Is there any way of solving this issue other than going for Major upgrade?
Any help is appreciated.
Thanks and Regards,
Sundararajan
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 16, 2009
06:55 PM
May be a silly question - but in the Component GUI (right hand pane), in addition to the Component Condition is a yes/no setting for 'Re-evaluate condition'. I'm certain that this comes into play when doing an installation Repair, and I think it might come into play if doing an installation Modify.
This causes the component condition to be re-evaluated at times other than the original installation (which is what you need and don't seem to be getting).
This causes the component condition to be re-evaluated at times other than the original installation (which is what you need and don't seem to be getting).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 23, 2009
11:00 AM
What i meant by transitive component is, setting the component condition and setting the re-evaluate property to Yes.
This seems to work during upgrade and re-installation, but not during change installation.
This seems to work during upgrade and re-installation, but not during change installation.