Question

I have a WiX Managed Bootstrapper Application (using a C#/WPF custom UI) that bundles several MSIs. A user ran into a situation where the very first MSI to be installed after my MBA called the WiX base BootstrapperApplication.Engine.Apply() caused the BootstrapperApplication.Error event to fire with this information:

ErrorType: WindowsInstaller
ErrorCode: 1704 
ErrorMessage: An installation for Intel(R) Smart Connect Technology is currently suspended.  You must undo the changes made by that installation to continue.  Do you want to undo those changes?

Instead of handling this error when it occurs, I'd prefer to check if this condition (a "currently suspended" install of another MSI) exists on the machine and prevent the user from starting my installer's Apply action.

How can I detect an existing "currently suspended" install on the system, preferably using the WiX DTF libraries?


Update: Marking Christopher Painter's answer, even though I'm unable to find any documentation to support it and am unable to reproduce the scenario myself. I also found this question "WIX Detect Pending Reboot" which could also be related, but again has little useful official documentation.

Was it helpful?

Solution

You shouldn't need the DTF MSI interop. Just check for the following registry key:

HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top