Scripting Question

User Should not enter Path more than 200(length) ie NoLongPaths

10/28/2013 2408 views

I want to know how to throw a message when the End user enters a Long path such as C:\QWEQW\QEQWEQW\QWEQWEQW\QWEQEQ\QWEQWE for Installation directory. I want the customer not to enter more than C:\QREW\QWEQ\QWEWQ. How to throw a message popping enter short path if long path entered. 

2 Comments   [ + ] Show comments


  • This content is currently hidden from public view.
    Reason: Removed by member request For more information, visit our FAQ's.
  • Although, normally we don't encourage the users to define the path (INSTALLDIR), I am curious to know how we can achieve this for some rare circumstances... I hope that someone will post something..
  • It turned out that this is possible with Wise by editing the dialog box for "Destination folder". I then replaced the default text field with the "Edit Field" where you can set a "Max characters" and a Property set to INSTALLDIR.

    The browse tab is still available where users can select their folder but this will be limited to the max character you set and will be trimmed downed in the Field text. The downside is, they will receive an Internal error 2893.

Be the first to answer this question

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ