Archive: DirRequest suffix


DirRequest suffix
Hello, I am using Install Options to let the user choose different directories for each component of the application.

Is there a way to append a suffix every time the user changes directory in the DirRequest? For example: the user will choose PHP install dir, he chooses C:\ and the installer will show C:\php.

Thanks any help.


You'll have to use nsDialogs for this. You'll get notification when the browse button is pressed and you'll be able to treat this notification however you'd like. The code in nsDialogs.nsh just sets the text on the text control, but you can manipulate it before doing so.


I will try!

Thanks so much! :D