batch mode - dryrun?

batch mode - dryrun?

Postby norman » 12.09.2017, 15:42

Good day!

First of all: thanks for this great tool, which I have been using since like 15 years or so.

I am playing around with using the tool in batch mode, for realizing an unattended installation. I have found the documentation of doupdate.cmd.

Unfortunately, I cannot use any autoreboot features of doupdate.cmd, because another tool is taking care of reboots, automatic logons and network sharing. So at the moment, I would have to call doupdate.cmd blindly ten times, followed by a reboot, hoping that these are enough runs to do everything. Or I would have to parse the logfile to check whether the last run was a noop run.

So I wonder if there is any feature I can call in a cmd batch script to find out if anything would be installed at all, BEFORE I start the install. This is what I call a dry-run option. That would output what it would do, via errorlevel or triggerfile or anything I can easily use/check in a cmd script.

Does this exist? If not, Can you consider this a feature request (I might even put some own effort in it if appreciated, German spoken)?

Best, Norman.
norman
 
Posts: 1
Joined: 12.09.2017, 15:14

Re: batch mode - dryrun?

Postby aker » 15.09.2017, 22:28

You could check the errorlevel, wsusou returns.

Reboot required = 3010
Reboot & recall required = 3011
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to sell it.
aker
aker
 
Posts: 2765
Joined: 02.03.2011, 15:32


Return to Installation / Updating

Who is online

Users browsing this forum: No registered users and 6 guests