Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Transitive Components in Wise Package Studio

Updated: 24 Sep 2007 | 1 comment
WiseUser's picture
0 0 Votes
Login to vote

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.

Comments

Harsh Mokal's picture
25
Sep
2007
0 Votes 0
Login to vote

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.