Thanks Tim... No, stupid me, I was expecting this online documentation to be
complete:

 

http://technet.microsoft.com/en-us/library/bb490936.aspx

 

I should have thought to type "msiexec /?".

 

Do you know of any complete online docs?  I'm wondering about multiple /X on
the same command line, and an errorlevel or some way to determine that a
restart is needed.  I guess I can probably look in the registry somewhere to
see if something has been established to happen on reboot.

 

Thanks!

Carl

 

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

 

While I haven't tested it on an uninstall, MsiExec V 3.01.4001.5512 has a
/norestart option. I know that it works on installs. Have you tried that?

 

.Tim

 

From: Carl Houseman [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 22, 2008 10:42 AM
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