Magic. ;)
As I recall you can only have one windows installer transaction active at a 
time, so I'd guess it monitors the service.

As far as what the OP is trying to accomplish, I'd say it depends on what is 
being used to deploy. A batch or script can easily be made to wait for the 
first process to complete with an appropriate exit code before launching the 
second process.
________________________________
From: Michael B. Smith [mich...@smithcons.com]
Sent: Thursday, April 12, 2012 9:25 PM
To: NT System Admin Issues
Subject: RE: Start an install when an Uninstall completes?

I KNOW that. :-P That doesn’t define how it knows when one msiexec is complete 
to know when to start the next one.

From: Rod Trent [mailto:rodtr...@myitforum.com]
Sent: Thursday, April 12, 2012 7:26 PM
To: NT System Admin Issues
Subject: RE: Start an install when an Uninstall completes?

It utilizes a task sequence.
"Michael B. Smith" <mich...@smithcons.com<mailto:mich...@smithcons.com>> wrote:
System Center Configuration Manager. :)


No clue how it does it. I would probably look at the registry.


From: Sam Cayze [mailto:sca...@gmail.com]<mailto:[mailto:sca...@gmail.com]>
Sent: Thursday, April 12, 2012 4:50 PM
To: NT System Admin Issues
Subject: Start an install when an Uninstall completes?


Anyone scripted this yet?


Product 1 is installed.
Product 2 needs to be installed.
Product 1 has to be uninstalled before Product 2 can be installed.


Hoping to roll the MSI /x and MSI /i commands into one script.  Does MSIEXEC 
have some controls for this? Or should I programmatically read the Event Log in 
a repeating loop until the successful uninstall event is posted.  Or maybe scan 
the HKLM\Sofware***\Uninstall registry to see if Product 1 is still in there?


Ideas of what might be the cleanest and most reliable?  I feel like I'm missing 
something very obvious :-\


TIA,

Sam

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

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

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

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

--
Sent from Kaiten Mail for Android. Please excuse my brevity.

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

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

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

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

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

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com>
with the body: unsubscribe ntsysadmin

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

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to listmana...@lyris.sunbeltsoftware.com
with the body: unsubscribe ntsysadmin

Reply via email to