#26502 - 2002-08-05 03:47 PM
Reboot Question
|
franks
Lurker
Registered: 2002-08-05
Posts: 3
Loc: TR, Quebec
|
Hello there
I'm pretty new at Kix, started fiddling with it not long ago...
How do I make a script answer a reboot question at the end of an installation of, let's say, a patch for IE. The "You have to reboot your computer bla bla bla. Yes/No"
Tried a couple of things. Can't seem to get it to work
Any help would be greatly appreciated.
Thanks
|
|
Top
|
|
|
|
#26505 - 2002-08-05 05:07 PM
Re: Reboot Question
|
franks
Lurker
Registered: 2002-08-05
Posts: 3
Loc: TR, Quebec
|
Thanks for the quick reply.
Here is a little more information about my problem. The particular patch I'm trying to install with Kix is the Q321232 for IE 5/5.5/6. The executable does provide a /q option for quiet install wich ONLY removes the "Do you want to install..." and "This update has been installed" messages (As I only see the french version of these messages, I'm translating as best I can. Anyway, you get the idea). The /q option does not remove the "You must reboot..." question at the end of the install.
I've tried it with SENDKEYS(). I've also tried to SETFOCUS() on the window of the question but it is not successful (non-zero returned).
From what I understand, control (focus) does not return to my logon script window until I answer the reboot question. Therefore, that makes me wonder if a ShutDown() would work in this case.
Do I make sense at all ?
Thanks again
|
|
Top
|
|
|
|
#26507 - 2002-08-05 05:20 PM
Re: Reboot Question
|
MartinD
Fresh Scripter
Registered: 2002-05-07
Posts: 9
Loc: Germany
|
Perhaps you can use the parameter /R:N, what means: Reboot:No ... !
Common Command Line Switches These switches do not work with all update files. If a switch does not work, the functionality is necessary for that package. Switch Description /q Specifies quiet mode, or suppresses prompts, when files are being extracted. /q:u Specifies user-quiet mode, which presents some dialog boxes to the user. /q:a Specifies administrator-quiet mode, which does not present any dialog boxes to the user. /t:path Specifies the target folder for extracting files. /c Extracts the files without installing them. /c:path Specifies the path and name of the Setup .inf or .exe file. /r:n Never restarts the computer after installation. /r:i Restart if necessary - Automatically restarts the computer if it is necessary to complete installation. /r:a Always restarts the computer after installation. /r:s Restarts the computer after installation without prompting the user. /n:v No version checking - Install the program over any previous version. NOTE: The use of the /N:V switch is unsupported and may result in an unbootable system. If the installation is unsuccessful, you should consult your support professional to understand why it fails. For more information, see the Internet Explorer Administration Kit (IEAK) . [ 05 August 2002, 17:22: Message edited by: MartinD ]
|
|
Top
|
|
|
|
#26509 - 2002-08-05 05:48 PM
Re: Reboot Question
|
franks
Lurker
Registered: 2002-08-05
Posts: 3
Loc: TR, Quebec
|
So it was an optoin/parameter issue, not a Kix issue...
I must say that when typing Q321232 /?, the /R option is not documented as a possible option. All others listed by MartinD are. Didn't know there were "general" option that might or might not work with different update packages.
Since I don't think an immediate reboot is necessary for the update to be installed properly, the /R:N should do the trick. That option does suppress the "You must reboot..." question
Thanks to all for your help...
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 657 anonymous users online.
|
|
|