Bootstrapper hangs when run from SYSTEM account without /qn switch - Advanced Installer Community
sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Bootstrapper hangs when run from SYSTEM account without /qn switch

If you have a bootstrapper setup project which uses the Enhanced UI and it is run from the SYSTEM account (as in a Group Policy Software Installation) without a /qn (or /qb) switch, the UI sequence runs (albeit in some strange state where UILevel is 2) and the MSI seems to complete successfully, but the bootstrapper executable never returns (also apparent by looking at the bootstrapper log).
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Bootstrapper hangs when run from SYSTEM account without /qn switch

Hi,

I'm afraid I don't fully understand what is your scenario. Can you give us more details (maybe exemplify)? Do try to push through GPO an Advanced Installer package that has the Enhanced UI feature enabled?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Re: Bootstrapper hangs when run from SYSTEM account without /qn switch

Hi Eusebiu,

I ran into this while trying to do something sort of crazy I suppose, but I've since changed by approach, so we don't need to worry about it now.

Basically, if you create a basic project with Enhanced UI enabled and run it under the SYSTEM account, you will see one instance of the bootstrapper get launched, then a second one, which eventually exits, but the first one never does. No UI is ever displayed and there is no notification from the OS that a service is trying to display a UI. You'll see two separate MSI logs for the embedded MSI. If I put a GP wrapper MSI around that, I notice that the embedded original MSI gets called differently somehow and the UI is displayed through the "Interactive Services Detection" mechanism where you switch over to the SYSTEM desktop, and the bootstrapper does not hang in that case.

In the first scenario above, I noticed that the UI sequence would run, and I was trying to take advantage of that to do some things during a silent install that must happen before the main MSI runs (like uninstalling a legacy MSI and installing some prereqs). I've since switched my approach to a custom EXE as a pre-install prereq to do that work, so I'm not concerned about this behavior, but it does seem like something is a little wonky with it. ;)
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Bootstrapper hangs when run from SYSTEM account without /qn switch

Hi,

Thank you for the details. I'm glad you got this working.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”