|
|
|
|
#1 |
|
Junior Member
Join Date: Nov 2011
Posts: 11
|
Can't understand how stack works
I've written following function:
code: As far as I know $OUTDIR should not change after this function is called, but it equals to 0 instead. I tried to add debug message boxes. Looks like everything goes fine until Pop is called which just sets $OUTDIR value to zero. Why is that? |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Nov 2011
Posts: 11
|
And also I've discovered that changing $OUTDIR on a page before instfiles does not help. Looks like it do not change current directory before instfiles.
|
|
|
|
|
|
#3 | |
|
Major Dude
Join Date: Mar 2003
Posts: 571
|
From the documentation for the nsExec plugin:
Quote:
There is a wiki page that has some information about how the stack works: http://nsis.sourceforge.net/Pop,_Pus...h..._The_Stack |
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Nov 2011
Posts: 11
|
Thank you
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|