Günter,
If you would like to completely disable rebooting, add the following function to the end) of your script.
Set Installer Flag $SB_RESTARTFLAG$ to "0"
Please note that the installer only asks to reboot the machine if this is required (e.g. to replace a locked file). If you suppress a reboot then you have an incomplete installation.
HTH,
Friedrich