File path with trailing backslash - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Jimmie
Posts: 8
Joined: Fri Apr 25, 2008 3:02 pm

File path with trailing backslash

I'm evaluating the product for use with a project that requires several paths to be defined. I have the folder paths working fine but I'm having a slight problem with the a FILE path.

I added a dialog to browse to a file and the defalt value in the path edit field has a trailing backslash that muse be deleted each time. Can you tell me how I might resolve this issue?

I have attached the a zip file containing the entire project for your review.
Attachments
INSTALLS.zip
Entire Project
(126.01 KiB) Downloaded 240 times
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: File path with trailing backslash

Hi,

Please note that the trailing backslash is added automatically by the Path Edit control. In order to avoid this behavior you can use an Edit Box like explained in our Browse for file tutorial.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”