Icon is pinned to wrong taskbar

Got a problem you cannot solve? Try here.
Post Reply
semike
Posts: 17
Joined: Wed Jan 09, 2008 3:16 am

Icon is pinned to wrong taskbar

Post by semike »

Hello,

I have the problem that in some situations the pinned icon is pinned to the wrong user. This is the environment:

PC to be installed on:
> Windows 8 Enterprise (can be reproduced also with Windows 7)
> A Restricted user (not an Administrator) runs the installer
> Installer uses UAC setting: "requireAdministrator (Always Elevate)"

The installer asks for an Administrator account and afterwards installs the pinned icon to the Taskbar of the Administrator!

I am using InstallAware 2012 Developer.

What can I do to resolve this problem?

Best regards,
Michael
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Icon is pinned to wrong taskbar

Post by FrancescoT »

Dear Michael,

I am not able to find the same.

Please post a very minimal project that replicates the issue. I will verify it.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
semike
Posts: 17
Joined: Wed Jan 09, 2008 3:16 am

Re: Icon is pinned to wrong taskbar

Post by semike »

Hello Francesco,

please download it here: https://dl.dropbox.com/u/42599812/testproject.rar

Please inform me when you have successfully downloaded it, I want to delete it afterwards.

Regards,
Michael
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Icon is pinned to wrong taskbar

Post by FrancescoT »

Dear Micheal,

Ok downloaded!

I will be back to you as soon as possible.

Regards.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Icon is pinned to wrong taskbar

Post by FrancescoT »

Dear Michel,

the behaviour you found is by design with the OS.

When a setup package is executed under a restricted user context, it must be elevated in order to run.
Once the process has been elevated, the process will run under the user context that owns the elevation and not under the restricted user context.

Due the above cosideration and if the setup package will be installed as PER USER mode (Current user only - ALLUSER = FALSE), the application will be installed under the user context that owns the elevation.

The package should be installed as PER MACHINE mode (ALLUSER = TRUE), if the package have to be installed under a restricted user context also.

Hope this solves your problem.

Regards.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply