Archive: Problem with "Page directory" and "InstallDir"


Problem with "Page directory" and "InstallDir"
I have an NSIS installer. It contains an InstallDir entry to set the default install directory to c:\westwood\renegade and a Page directory entry to let the user choose the install path.
It also contains an .onVerifyInstDir function to check if $INSTDIR\data\always.dat exists or not.

The problem I am having is that if the user selects, say, C:\westwood\apbfds as the install path using the "browse" button (and that folder contains the right file) then the "destination folder" text box will contain C:\westwood\apbfds\renegade and not C:\westwood\apbfds

Can anyone sell me what I can do to stop it adding the \renegade to the end?


Read the manual on InstallDir.

Stu


Try playing with the "\" at the end of desired path - see manual as Afrow suggested :)