Hello,
I have an issue with search defaulting to first folder matching [APPDIR] when I am actually trying to get something from the actual installation folder.
I have a file search that targets a config file with [APPDIR] as the path and depth set to 2. This is set in Directory properties window that opens when the child element of the file search is selected.
Now in environments where multiple folders that start with [APPDIR] are found, the search defaults to first.
Example:
[APPDIR] = [WindowsVolume][ProductName] is set in our installer.
Folders that exist in environment where we're installing:
c:\product <- this is a left over from uninstalled version of the product and contains config file with the same name as the actual installation
c:\product2 <- this is the currently installed product.
Now in a situation where I'm upgrading installation that is located in c:\product2 the search will find the xml file from under c:\product. This is very bad.
How can I get the correct config file from the search?
It is weird that in install dialogs the [APPDIR] is shown as c:\product2 but when searching we get matches from c:\product!
FOLLOW US
Get the latest news in Application Packaging