Search found 7998 matches

by Alexander Riedel
Tue Jun 28, 2022 5:15 pm
Forum: PowerShell Studio
Topic: Using embedded credentials in PowerShell
Replies: 2
Views: 102

Re: Using embedded credentials in PowerShell

From this error: At C:\Windows\system32\43449C22.ps1:13 char:1 I can tell that you selected a script engine that uses a temporary file and not one with a SAPIEN Script Host. In all likelihood this one: 2022-06-28_17-10-34.png So the variable $SAPIENHost does not exist in this case. Only hosts with t...
by Alexander Riedel
Tue Jun 28, 2022 9:04 am
Forum: Former and Future Customers - Questions
Topic: activation in a non-persistent VDI environment
Replies: 1
Views: 379

Re: activation in a non-persistent VDI environment

If your machine is entirely non-persistent, including user data, then this won't work. But that is normally not the case. https://www.sapien.com/blog/2022/01/12/sapien-software-and-virtual-machines/ This article explains the items that need to be persisted between sessions. Without them, some or all...
by Alexander Riedel
Sat Jun 25, 2022 12:24 am
Forum: PowerShell
Topic: Install Powershell Runtime during MSI install
Replies: 7
Views: 1479

Re: Install Powershell Runtime during MSI install

Please see
https://docs.microsoft.com/en-us/window ... ds/msiexec
It lists all command line options for msiexec, including logging
by Alexander Riedel
Thu Jun 23, 2022 11:48 am
Forum: PowerShell Studio
Topic: PowerShell 7 icon grayed out
Replies: 5
Views: 763

Re: PowerShell 7 icon grayed out

I do have to point out that the 'official' Program Files folder is a protected folder by default, meaning that elevated admin privileges are required to modify anything.
I hope your D:\Program Files folder has been added to the protected folders list in order to prevent a security risk.
by Alexander Riedel
Thu Jun 23, 2022 11:42 am
Forum: PowerShell Studio
Topic: PowerShell 7 icon grayed out
Replies: 5
Views: 763

Re: PowerShell 7 icon grayed out

Historically Microsoft has been notoriously unreliable updating registry keys with correct values when updating or has been changing registry keys, locations etc. on a whim without documenting the change. So we just stopped using these values at some point. Additionally most companies setting up div...
by Alexander Riedel
Wed Jun 22, 2022 5:52 pm
Forum: PowerShell Studio
Topic: PowerShell 7 icon grayed out
Replies: 5
Views: 763

Re: PowerShell 7 icon grayed out

The trial version does not disable the use of PowerShell 7. It is expected to be in its default path under C:\Program Files\PowerShell\7
Do you have this installed in another location?
by Alexander Riedel
Wed Jun 22, 2022 2:09 am
Forum: Former and Future Customers - Questions
Topic: Cannot initialize PowerShell engine Powershell Studio 2022
Replies: 1
Views: 1851

Re: Cannot initialize PowerShell engine Powershell Studio 2022

Where are you located, geographically speaking? And what are your computer's language / culture settings?
by Alexander Riedel
Mon Jun 20, 2022 10:44 am
Forum: PowerShell Studio
Topic: How to create dual (Console, Form) packaged project
Replies: 1
Views: 697

Re: How to create dual (Console, Form) packaged project

A Windows application has no console. Well, at least not by default. There is an API to create one and attach one, but that would be complicated and cumbersome to do with PowerShell. A console application can display a form, but the you always get a console behind it somewhere. If you don't mind, th...
by Alexander Riedel
Fri Jun 17, 2022 12:45 pm
Forum: PowerShell Studio
Topic: MSI INSTALLDIR as custom action argument parameter value
Replies: 9
Views: 1138

Re: MSI INSTALLDIR as custom action argument parameter value

I am not sure why you package the script as an executable to then only include the script rather then the executable in your MSI. At first glance, the parameters look ok, except for brandingsource parameter. That would not work in a packaged file or running from PowerShell Studio. See https://www.sa...
by Alexander Riedel
Fri Jun 17, 2022 11:45 am
Forum: PowerShell Studio
Topic: MSI INSTALLDIR as custom action argument parameter value
Replies: 9
Views: 1138

Re: MSI INSTALLDIR as custom action argument parameter value

If you click on "Support" up top, you will find a link to upload support files.