Transitive Components in Wise Package Studio
Transitive components are those which evaluate their conditions during repair/modify mode. The creator of the installation package specifies those components that need to be swapped out during a system upgrade as having the transitive attribute.
Learn more aobut these components (and how they can change your life, or not) here.
Let's take an example:
Component name: MYCOMPONENT
Condition on component: VARFLAG="TRUE"
Description: Installs a text file (mytest.txt for example) in Program Files\Test
Non transitive:
If this component was non transitive, it would evaluate the condition VARFLAG="TRUE" only at install time to determine if the file mytest.txt should be installed or not. Now, if you were to repair this package, the condition on the component is not evaluated and the file mytest.txt is not removed if VARFLAG<>"TRUE".
Transitive:
If this component was transitive then it would evaluate the condition VARFLAG="TRUE" both at install time and repair/modify time to determine if the file mytest.txt should be installed/removed or not. If you were to repair this package, the condition on the component is evaluated and the file mytest.txt is either installed (If VARFLAG="TRUE") or removed (if VARFLAG<>"TRUE").
The transitive bit can be set on components by using msidbComponentAttributesTransitive i.e. 64 in the Attributes column of the Component table.

The Endpoint Management Community Blog is the perfect place to share short, timely insights including product tips, news and other information relevant to the Endpoint Management community. Any authenticated Connect member can contribute to this blog.
Comments
Supportive example
Like to add a supportive example fron real time situtaion.
Take an example that your XYZ application have addon feature. This addon feature get installed only when office suite is available on system.
Now any how even if office is not available, XYZ application works but the feature do not get installed on system.
if you set that particular addon feature component as transitive with appropriate condition, then it will save the un necessary installation of that component if office is not installed on system.
If user installed office and he wants to use XYZ applications addon feature. then he need to do only two things.
1. install office.
2. repair the XYZ application.
Transitve component will check the condition at the time of repair and it will install the component from the database.
Thanks.
Harsh.
Would you like to reply?
Login or Register to post your comment.