Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SdFinishReboot and Silent setup?

162 views
Skip to first unread message

Troy Engel

unread,
Sep 4, 1998, 3:00:00 AM9/4/98
to
Hey all,

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

Robert M. Dickau

unread,
Sep 17, 1998, 3:00:00 AM9/17/98
to
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 wrote in message <35f03380...@news.installshield.com>...

Robert M. Dickau
InstallShield Software Corp.


Troy Engel

unread,
Sep 21, 1998, 3:00:00 AM9/21/98
to
Tha'ts 'zactly the direction I went -- the Finish function is now
surrounded by a if (MODE==SILENTMODE) clause, and when in silentmode I
write the value of BATCH_INSTALL to an INI file. I then pick it back
up in the main install and set the BATCH_INSTALL flag as neessary.

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

InstallShield Software Corporation

unread,
Sep 21, 1998, 3:00:00 AM9/21/98
to
On Mon, 21 Sep 1998 02:49:42 GMT, ten...@palladium.net (Troy Engel) wrote:
>Tha'ts 'zactly the direction I went -- the Finish function is now
>surrounded by a if (MODE==SILENTMODE) clause, and when in silentmode I
>write the value of BATCH_INSTALL to an INI file. I then pick it back
>up in the main install and set the BATCH_INSTALL flag as neessary.
>
>Works like a charm under all circustances. :) Product shipped a
>coupla days early even.

It is nice to hear that you got round the problem Troy :)

Stefan Paetow
InstallShield Software Corp.

0 new messages