1. Use appsearch to set a property using a registry location (e.g. [OFFICE_2010_PATH]).
2. Use the [OFFICE_2010_PATH] property as the path in the File Search to find mscal.ocx (e.g. OFFICE_2010_PATH_MSCAL_OCX).
If I use a built-in property such as [ProgramFilesFolder] as the path value, the search for mscal.ocx works fine.
Here's a sample log entry. Notice that OFFICE_2010_PATH_MSCAL_OCX is getting enumerated first. From what I understand with APPSEARCH, the order should not matter.
AppSearch: Property: OFFICE_2010_PATH_MSCAL_OCX, Signature: FileSearchSign_2_2
MSI (c) (88:D0) [10:34:57:484]: Note: 1: 2262 2: CompLocator 3: -2147287038
MSI (c) (88:D0) [10:34:57:484]: Note: 1: 2262 2: IniLocator 3: -2147287038
MSI (c) (88:D0) [10:34:57:484]: Note: 1: 1322 2:
MSI (c) (88:D0) [10:34:57:484]: Note: 1: 1322 2:
MSI (c) (88:D0) [10:34:59:691]: Note: 1: 2363 2: C:\System Volume Information\
MSI (c) (88:D0) [10:34:59:691]: Error while attempting to search in/ below folder: System Volume Information
MSI (c) (88:D0) [10:35:04:013]: Note: 1: 2363 2: E:\System Volume Information\
MSI (c) (88:D0) [10:35:04:013]: Error while attempting to search in/ below folder: System Volume Information
...
...
AppSearch: Property: OFFICE_2010_PATH, Signature: Office14Sign
MSI (c) (88:D0) [10:35:04:038]: Note: 1: 2262 2: CompLocator 3: -2147287038
MSI (c) (88:D0) [10:35:04:038]: PROPERTY CHANGE: Adding OFFICE_2010_PATH property. Its value is 'C:\Program Files (x86)\Microsoft Office\Office14\'.
FOLLOW US
Get the latest news in Application Packaging