Search found 8041 matches

by Alexander Riedel
Wed Aug 10, 2022 8:12 pm
Forum: Former and Future Customers - Questions
Topic: Members of a class in embedded C# code cannot be parsed
Replies: 2
Views: 74

Re: Members of a class in embedded C# code cannot be parsed

I am not sure what the project team will have to say to this, but your construct will never work for intellisense in PowerShell Studio. Generally, you would embed C# code like described here: https://dandraka.com/2018/11/12/powershell-how-do-you-add-inline-c/ I have not tried this with PowerShell St...
by Alexander Riedel
Tue Aug 09, 2022 1:31 pm
Forum: Former and Future Customers - Questions
Topic: MSI builder: set run of ps1/cmd hidden
Replies: 11
Views: 421

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

I am not sure I follow. I looked up your license and you have a DevOps suite license. 1. You can start PrimalScript and package scripts there if you do not want it to interfere with whatever you have opened in PowerShell Studio 2. You can enable multiple instances in PowerShell Studio if you want to...
by Alexander Riedel
Tue Aug 09, 2022 8:01 am
Forum: Former and Future Customers - Questions
Topic: MSI builder: set run of ps1/cmd hidden
Replies: 11
Views: 421

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

For one, I did not say anything about ps2exe. That is not the SAPIEN Script packager. So I would not tell you to use that.
Secondly, from the screenshot, this looks to be something other than a current version.
So why don't we start with what SAPIEN Software and what version do you actually have?
by Alexander Riedel
Tue Aug 09, 2022 3:01 am
Forum: Former and Future Customers - Questions
Topic: MSI builder: set run of ps1/cmd hidden
Replies: 11
Views: 421

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

Start-process has everything you need. https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/start-process?view=powershell-7.2 A packaged exe is not subject to script execution policy. You can also launch powershell.exe with -executionpolicy bypass, which is used for a c...
by Alexander Riedel
Mon Aug 08, 2022 2:48 am
Forum: Former and Future Customers - Questions
Topic: MSI builder: set run of ps1/cmd hidden
Replies: 11
Views: 421

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

Windows installer does not have an option to run a console process hidden as far as I know. If it is a PowerShell script, you can package it as a silent exe and use that as your custom action. As far as CMD goes, there is no direct option. Maybe you can call that from your silent exe, that should gi...
by Alexander Riedel
Fri Aug 05, 2022 8:55 am
Forum: PrimalScript
Topic: Path to CSC.exe not found
Replies: 3
Views: 188

Re: Path to CSC.exe not found

Specify the path to the compiler you would like to use here:
2022-08-05_8-53-35.png
2022-08-05_8-53-35.png (58.9 KiB) Viewed 156 times
by Alexander Riedel
Thu Aug 04, 2022 9:24 am
Forum: Former and Future Customers - Questions
Topic: ERROR: Cannot initialize PowerShell engine
Replies: 5
Views: 811

Re: ERROR: Cannot initialize PowerShell engine

Why would that be discrimination? I asked you to email your license information / situation in order to get help. My wife is from Ukraine, my mother-in-law lives in Hostomel and my sister in law and nephew are refugees in Prague. So I am not sure what your point is in calling me out for 'discriminat...
by Alexander Riedel
Thu Aug 04, 2022 9:18 am
Forum: PrimalScript
Topic: missing tooltips (continued...)
Replies: 2
Views: 75

Re: missing tooltips (continued...)

Our installers ALWAYS uninstall the previous version prior to installing the new version. No changes have been made to tooltips in any fashion in a very very long time. Tooltips are a Windows functionality. Once setup and you hover with the mouse a certain time, Windows prompts the application for a...
by Alexander Riedel
Wed Aug 03, 2022 9:09 am
Forum: Former and Future Customers - Questions
Topic: ERROR: Cannot initialize PowerShell engine
Replies: 5
Views: 811

Re: ERROR: Cannot initialize PowerShell engine

Because I need your license status and I do not want you to post this information here publicly.