IBootstrapperEngine->Elevate is blocking the actual UI display

Feb 22, 2016 at 8:49 AM
Hi All,

I am using IBootstrapperEngine->Elevate(NULL) to display the UAC dialog before the UI comes up. This I have added before creating UI thread, as I need the UAC to get displayed in the beginning.
This code is displaying the UAC, but after that welcome page comes without focus and without any controls gets displayed.

I am not sure if this is the proper way to display the UAC. Please let me know what could be the issue.

Thanks,
Coordinator
Feb 23, 2016 at 9:46 AM
The UAC shouldn't be displayed until it is actually required so burn doesn't do this until you start the actual installation - I am not sure it is a good idea to change this behaviour.
Feb 23, 2016 at 10:33 AM
Thank you for the response. Actually as you told, we are able to display UAC before actual install starts.
But as our requirement was to display in the beginning we have tried doing this.
And seems like by increasing the delay to display the UI , we are able to achieve this.
But again this is not a right way of doing it.