The long Exec is installing .NET 3.5, and out script is based off this one: http://www.blackhillsoftware.com/blog/2006/06/26/using-innosetup-with-the-dotnet-framework/
The problem is that it's using "ewWaitUntilTerminated" because we need to capture the exit code. It's made a little worse by the fact that we're running it /passive /norestart so that it's less work on the user's part (Maybe we shouldn't?)
The easiest option I could think of is to hide the window while it's installing .NET and showing it again after it's done, but I'm not sure how to do that.
The ideal solution would be to show a progress page, but it doesn't seem like it'd be possible since we'd need to return right away but somehow still be notified when the process exits and capture the exit code otherwise we'd just have an eternal progress bar.
Any ideas on how to go about this?
Edit: Minimizing would probably be better, but not sure how to do that either. We do display a message informing the user that the process may take 10-20 minutes, however the problem is that the main setup form is completely frozen, can't move, minimize or do anything with it. Also running /passive the .NET installer doesn't actually show any progress for a good minute or two on a slower machine.