Leave it to Microsoft to code 4 different syntaxes to prevent rebooting.....
because?

 

 RebootYesNo=No - too ambiguous

 Reboot="Suppress" - still don't believe it.

 Reboot="ReallySuppress" - OK, you must mean it.

 

And then MS suddenly realized none of those conformed to usual conventions,
resulting in:

 

 /norestart

 

The only question is, will "/norestart" be believed?   I think we also need
these:

 

 /noreallydontrestart

 /nopleasepleasepleasedontrestart

 /dontrestartdammit

 

That's my Friday contribution... hope somebody was amused!

 

Carl

 

From: Sam Cayze [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 22, 2008 2:37 PM
To: NT System Admin Issues
Subject: RE: Scripted uninstalls - MSIEXEC

 

Try these

msiexec /qn /x [Product Code] RebootYesNo="No" Reboot="Suppress" 

or


msiexec /qn /x [Product Code] RebootYesNo="No" Reboot="ReallySuppress" 

 

  _____  

From: Carl Houseman [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 22, 2008 12:42 PM
To: NT System Admin Issues
Subject: Scripted uninstalls - MSIEXEC

I'm writing a script to remove certain unwanted software, some of which
installs with MSIEXEC.  I want to uninstall silently without user
involvement.

 

So my script goes out and gets the UninstallString from the registry and
I've already found that sometimes these specify /X and other times they
specify /I, so I'm replacing /I with /X and adding /Q.  That all works fine,
but...

 

If a reboot is required, the workstation reboots immediately. 

 

I want the reboot to be postponed until I've uninstalled all things that
need to be uninstalled and I'm not seeing any command line switch for
MSIEXEC to skip the reboot after a quiet uninstall.   Anything undocumented
out there?  Or some alternative means of batch-uninstalling multiple
programs with postponed reboot?

 

Or maybe I don't even need to worry about a reboot because the script runs
as a machine startup script?  I'm still testing interactively.

 

Thanks,

Carl

 

 

 

 

 

 

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to