Detect if WIndows Install (Msiexec.exe) is installing before installing a program. RRS feed

  • Question

  • Hey All,

    I built a program that updates Adobe Reader, Java, Quicktime, and Flash. I extracted the .MSI installer for Reader, Java, and Quicktime and execute the MSI setup file for each in sequence if the program dected there out of date and wait for install to finish before installing the next. This works fine.

    My question is i would like to detect if Msiexec.exe/windows installer is installing another program before i attempt to install the updates because they will fail if windows installer is installing something else when they attempt to install. I know that Msiexec.exe is almost always running in the background even if its not installing anything does anyone know how i could detect if its installing another program defore i attempt to install my updates?



    • Moved by Liliane Teng Thursday, February 17, 2011 11:06 AM (From:Visual Basic General)
    Thursday, February 10, 2011 1:33 PM


  • Hello Justin,

    Welcome to MSDN forum.

    I have moved this thread to Off-Topic forum, please repost on Setup forum as kaymaf suggested for more better suggestions. Thanks for your understanding.

    If you have any concerns, please feel free to follow up.

    Best regards

    Liliane Teng [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, February 17, 2011 11:08 AM

All replies