This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Question about file path length for Destination Dialog
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 27, 2014
08:40 AM
Question about file path length for Destination Dialog
QA was testing the limits for our new installer. I am using the Suite / Advanced UI package and have a basic MSI package included. I included a 'Destination' wizard page for the main application in the Suite UI.
If the value in the field exceeds a certain number of characters then only the first part of the path will display for the user.
QA tested the following value:
C:\Program Files (x86)\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\ccccccccccccccccccccccccccccccccc\ddddddddddddddddddddddddddddddddd\eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee\fffffffffffffffffffffffffffffffff\gggggggggggggggggggg
If the tester limits the path to the 'aa' sequence, then the path displays. Once he exceeds the 'aa' sequence then the path trims to 'C:\Program Files (x86)'.
Here is what I would have expected:
1. The path trims to the last 'aa' sequence and shows '...' characters to indicate more to the path
2. The path trims to the last space character but still shows '...', ellipsis characters.
QUESTION:
Is there a way to change the behavior of the display for the dialog
How have others handled long path situations
How have others handled inappropriate paths? Can I limit the user from installing to the recycle bin for example? It displays as part of the browse dialog. Also I want to limit users to prevent installing to a user directory, such as Documents, Desktop, etc.
If the value in the field exceeds a certain number of characters then only the first part of the path will display for the user.
QA tested the following value:
C:\Program Files (x86)\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\ccccccccccccccccccccccccccccccccc\ddddddddddddddddddddddddddddddddd\eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee\fffffffffffffffffffffffffffffffff\gggggggggggggggggggg
If the tester limits the path to the 'aa' sequence, then the path displays. Once he exceeds the 'aa' sequence then the path trims to 'C:\Program Files (x86)'.
Here is what I would have expected:
1. The path trims to the last 'aa' sequence and shows '...' characters to indicate more to the path
2. The path trims to the last space character but still shows '...', ellipsis characters.
QUESTION:
Is there a way to change the behavior of the display for the dialog
How have others handled long path situations
How have others handled inappropriate paths? Can I limit the user from installing to the recycle bin for example? It displays as part of the browse dialog. Also I want to limit users to prevent installing to a user directory, such as Documents, Desktop, etc.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 27, 2014
08:54 AM
I found one answer the SS_PATHELLIPSIS static control mask was not set by default on the destination dialog. The good thing is that it is easy to set the bit using the Advanced UI interface. 😮
I suspect that we are still limited to MAX_PATH for the length of a path.
I suspect that we are still limited to MAX_PATH for the length of a path.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)