marcomop
28th November 2007 10:22 UTC
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
kichik
28th November 2007 21:51 UTC
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.
marcomop
29th November 2007 05:52 UTC
Thanks very much.
It helps.