I have a Chain with following setup: ExePackage1->MsiPackage1->ExePackage2->MsiPackage2
MsiPackage1 writes some values to file File1.
ExePackage2 has an InstallCondition which should be based on the contents of File1.
How can I read the contents of File1 and set a property to be tested in InstallCondition?
- I thought of util:FileSearch but it does help me with contents.
- Reading the contents in ExePackage2 with a custom action might be another approach but I would like to not even execute ExePackage2.
UPDATE I have a Custom Action Library which is used by MsiPackage1 and MsiPackage2. Can it be extended to to host a CustomBA and do the required file reading and property setting?