Using RC 3 (and 2).
I have several custom pages to inform users if they
need to install additiional components (which have
their own installers) and explain why, which allow the
user to either turn on the install, or say select
"Proceed anyway".
If the user gets to the the components page, then goes
back to the first custom page, the component assoicated
with that page begins its install process. This is
ONLY the FIRST component. I worked around this issue
by creating a hidden, empty section which does nothing:
Section -"EmptySection"
;
SectionEnd
Anyway, I guess I could put the core install as the
first component to show up; but it needs to be the last
installed; so that doesn't make too much sense either.
If you have any further questions, etc... you can email
me :
robert.sanders [at] ipov.net
Logged In: YES
user_id=584402
Can you attach your script? I can't tell what exactly happens
just from the description.
Logged In: YES
user_id=306891
Ok, the attached zip includes the .nsi file, and the .ini
files for the custom pages. It does not include the
external installers that were being triggered. If you
comment out the first Section (line 45) you should be able
to replicate the behavior.
Logged In: YES
user_id=584402
I can't reproduce this. I commented out the SetOutPath, File
and ExecWait lines; added a MessageBox to each section so
I'd know when it's executed, executed the compiled installer,
clicked next until I was in the components page, went back
all the way to the first page and no section was executed.
Have I missed anything?
Older version of the .nsi file, which shows problem.
Logged In: YES
user_id=306891
Ok, your right, I sent you a more recent version of the
file, with several changes to the way I was reading the
registry. Here is an older version of the .nsi file, with
the MessageBox's, which shows the behavior. At this point
I'm not sure whether this is a real bug, or a
misunderstanding on my part as to the way to use custom
pages,etc.... Please look at this version of the file and
let me know what you think.
p.s. I have been very impressed by the quick responses, thanks.
Logged In: YES
user_id=584402
The problem is on line 266:
Push "0"
Pop $hasApache
Goto $hasMySQL # <====
You're jumping to the code offset stored in $hasMySQL which
is zero by default. Zero is the offset of the first code in the
installer, which is the first section in your case.
Logged In: YES
user_id=306891
Ooops, sorry for the trouble.