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
- :
- Built in destination panel is allowing bad paths
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
Apr 13, 2006
01:38 PM
Built in destination panel is allowing bad paths
Hello,
When using a very simple test project with the built in dialogs, the destination panel is not correctly validating the directory. If I simply enter a single letter, like "d" then it will proceed and set the install path to some weird value that includes the letter "d". I would think that it should throw an error before exiting the panel since "d" is not a valid path.
Has anyone else seen this? How do we fix this?
Thanks
When using a very simple test project with the built in dialogs, the destination panel is not correctly validating the directory. If I simply enter a single letter, like "d" then it will proceed and set the install path to some weird value that includes the letter "d". I would think that it should throw an error before exiting the panel since "d" is not a valid path.
Has anyone else seen this? How do we fix this?
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 14, 2006
01:58 PM
You may fix the problem by implementing additional directory input validation in all 3 event handler java source files for this dialog (swing, console, and silent). The existing code is pretty straight forward to modify: you do that by opening the Destination dialog from the Main frame of th User Interface (Dialogs) view in the InstallShield GUI.
If you don't mind, call the installshield support (if you have a support contract) or your sales rep (to request a one-incident support for free in order to report a bug) and tell them that fileService.validateFileName(destination) does not work properly in the Destination dialog event handlers in the following function:
private boolean validateDestination(Wizard wizard, String destination)
If you don't mind, call the installshield support (if you have a support contract) or your sales rep (to request a one-incident support for free in order to report a bug) and tell them that fileService.validateFileName(destination) does not work properly in the Destination dialog event handlers in the following function:
private boolean validateDestination(Wizard wizard, String destination)
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)