msiexec async behaviour

Hi,

I want to automate the installation of an MSI drivers package. MSIEXEC runs
async so the results are not known. Is there a way to find out when has MSIEXEC
finished installing and the status of the installation?

Calin

How are you launching MSIEXEC to install the package?

MSIEXEC absolutely can be launched and one can wait for the process exit
status and determine the outcome of the install.

Good Luck,
Dave Cattley

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Calin Iaru
Sent: Monday, September 13, 2010 9:37 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] msiexec async behaviour

Hi,

I want to automate the installation of an MSI drivers package. MSIEXEC runs

async so the results are not known. Is there a way to find out when has
MSIEXEC
finished installing and the status of the installation?

Calin


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Hi,

I use “msiexec /qb /i file.msi” or “msiexec /passive /i file.msi”. I was
launching it from cmd. There’s start /wait at least which can do the trick.

Calin

----- Original Message ----
From: David R. Cattley
To: Windows System Software Devs Interest List
Sent: Mon, September 13, 2010 3:47:48 PM
Subject: RE: [ntdev] msiexec async behaviour

How are you launching MSIEXEC to install the package?

MSIEXEC absolutely can be launched and one can wait for the process exit
status and determine the outcome of the install.

Good Luck,
Dave Cattley

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Calin Iaru
Sent: Monday, September 13, 2010 9:37 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] msiexec async behaviour

Hi,

I want to automate the installation of an MSI drivers package. MSIEXEC runs

async so the results are not known. Is there a way to find out when has
MSIEXEC
finished installing and the status of the installation?

Calin


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Yup, exactly. In that case, the exist status (ERRORLEVEL) will indicate if
it succeeded.

Good Luck,
Dave Cattley

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Calin Iaru
Sent: Monday, September 13, 2010 3:03 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] msiexec async behaviour

Hi,

I use “msiexec /qb /i file.msi” or “msiexec /passive /i file.msi”. I was
launching it from cmd. There’s start /wait at least which can do the trick.

Calin

----- Original Message ----
From: David R. Cattley
To: Windows System Software Devs Interest List
Sent: Mon, September 13, 2010 3:47:48 PM
Subject: RE: [ntdev] msiexec async behaviour

How are you launching MSIEXEC to install the package?

MSIEXEC absolutely can be launched and one can wait for the process exit
status and determine the outcome of the install.

Good Luck,
Dave Cattley

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Calin Iaru
Sent: Monday, September 13, 2010 9:37 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] msiexec async behaviour

Hi,

I want to automate the installation of an MSI drivers package. MSIEXEC runs

async so the results are not known. Is there a way to find out when has
MSIEXEC
finished installing and the status of the installation?

Calin


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer