Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   install direcotry select (http://forums.winamp.com/showthread.php?t=282251)

marcomop 28th November 2007 09:22

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 20:51

Append a backslash to the parameter you pass to InstallDir. Instead of:
code:
InstallDir "$PROGRAMFILES\Blah"
Use:
code:
InstallDir "$PROGRAMFILES\Blah\"
For more information, see the documentation for InstallDir.

marcomop 29th November 2007 04:52

Thanks very much.

It helps.


All times are GMT. The time now is 04:09.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.