cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Mark_Koehler
Level 6

OnRebooted - SdFinish hidden

In OnRebooted, I'd like to call SdFinish to let the user know everything is complete. Unfortunately, sometimes the SdFinish is hidden and unavailable to the user. Since they can't see it, they can't press the finish button and get to their desktop. I'm seeing this mostly on Win2000.

This problem has been around for while. The developers recognized it as a problem and said it would be fixed. That was years ago.

Does anyone know of a fix or workaround.

Here's some previous topics discussing the issue :

http://community.installshield.com/showthread.php?t=124251

http://community.installshield.com/showthread.php?t=93811
Labels (1)
0 Kudos
(5) Replies
RobertDickau
Flexera Alumni

Perhaps see the topic "Setup.exe and Update.exe Command-Line Parameters" for information about the /delayedstart switch?
0 Kudos
Mark_Koehler
Level 6

RobertDickau wrote:
Perhaps see the topic "Setup.exe and Update.exe Command-Line Parameters" for information about the /delayedstart switch?


I'm not sure what this has to do with my problem. Are you suggesting adding a delay will fix the problem?

Also, the help for this specifically mentions "this option is not needed when the installation starts automatically after reboot (for example, due to a call to SdFinishReboot before reboot).". My setup DOES call SdFinishReboot. My problem is calling SdFinish in OnRebooted. Perhaps you are suggesting I remove /delayedstart. Does this get added by default when BATCH_INSTALL = TRUE?
0 Kudos
RobertDickau
Flexera Alumni

Right, without having first-hand experience with it, my suggestion is to add the /delayedstart switch to Reboot.CommandLine (see the topic "Reboot Object") as a test, despite that documentation comment. (I suppose the same thing happens no matter what UI you're showing in OnRebooted?)
0 Kudos
Mark_Koehler
Level 6

So far I haven't been able to reproduce it consistently. I've had a couple testers run into the problem. I'll probably try another different UI approaches in OnRebooted soon.
0 Kudos
Mark_Koehler
Level 6

I used the code found in the following link to solve my problem:

http://community.installshield.com/showthread.php?t=124251
0 Kudos