Page 1 of 1

Icon is pinned to wrong taskbar

Posted: Thu Feb 14, 2013 6:59 am
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

Re: Icon is pinned to wrong taskbar

Posted: Thu Feb 14, 2013 10:08 am
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

Re: Icon is pinned to wrong taskbar

Posted: Fri Feb 15, 2013 1:33 am
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

Re: Icon is pinned to wrong taskbar

Posted: Fri Feb 15, 2013 10:08 am
by FrancescoT
Dear Micheal,

Ok downloaded!

I will be back to you as soon as possible.

Regards.

Re: Icon is pinned to wrong taskbar

Posted: Wed Feb 20, 2013 7:11 am
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.