Skip to content

Companion File in MSI

October 14, 2012

Companion file is quite interesting in MSI. This concept is completely related and dependent on file versioning rules.

One file (Companion File) is dependent for its file versioning rules on other file(Companion parent) file.

Read the below example for your understanding. Consider the two column names in File table of MSI.

FileName                              Version

FileA                                     1.0.0.0                                            – Companion Parent

FileB                                     FileA                                                – Companion File

Now If we think about the FileA,It will install based on the file version rules applied for this file. If lower version FileA is already present on the system, It will overwrite the with FileA with MSI file versioning rules. If higher version of FileA is present on system, FileA will not be installed as already higher to tversion is present on the system.

Now if we think about FileB, It will depend in the FileA installation. If FileA installs on to the system, then FileB installs. If FileA doesn’t installs FileB also doesn’t installs. So, FileB is completely dependent on FileA for the file versioning rules.

 

About these ads

From → MSI Packaging

Leave a Comment

You comments make us improve. So, please comment

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: