shireburn
Posts: 5
Joined: Mon Aug 12, 2013 9:16 am

Check if a folder path is valid

Hello we are evaluating your product before we buy the architect version but we are finding a problem on creating a working published event.

Our setup requires the user to specify the directory where the database is located. However, we created the property, linked it to a "text edit" and created a published event on the next button, which is "Check if a folder path is Valid", with the Property name as the argument.

The problem is that this function is always returning true, and getting the user to the next page, although the path is non existing.

Can you help please?

Thanks
Shireburn
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Check if a folder path is valid

Hello Shireburn and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve what you want, I would recommended you to follow one of our Browse for File How-to's article and Browse for Folder How-to's article.
There is described a more elegant way of achieving what you need.

If you have any questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”