Icon is pinned to wrong taskbar

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

Icon is pinned to wrong taskbar

Postby semike » Thu Feb 14, 2013 6:59 am

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

Postby FrancescoT » Thu Feb 14, 2013 10:08 am

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

Postby semike » Fri Feb 15, 2013 1:33 am

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

Postby FrancescoT » Fri Feb 15, 2013 10:08 am

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

Postby FrancescoT » Wed Feb 20, 2013 7:11 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: Omninimbus006 and 124 guests