richard
Posts: 9
Joined: Thu Sep 10, 2009 9:08 pm

Vista UAC dialog in background during install

Hello. I'm using the installer to install an application on Vista. When it gets to ProgressDlg (Installing...) dialog the User Account Control dialog comes up prompting user to Allow the program to run. Unfortunately, it does not open in the foreground so the user might not notice it unless they look at the taskbar. Is there a way to force it to the foreground? thanks!
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Vista UAC dialog in background during install

Hi Richard,

This happens because after you've pressed [Install] button you've moved the focus out from the Windows Installer dialogs. If you just click [Install] and leave the focus on the dialog the UAC dialog should appear normally.

I'm afraid this behavior is implemented in Windows Vista and cannot be changed.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
richard
Posts: 9
Joined: Thu Sep 10, 2009 9:08 pm

Re: Vista UAC dialog in background during install

Thanks, Bogdan. I found another post that rectified the problem: http://www.advancedinstaller.com/forums ... uac#p24443.

Specifically,
This happens only for "Per Machine" or "Per User (with administrator rights required)" installations.

If you want to elevate the installation from the start, you can try using the EXE bootstrapper. In the Bootstrapper tab of the "Media" page you can set the "Execution Level" combo to Require Administrator.

Regards,
Cosmin

Return to “Common Problems”