Hi,
I have created a File Search and given it a property of INI_FOUND and a location of [APPDIR]. When I try to use INI_FOUND I am not sure what the value of this will be if it does find the file.
If the search find the file it will return in its property the path of the file. To check the search you can use a New Custom Action → Script Inline and set the field Script Text to :
Code: Select all
MsgBox Session.Property(“INI_FOUND”)
This should display o message box with the value of the search.
I am running the Test feature of the Application Search. I have one search for an INI and another for an application EXE file. Also sometimes the result is a "1:" and other times it is a "C:\".
Please keep in mind that the values of the installer properties are resolved at runtime. So, if you test your search with [APPDIR] set this will work only when running the MSI file.
Regards,
Bogdan
FOLLOW US
Get the latest news in Application Packaging