Search found 493 matches

by stevens
Fri Sep 16, 2022 5:24 am
Forum: PowerShell GUIs
Topic: Powershell execution policy blocks opening of a website (exe systray icon created via ps studio)
Replies: 6
Views: 1050

Re: Powershell execution policy blocks opening of a website (exe systray icon created via ps studio)

Thanks, but when I run msedge https://mylink, I get "msedge : The term 'msedge' is not recognized as the name of a cmdlet, function, script file"
by stevens
Fri Sep 16, 2022 4:24 am
Forum: PowerShell GUIs
Topic: Powershell execution policy blocks opening of a website (exe systray icon created via ps studio)
Replies: 6
Views: 1050

Re: Powershell execution policy blocks opening of a website (exe systray icon created via ps studio)

see my post
#start-process microsoft-edge:$URL #not working whereas it works in a normal Powershell Window.
Also note that if I set the set-executionpolicy to unrestricted on a system, the link opens without problem.
So it is a Powershell security issue.
by stevens
Fri Sep 16, 2022 2:45 am
Forum: PowerShell GUIs
Topic: Powershell execution policy blocks opening of a website (exe systray icon created via ps studio)
Replies: 6
Views: 1050

Powershell execution policy blocks opening of a website (exe systray icon created via ps studio)

Hi, Quick question: I have a systray icon created via a ps1 to exe. That works fine. Now I have a right click option which opens a website. Thought that is blocked by powershell policy. Is there a way to bypass without the need of set-executionpolicy (make an exe of that action I'd like to avoid)? -...
by stevens
Mon Aug 29, 2022 1:13 am
Forum: PowerShell GUIs
Topic: PS Studio: weird characters in gridview via exe (not via scipt)
Replies: 7
Views: 3146

Re: PS Studio: weird characters in gridview via exe (not via scipt)

Any update on this? Can't share more details then I did.
by stevens
Tue Aug 23, 2022 3:30 am
Forum: PowerShell GUIs
Topic: PS Studio: weird characters in gridview via exe (not via scipt)
Replies: 7
Views: 3146

Re: PS Studio: weird characters in gridview via exe (not via scipt)

Fully agree. That's why I created an example (att.)
example weird character
example weird character
Example01.png (96.91 KiB) Viewed 3040 times
Note that you need Windows 10 and Winget (in Windows 10 Appstore) to make this example work.

This is the output when you just run the code in a Powershell ISE:
ps-ise-workingfine
ps-ise-workingfine
Example02-OK.png (101.09 KiB) Viewed 3039 times
by stevens
Thu Aug 18, 2022 10:12 am
Forum: PowerShell GUIs
Topic: PS Studio: weird characters in gridview via exe (not via scipt)
Replies: 7
Views: 3146

Re: PS Studio: weird characters in gridview via exe (not via scipt)

Can't share the project as is now. Don't also see need or added value as it will be useless since it wont generate any extra info for you while not running the project in my environment.
by stevens
Thu Aug 18, 2022 7:22 am
Forum: PowerShell GUIs
Topic: PS Studio: weird characters in gridview via exe (not via scipt)
Replies: 7
Views: 3146

Re: PS Studio: weird characters in gridview via exe (not via scipt)

Here is the version info:
Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.166
OS: Windows Server 2016 Standard (64 Bit)
Build: v10.0.14393.0
by stevens
Thu Aug 18, 2022 5:07 am
Forum: PowerShell GUIs
Topic: PS Studio: weird characters in gridview via exe (not via scipt)
Replies: 7
Views: 3146

PS Studio: weird characters in gridview via exe (not via scipt)

Hi, I have a Powershell Studio project with a gridview box. That works fine but gives weird characters when running the project as exe. As an ps1 it works fine. Screenshot: https://1drv.ms/u/s!AuBjpW9I3NC4m_8skUSjIRpOoZJyxg?e=aaiHQd Or: What I get, as example (see the ΓÇ and ª characters) : => Micro...
by stevens
Wed Aug 17, 2022 8:15 am
Forum: Former and Future Customers - Questions
Topic: MSI builder: set run of ps1/cmd hidden
Replies: 14
Views: 4971

Re: MSI builder: set run of ps1/cmd hidden

Got it figured out, I thought.
Exe was working fine, but now it doesn't execute anymore. The exe calls for an ps1 and it seems it doesn't execute it because of Powershell restrictions.
by stevens
Thu Aug 11, 2022 4:14 am
Forum: Former and Future Customers - Questions
Topic: MSI builder: set run of ps1/cmd hidden
Replies: 14
Views: 4971

Re: MSI builder: set run of ps1/cmd hidden

Ok, that works fine indeed! Though the msi installer doesn't wait for the exe to finish. Don't know how the MSI installer can now when it finishes so it can close? Now it starts the msi installers and stops in 2 seconds, meanwhile the exe runs in the background for 30 more seconds, but meanwhile the...