To search for a file in a specific location on a user system
-
List the file signature and name in the Signature Table. The remaining fields in this record can be null to search for any version of MyApp.exe.
Signature Table
Signature File name AppFile
MyApp.exe
-
Enter the property that the Installer is to set if MyApp.exe is installed.
AppSearch Table (partial)
Property Signature MYAPP
AppFile
-
Use the DrLocator Table. Enter the full path to the file on the user system in the Path field. Enter a value of 0 into the Depth column to search the bin folder.
DrLocator Table
Signature Parent Path Depth AppFile
C:\Program Files\MyProducts\Projects\bin
0
-
Include the AppSearch action in the action sequence. If MyApp.exe is installed in C:\Program Files\MyProducts\Projects\bin, the Installer sets the property MYAPP to the location of file.
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.