|
|
#1 |
|
Senior Member
Join Date: Apr 2001
Location: Melbourne, Australia
Posts: 207
|
Are the sections run in the order they are placed on the Components list? So, could I have this defined last:
code: And rest assured that it will be executed last, if chosen? |
|
|
|
|
|
#2 |
|
Member
|
hi,
AFAIK the Sections are executed by the order they are written. cu yzo |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Apr 2001
Location: Melbourne, Australia
Posts: 207
|
Well, I'll write it in anyway and hope. Thanks yzo!
|
|
|
|
|
|
#4 |
|
Member
|
hi,
you could do it like this if you are not sure: Section "Run Program when Finished" StrCopy §0 '1' Exec "$INSTDIR\PROGRAM.EXE" SectionEnd function .oninstsuccess strcmp $0 '0' lbl_end lbl_close lbl_close: SetAutoClose True lbl_end: function end cu yzo |
|
|
|
|
|
#5 |
|
Member
|
hi,
ups forget what i wrote, i forgot that .onInstSucess fires when you click Close, and then you don't need it anymore ![]() cu yzo |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|