New one. I've got a silent install all set up to call a second
installation from my main install (marketing, packaging two products
together, you know how it is...) and this second install uses DAO/Jet
access components. So, there is a possiblity that I will sometimes
get SdFinish, and sometimes get SdFinishReboot. What I *can't* see is
how to handle this via the setup.iss file. You would have something
like this:
[DlgOrder]
Count=4
Dlg0=SdWelcome-0
Dlg1=SdAskDestPath-0
Dlg2=SdSelectFolder-0
Dlg3=SdFinish-0
Dlg3.5=SdFinishReboot-0 (???????)
[SdFinish-0]
Result=1
bOpt1=0
bOpt2=0
[SdFinishReboot-0]
Result=1
(the result being, of course, that I *don't* want it to reboot! I
figure setting result==1 will do this, as the docs for FinishReboot
say that 1 is the magic number.) So, given the above, how do you
handle a decision tree using this script file? The only way I could
figure was to modify the second installation and never use either
dialog, but simply call CommitSharedFiles and hope for the very best.
I could then drop an INI file (to be picked up by the first,
controlling install) indicating the value of BATCH_INSTALL.
Any other ideas?
-te
--
Troy Engel
Palladium Interactive
Your idea of always calling SdFinish and CommitSharedFiles in the child
install sounds right; or, if you can write to the response file during
runtime, you might use INI-file functions to modify the child install's
Setup.iss so that it chooses not to reboot if SdFinishReboot "happens".
Troy Engel wrote in message <35f03380...@news.installshield.com>...
Robert M. Dickau
InstallShield Software Corp.
Works like a charm under all circustances. :) Product shipped a
coupla days early even.
-te
On Thu, 17 Sep 1998 17:02:20 -0500, "Robert M. Dickau"
<rob...@installshield.com> wrote:
>You're correct, that there isn't a built-in way to handle decision trees
>inside a response file.
>
>Your idea of always calling SdFinish and CommitSharedFiles in the child
>install sounds right; or, if you can write to the response file during
>runtime, you might use INI-file functions to modify the child install's
>Setup.iss so that it chooses not to reboot if SdFinishReboot "happens".
--
Troy Engel
Palladium Interactive
It is nice to hear that you got round the problem Troy :)
Stefan Paetow
InstallShield Software Corp.