cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Barvaz
Level 6

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.
Labels (1)
0 Kudos
1 Reply
hari14singh
Level 5

StrLength function will do that
if StrLength(PATH variable) > 1024
//Ask user
0 Kudos