Hello,

I created an MSI and transform for it that uses the AppSearch action. All the
AppSearch related data (AppSearch, DrLocator, RegLocator and Signature tables)
is in the transform. What I wanted to do is find a path in the registry and
than check that a file exists in that path. So it was vital for the RegLocator
to be executed first and than the DrLocator/Signature tables. The MSDK says:

"The AppSearch action searches for file signatures using the CompLocator table
first, the RegLocator table next, then the IniLocator table, and finally the
DrLocator table."

So in theory everything should be OK, but in practice it is not. After turning
on verbose logging I discovered that for whatever reason the
DrLocator/Signature tables were parsed first and only after that the RegLocator
table. Because of that the DrLocator had no valid path in which to search for
the file. Of course the LaunchConditions were never met. If I moved the
RegLocator data into the MSI than what the SDK said became true. But not when I
had everything in the transform. To be more clear: the row from AppSearch
relating to the RegLocator record was defined in the MSI, the AppSearch
relating to the DrLocator and Signature records were defined in the transform.
I did not experiment to find out what happened if all the AppSearch records
were defined in the MSI.

Does anyone know where could I find an explanation to this behavior? I mean why
is the order of parsing the AppSearch related tables not kept when applied from
the transform and it is when read from the tables? Is there a way to explicitly
enforce the order?
-- 
Szentpáli János

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to