Archive: weird directorypage behaviour


weird directorypage behaviour
i'm pretty sure this has been asked before way back, but i can't seem to find the answer

my script installs to $PROGRAMFILES\Winamp. i have added a leave function for the directorypage to verify winamp.exe is present in the directory. since then, whenever i choose a 1:1 copy of the winamp folder ($PROGRAMFILES\XWinamp), the installer will append \Winamp to that chosen path ($PROGRAMFILES\XWinamp\Winamp).

this only happens when i'm using InstallDir in my script. any ideas what i'm doing wrong?


Just add a backslash to the end of the default path