![]() |
How to set the installation directory depending on a choice user made earlier ?
A user can select either installation locally or on a network.
When the user selects local, the install dir should be by default eg C:\Install. When the user selects network, the install dir should be by defalt eg F:\Install. When I call the Directory page however, I can't get to set the right default installation directory. The directory page uses InstallDir and I can't change the value of that InstallDir from inside a section/function. |
Quote:
It'd change once users hit the browse button and specify another directory. |
I think I got it.
There was already a topic with title : "overwrite default InstallDir" I will use the same technique. Sorry for asking the same question twice. |
If you want to show a suggested dir on directory page different than the one specified with InstallDir then you should do something like this:
code: |
Quote:
However you must use messageboxes to interact with users since there is no GUI yet. EXAMPLE: code: |
| All times are GMT. The time now is 04:35. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.