Shield on icon and warning message on launch

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.
This topic is 2 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
debratton
Posts: 9
Last visit: Fri Jan 26, 2024 11:02 am

Shield on icon and warning message on launch

Post by debratton »

Hello, we have an existing project which works fine. We are trying to create another project and

Powershell Studio 2022
Version: 5.8.197.0
Powershell Version: 5.1.18362.1801

Problem on new project is we cannot figure out how to get the shield off the icon attached (Problem1.png). When we launch it asks if you want to run from an unknown publisher (Problem2.png).

Thanks,
David
Attachments
Warning message
Warning message
Problem2.PNG (12.24 KiB) Viewed 2920 times
Icon with shield
Icon with shield
Problem.PNG (17.53 KiB) Viewed 2920 times
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 19
Been upvoted: 37 times

Re: Shield on icon and warning message on launch

Post by Alexander Riedel »

The shield indicates you package the exe with requiring elevation. When the process elevates, it asks for permission to elevate. Since the executable is not signed, it does not know who the publisher is.
So, to get rid of the shield, do not require elevation.
To show the publisher correctly, make sure the packaged executable gets signed.
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 2 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.