Hendrik
Posts: 30
Joined: Thu Dec 04, 2014 4:49 pm

UAC and Taskbar Icons

Hi AI team,

I have two questions concerning the installer. If the UAC prompt occure it won't be in focus
even if I only click install without losing the focus of the insaller window.
How can I achieve that it will be always shown in the foreground?

The second remark is the application shortcut in the taskbar. This shortcut is not being removed after deinstall by default.
How can I achieve this either?

Thanks in advance.
Best regards,
Hendrik
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: UAC and Taskbar Icons

Hi Hendrik,
If the UAC prompt occure it won't be in focus even if I only click install without losing the focus of the insaller window. How can I achieve that it will be always shown in the foreground?
Unfortunately the Operating System decides if an application is launched in foreground or in background. However, you please tell us if you can replicate the behaviour on multiple machines?
The second remark is the application shortcut in the taskbar. This shortcut is not being removed after deinstall by default.
How can I achieve this either?
During an uninstall, Windows Installer removes only the data registered into the MSI file. So the related shortcut should be removed too.
In order to have a better view about this, can you please send us the .AIP (project file) and a verbose log of the uninstall process to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behaviour.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Hendrik
Posts: 30
Joined: Thu Dec 04, 2014 4:49 pm

Re: UAC and Taskbar Icons

Hi Dan,

thanks for the response.
Unfortunately the Operating System decides if an application is launched in foreground or in background. However, you please tell us if you can replicate the behaviour on multiple machines?
Ok I understand. I also realize that the uninstall process will focus the UAC correctly while the install process doing not.
During an uninstall, Windows Installer removes only the data registered into the MSI file. So the related shortcut should be removed too.
In order to have a better view about this, can you please send us the .AIP (project file) and a verbose log of the uninstall process to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behaviour.
I created a sample project where the icon is being removed correctly after uninstall. The only difference in my project is that I use an installed file in a synchronized folder. Is there any issue on that?

Best regards,
Hendrik

Return to “Building Installers”