My script propose to reboot but I don't want this... never ...
I think this is because of this but .... when I comment it doesn't change anything ...
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.
How to : not to propose to reboot <== NEVER
Started by
Cr0w
, Jun 06 2007 16:44
1 reply to this topic
Posted 06 June 2007 - 16:44
CODE |
if ( BATCH_INSTALL ) then SdFinishReboot ( szTitle , szMsg1 , SYS_BOOTMACHINE , szMsg2 , 0 ); else SdFinish ( szTitle , szMsg1 , szMsg2 , szOpt1 , szOpt2 , bvOpt1 , bvOpt2 ); if ( bvOpt1 = FALSE ) && ( REMOVEALLMODE ) then CopyFile (TARGETDIR + "\\sdf\\sdf.mdb", TARGETDIR + "\\sdf\\sdf.mdb.bak"); DeleteFile( TARGETDIR + "\\sdf\\sdf.mdb" ); endif; endif; |
What's my pb ???
PLEASE HELP ME ^^
Posted 07 June 2007 - 10:44
From the help:
If BATCH_INSTALL is set to TRUE, you must call SdFinishReboot so that the system will update the files when it is next rebooted.
One idea to never reboot (BUT IF BATCH_INSTALL IS TRUE YOU SHOULD REBOOT) is to set to FALSE somenting like this:
If BATCH_INSTALL is set to TRUE, you must call SdFinishReboot so that the system will update the files when it is next rebooted.
One idea to never reboot (BUT IF BATCH_INSTALL IS TRUE YOU SHOULD REBOOT) is to set to FALSE somenting like this:
CODE |
BATCH_INSTALL = FALSE; SdFinish ( szTitle , szMsg1 , szMsg2 , szOpt1 , szOpt2 , bvOpt1 , bvOpt2 ); if ( bvOpt1 = FALSE ) && ( REMOVEALLMODE ) then CopyFile (TARGETDIR + "\\sdf\\sdf.mdb", TARGETDIR + "\\sdf\\sdf.mdb.bak"); DeleteFile( TARGETDIR + "\\sdf\\sdf.mdb" ); |
But really even if it works I advise against it.