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: Check PATH Length
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Oct 31, 2011
07:55 AM
Check PATH Length
How can i check the PATH environment variable length before setup begins.
In case PATH's length is larger than 1024 characters (should calculate current
PATH with the predicted additions), we need to cancel the setup and ask the
user to clean his PATH.
Thanks.
In case PATH's length is larger than 1024 characters (should calculate current
PATH with the predicted additions), we need to cancel the setup and ask the
user to clean his PATH.
Thanks.
(1) Reply
Oct 31, 2011
02:36 PM
StrLength function will do that
if StrLength(PATH variable) > 1024
//Ask user
if StrLength(PATH variable) > 1024
//Ask user