I have set up a file search using the wizard , and testing show me the property value being set correctly , but when running the installation UI or true runtime install I get the "A portion of the folder path'' is invalid. It is either empty or exceeds the length allowed by the system. Same problem with folder search.
If the file or folder path exceeds 256 characters then this is normal behavior by Windows Installer standard.
Can you give me an example of what you mean so I can replicate the behavior?
I am sure that the path is not exceeding 256 characters , I went as far as to put it in the root to be sure , as well when running the test from the search window it finds the file without issue. what is the return result if the file is not found? Would that be the result it throwing an error ( I dont think so). I had a depth set to four but cut it down to two once again to be sure that I was not exceeding character length limitations.
I am unable to build that project even using dummy resources. The purpose of this transaction is for us to replicate the behavior here.
Please send us an archive containing a sample project file containing just the search without any dependency files in it. Also, please include "zzadmin.exe" file so I can copy it in the search location. If there's a step by step test case leading to the problem please specify that as well.
I want to run the package according to your instructions and see the error.
FOLLOW US
Get the latest news in Application Packaging