sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact:  Website

MSI Created Global Property Not Seen By Merge Module

Thu Jul 17, 2014 8:51 pm

My parent MSI creates a global property (OFFICE_2007_PATH) set by a registry location search:

MSI (c) (A4:94) [14:18:32:173]: PROPERTY CHANGE: Adding OFFICE_2007_PATH property. Its value is 'C:\Program Files (x86)\Microsoft Office\Office12\'.

I have a file component in my merge module (MSM) that has an install condition of:

OFFICE_2007_PATH

the component doesn't not get installed:

MSI (s) (58:F8) [14:19:03:705]: Component: CIFOutlookPlugin.dll.4E72A4E1538744C6A2EC5B2DE0D2CEDE; Installed: Absent; Request: Local; Action: Null

which tells me the Merge Modules does not see the global property.

I thought this was possible to do it this way?
Scott Jeslis
Senior Software Engineer
Cicero, Inc.

Bogdan
Posts: 2791
Joined: Tue Jul 07, 2009 7:34 am
Contact:  Website

Re: MSI Created Global Property Not Seen By Merge Module

Thu Jul 17, 2014 9:34 pm

All properties from a merge module are called from the main MSI by appending the merge module GUID to their name(this is standard requirements from the OS). So from your MSI you need to set the following property:

OFFICE_2007_PATH.4E72A4E1538744C6A2EC5B2DE0D2CEDE


Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”