Re: MsiExec /x

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Barney (anonymous_at_discussions.microsoft.com)
Date: 01/17/05


Date: Mon, 17 Jan 2005 13:10:29 -0800

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?
>-----Original Message-----
>Barney wrote:
>
>> 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.
>
>
>--
>torgeir, Microsoft MVP Scripting and WMI, Porsgrunn
Norway
>Administration scripting examples and an ONLINE version
of
>the 1328 page Scripting Guide:
>http://www.microsoft.com/technet/scriptcenter/default.msp
x
>.
>


Quantcast