Old UI when package is runas admintrator

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
hebergement
Posts: 3
Last visit: Mon Jul 19, 2021 2:56 am

Old UI when package is runas admintrator

Post by hebergement »

Product, version and build: 5.8.188
Operating system: Windows Server 2019
PowerShell version(s): 5.1


Hi,

I created a package form app that run well except for one issue. When I use alternate credentials to run my app as administrator, the UI change and use the "old" apparence. Take a look in attachments.

Any idea? Thanks.
Attachments
NormalUI.png
NormalUI.png (17.92 KiB) Viewed 450 times
WrongUI.png
WrongUI.png (26.86 KiB) Viewed 450 times

User avatar
brittneyr
Site Admin
Posts: 813
Last visit: Fri Jul 23, 2021 9:18 am
Answers: 16
Been upvoted: 13 times

Re: Old UI when package is runas admintrator

Post by brittneyr »

Does this happen for any WinForm packaged script ran under those credentials?
What script engine are you using to package?
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
Alexander Riedel
Posts: 7714
Last visit: Fri Jul 23, 2021 9:06 am
Answers: 4
Been upvoted: 10 times

Re: Old UI when package is runas admintrator

Post by Alexander Riedel »

We are able to replicate the problem. Windows Forms seems to ignore all settings about Visual Styles when executing under a different user account. Elevation is not affected, so the problems seems to be located with using a different security context. We are investigating if there is a work around.
Alexander Riedel
SAPIEN Technologies, Inc.