WINAMP.COM | Forums > Developer Center > NSIS Discussion > Different 'InstallDir's |
Last Thread
Next Thread
|
| Author |
|
|
Jacob Metro Junior Member
Registered: Nov 2002 |
SetOutPath
I'm not sure about how to code the logic to do exactly what you want, but a method which will help you is SetOutPath's. Different INSTDIR's will be ignored by the compiler. The first one listed will be the only one to work. SetOutPath's though can be put inside seperate functions. __________________ |
||
|
|
|
kichik M.I.A. [NSIS Dev, Mod]
Registered: Oct 2001 |
He wants a second directory selection dialog, not just to output to a specific directory. __________________ |
||
|
|
|
Sunjammer Major Dude
Registered: Jun 2002 |
Can you fool NSIS, maybe use .onNextPage and .onPrevPage (yes I know the paging system has changed recently, but in versions which have .onBlah...) to reshow the choose folder dialog (I spose this relies on being able to store the previously chosen instdir into a variable, can that be done?) *or* can the new page system show the folder choice dialog twice? |
||
|
|
|
uweb Junior Member
Registered: Nov 2002 |
Hi, |
||
|
|
|
kichik M.I.A. [NSIS Dev, Mod]
Registered: Oct 2001 |
You can go back to the directory selection page, and you can show the same dialog twice. To change the text of the directory selection dialog you will have to use GetDlgItem and SendMessage. The only problem is it will save the new directory to the same $INSTDIR so you will have to save it in another variable. So, yes, it's another possible solution for this problem __________________ |
||
|
|
|
Nils2000 Junior Member
Registered: Mar 2003 |
HI |
||
|
|
|
Last Thread Next Thread
|
WINAMP.COM | Forums > Developer Center > NSIS Discussion > Different 'InstallDir's |
Forum Rules:
|