New file serach works in test but not during runtime - Advanced Installer Community
raddad555
Posts: 23
Joined: Sat Feb 09, 2013 3:40 pm

New file serach works in test but not during runtime

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.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: New file serach works in test but not during runtime

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?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
raddad555
Posts: 23
Joined: Sat Feb 09, 2013 3:40 pm

Re: New file serach works in test but not during runtime

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.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: New file serach works in test but not during runtime

Can you send me a sample project file (.AIP) replicating this behavior to support at advancedinstaller dot com for further investigation?

Thanks,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
raddad555
Posts: 23
Joined: Sat Feb 09, 2013 3:40 pm

Re: New file serach works in test but not during runtime

Here i have cut it back to just one file search instead of four but the same result .
Attachments
MxrAI.aip
(297.55 KiB) Downloaded 452 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: New file serach works in test but not during runtime

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.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”