MsiExec /x

  • Thread starter Thread starter Barney
  • Start date Start date
B

Barney

I'm trying to script the removal of Adobe Reader 6.0.1.
The following works but the user is still presented with
a dialog informing that they must restart their computer.

MsiExec /x{AC76BA86-7AD7-1033-7B44-A00000000001} /qb
reboot=force

I've also tried /forcerestart (instead of reboot=force)
but I believe this applies only to the /i option.

Any ideas?
 
Barney said:
I'm trying to script the removal of Adobe Reader 6.0.1.
The following works but the user is still presented with
a dialog informing that they must restart their computer.

MsiExec /x{AC76BA86-7AD7-1033-7B44-A00000000001} /qb
reboot=force

I've also tried /forcerestart (instead of reboot=force)
but I believe this applies only to the /i option.

Any ideas?
Hi

Why not suppress the reboot, and if you need a reboot, use a
shutdown/reboot utility for this (or a VBScript WMI script to
avoid any "outside" tools).

Suppress reboot:
MsiExec /x {AC76BA86-7AD7-1033-7B44-A00000000001} /qb REBOOT=ReallySuppress

You can check the return value (errorlevel) from MsiExec.exe
to see if a reboot is needed. 3010 is indicating that a reboot
is needed.
 
Thanks Torgeir but this didn't work.

A dialog entitled "Adobe Reader 6.0.1" with the text "You
must restart your system for the configuration changes
made to Adobe Reader 6.0.1 to take effect. Click Yes to
restart now or No if you plan to restart later"

There are two command buttons labelled Yes (default) and
No.

Is this beyond the 'scope' of MsiExec?
 
Back
Top