Product: PowerShell Studio 2021 (64 Bit)
Build: v5.8.191
OS: Windows 10 Education (64 Bit)
Build: v10.0.19043.0
After upgrading to v5.8.191 none of my files or forms will package to an exe. All worked perfectly with 190 yesterday. No changes to the files\forms only the upgrade.
All fail to package; below is an example from Tools Output:
Adding D:\PS\PSS\Files\Set-ComputerIconName\Set-ComputerIconName.ps1
Error: Writing scripts to bin\x64\Set-ComputerIconName.exe failed, error code 87, data size: 4877
>> Completed
So I uninstalled 191 and went back to 190; however, I am now getting this error with that version as well.
Not sure what the issue is; not really sure what error code 87 means.
So it looks like the PSS update installers were\are hanging in the background after completing the install but not closing out. Killing the process allowed PSS to complete the packaging of any file\form.
Problems with building any files\forms to exe after upgrade to 5.8.191
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.
- PGomersall
- Posts: 131
- Last visit: Thu Feb 15, 2024 12:14 pm
Problems with building any files\forms to exe after upgrade to 5.8.191
Last edited by PGomersall on Thu Jun 24, 2021 11:56 am, edited 2 times in total.
- Alexander Riedel
- Posts: 8478
- Last visit: Tue Mar 26, 2024 8:52 am
- Been upvoted: 37 times
Re: Problems with building any files\forms to exe after upgrade to 5.8.191
Error code 87 mean incorrect parameter, which of course is utterly unhelpful.
Most of the time it means an API call failed because the file is not existing, blocked, in use or the user has insufficient rights.
Check if that error affects all packaging or just that one.
Check if you are by any chance have an instance of the exe running.
Is the folder actually there, are there files in it and can you erase them manually?
Reboot and run a file system check. Just in case.
Did you update/add to your antivirus protection? Sometimes these errors happen because a newly created exe gets virus scanned and if that scanner takes its sweet time, then any access to that file fails as it is in use.
Most of the time it means an API call failed because the file is not existing, blocked, in use or the user has insufficient rights.
Check if that error affects all packaging or just that one.
Check if you are by any chance have an instance of the exe running.
Is the folder actually there, are there files in it and can you erase them manually?
Reboot and run a file system check. Just in case.
Did you update/add to your antivirus protection? Sometimes these errors happen because a newly created exe gets virus scanned and if that scanner takes its sweet time, then any access to that file fails as it is in use.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- PGomersall
- Posts: 131
- Last visit: Thu Feb 15, 2024 12:14 pm
Re: Problems with building any files\forms to exe after upgrade to 5.8.191
Alex, see my edits in the original post.
Regards,
Pete
Regards,
Pete