Hello
I have to prepare file with answers for silent upgrade.
The problem is that sometime I need to reboot computer after upgrade finished and sometimes not. I'm deciding about it with InstallScript that check previous and new versions of drivers that we're supplying. According to that I'm finishing installation with SdFinishReboot() or SdFinish() dialogs.
There are three asnwers in file and sometimes last answer has to be:
Dlg2={FF264A6D-04A6-446F-AC8D-A2CA796626B1}-SdFinishReboot-0
and sometimes:
Dlg2={FF264A6D-04A6-446F-AC8D-A2CA796626B1}-SdFinish-0
How can I overcome this limitation ?
InstallShield Developer 8, SP2
Thanks
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Silent reboot
Started by
mishka
, May 24 2004 09:11
2 replies to this topic
Posted 24 May 2004 - 17:05
Don't show a dialog in silent or record mode:
// if reboot required
if ( (MODE=SILENTMODE) || (MODE=RECORDMODE) ) then
System(SYS_BOOTMACHINE);
else
SdFinishReboot(...);
endif;
// if reboot required
if ( (MODE=SILENTMODE) || (MODE=RECORDMODE) ) then
System(SYS_BOOTMACHINE);
else
SdFinishReboot(...);
endif;
Stefan Krüger
InstallSite.org twitter facebook
Posted 02 May 2005 - 15:28
Can you also edit the answer file so that:
Dlg2={FF264A6D-04A6-446F-AC8D-A2CA796626B1}-SdFinishReboot-0
Dlg3={FF264A6D-04A6-446F-AC8D-A2CA796626B1}-SdFinish-0
ie: to include both.
or is this a tempermental fix?
Dlg2={FF264A6D-04A6-446F-AC8D-A2CA796626B1}-SdFinishReboot-0
Dlg3={FF264A6D-04A6-446F-AC8D-A2CA796626B1}-SdFinish-0
ie: to include both.
or is this a tempermental fix?