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                                                                       – 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.



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: Logo

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: