Hey All,
PowerShell 7.3.1 seems to have updated on its own and now I'm getting the attached error.
Is there something I need to do to get PowerShell Studio to use it and, as a result, have my app run as normal? Or, for the moment, should I uninstall PowerShell "7.3.1" and reinstall "7.3.0" (with which the app worked fine)?
Thanks,
Scott
PowerShell 7.3.1
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.
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.
Re: PowerShell 7.3.1
The latest PowerShell Studio doesn't support PowerShell 7.3.1
At this moment you should reinstall 7.3.0
At this moment you should reinstall 7.3.0
Re: PowerShell 7.3.1
Please see the following article:
https://www.sapien.com/blog/2023/01/03/ ... rt-issues/
https://www.sapien.com/blog/2023/01/03/ ... rt-issues/
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
-
- Posts: 14
- Last visit: Thu Feb 22, 2024 7:41 am
Re: PowerShell 7.3.1
Hi,
I've now updated to PowerShell Studio 2023 (v 5.8.215) as well as PowerShell 7.3.1. When I try to package my app into an exe, I get the following in the Output box:
>> Package 'C:\LOCAL PC-BASED FOLDER\NKApplicationInstaller\NKApplicationInstaller.psproj'
SAPIEN Package and Deploy Tool 4.6 (c) 2005 - 2023 SAPIEN Technologies, Inc.
File version incremented to 1.5.35.0
Product version incremented to 1.5.35.0
------ Build started: NKDesignTechnologyToolboxV2, Configuration: x64 ------
Packaging with SAPIEN PowerShell 7.3.0 Host (Windows Forms) x64
Adding C:\LOCAL PC-BASED FOLDER\NKApplicationInstaller\NKApplicationInstaller.Package.ps1
Writing scripts to \\NETWORK-BASED FOLDER\NKApplicationInstaller\x64\NKDesignTechnologyToolboxV2.1\NKDesignTechnologyToolboxV2.1.exe
Error: Writing settings to \\NETWORK-BASED FOLDER\\NKApplicationInstaller\x64\NKDesignTechnologyToolboxV2.1\NKDesignTechnologyToolboxV2.1.exe failed, error code 87
Embedding default manifest...
Package completed
>> Completed
When I try to run the exe, the progress circle starts and stops. I'm assuming it's related to the error listed in the text above, but I tried a new NETWORK-BASED folder, and it didn't work. I tried C:\temp and, while there was no error, the actual exe file disappeared once the process was complete (I'd guess that's anti-virus related, but I can't be sure).
For my Packager Settings, I have "Script Engine" set to:
- Target: Microsoft Windows 64 Bit
- Script Engine: PowerShell 7.3.x > SAPIEN PowerShell 7.3.0 Host (Windows Forms)
I installed PowerShell 7.2.7 as well as PowerShell 7.3.0 and got the same error. It is worth mentioning that if I click the "Run" button in PowerShell Studio, it runs fine.
At this point, I cannot run my app at all.
Can you assist? Let me know what files and/or information you'd need me to send to you.
Thanks,
Scott
I've now updated to PowerShell Studio 2023 (v 5.8.215) as well as PowerShell 7.3.1. When I try to package my app into an exe, I get the following in the Output box:
>> Package 'C:\LOCAL PC-BASED FOLDER\NKApplicationInstaller\NKApplicationInstaller.psproj'
SAPIEN Package and Deploy Tool 4.6 (c) 2005 - 2023 SAPIEN Technologies, Inc.
File version incremented to 1.5.35.0
Product version incremented to 1.5.35.0
------ Build started: NKDesignTechnologyToolboxV2, Configuration: x64 ------
Packaging with SAPIEN PowerShell 7.3.0 Host (Windows Forms) x64
Adding C:\LOCAL PC-BASED FOLDER\NKApplicationInstaller\NKApplicationInstaller.Package.ps1
Writing scripts to \\NETWORK-BASED FOLDER\NKApplicationInstaller\x64\NKDesignTechnologyToolboxV2.1\NKDesignTechnologyToolboxV2.1.exe
Error: Writing settings to \\NETWORK-BASED FOLDER\\NKApplicationInstaller\x64\NKDesignTechnologyToolboxV2.1\NKDesignTechnologyToolboxV2.1.exe failed, error code 87
Embedding default manifest...
Package completed
>> Completed
When I try to run the exe, the progress circle starts and stops. I'm assuming it's related to the error listed in the text above, but I tried a new NETWORK-BASED folder, and it didn't work. I tried C:\temp and, while there was no error, the actual exe file disappeared once the process was complete (I'd guess that's anti-virus related, but I can't be sure).
For my Packager Settings, I have "Script Engine" set to:
- Target: Microsoft Windows 64 Bit
- Script Engine: PowerShell 7.3.x > SAPIEN PowerShell 7.3.0 Host (Windows Forms)
I installed PowerShell 7.2.7 as well as PowerShell 7.3.0 and got the same error. It is worth mentioning that if I click the "Run" button in PowerShell Studio, it runs fine.
At this point, I cannot run my app at all.
Can you assist? Let me know what files and/or information you'd need me to send to you.
Thanks,
Scott
Re: PowerShell 7.3.1
Error code 87 mean incorrect parameter, which is not very helpful.
Most of the time, this means an API call failed because the file is not existing, blocked, in use or the user has insufficient rights.
It sounds like the issue could related to your anti-virus protection.
Most of the time, this means an API call failed because the file is not existing, blocked, in use or the user has insufficient rights.
It sounds like the issue could related to your anti-virus protection.
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.