Archive: install direcotry select


install direcotry select
Good afternoon.

When the user uses teh default program target directory for my installer, the installer works fine.

However, when the users select their own directory the installer appends my apps folder behind the installpath.

Is there a way to prevent this from happening.

thanks

marius


Append a backslash to the parameter you pass to InstallDir. Instead of:

InstallDir "$PROGRAMFILES\Blah"
Use:
InstallDir "$PROGRAMFILES\Blah\"
For more information, see the documentation for InstallDir.

Thanks very much.

It helps.