![]() |
#1 |
Junior Member
Join Date: Jun 2010
Location: Stockholm, Sweden
Posts: 4
|
Blocking appending on install dir on browse
I have an application that nneds to be installed in the same directory as another application.
I have set up the install directory by reading a registry setting for that program as code: I then use the standard page, but checks if it's a valid directory code: The problem is if the user uses the browse button to look for the directory the directory name gets appended with my appname when the user clicks OK and this is not what I want. How do I prevent this and install in the directory the user actually selected? |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Aug 2007
Location: Paris, France
Posts: 304
|
Add a backslash:
code: (It's explained in the documentation about InstallDir) My NSIS plug-ins: http://wiz0u.free.fr/prog/nsis.php |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Jun 2010
Location: Stockholm, Sweden
Posts: 4
|
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|