Issues installing on non-development workstation

Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 1 year and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
proshot78
Posts: 14
Last visit: Wed Aug 09, 2023 3:39 pm
Answers: 1
Has voted: 3 times

Issues installing on non-development workstation

Post by proshot78 »

Hello!

I have a project that I've built out as an MSI, but I can only get it to work on my workstation. I get the following error box:
Powershell Issue.PNG
Powershell Issue.PNG (5.76 KiB) Viewed 1859 times
I've tried installing the dependency listed (.NET 6.0), and Powershell 7 is installed on the station that isn't working. The script Engine I have targeted is SAPIEN PowerShell 7.2.1 Host Dark Mode (Windows Application).

What am I doing wrong here?
by brittneyr » Sun May 29, 2022 12:30 pm
Please make sure that your targeted Script Engine PowerShell version matches the version of PowerShell installed on the machine. The packaged version and the installed version of PowerShell or the runtime must match. You are targeting a PowerShell 7.2.1 script engine then the machine you are running on needs to have PowerShell 7.2.1 or the PowerShell 7.2.1 runtime installed.

Downloads for PowerShell 7 runtimes can be found here:
https://www.sapien.com/support/powershell_7_runtimes
Go to full post
User avatar
brittneyr
Site Admin
Posts: 1649
Last visit: Mon Mar 18, 2024 1:47 pm
Answers: 38
Been upvoted: 30 times

Re: Issues installing on non-development workstation

Post by brittneyr »

Please make sure that your targeted Script Engine PowerShell version matches the version of PowerShell installed on the machine. The packaged version and the installed version of PowerShell or the runtime must match. You are targeting a PowerShell 7.2.1 script engine then the machine you are running on needs to have PowerShell 7.2.1 or the PowerShell 7.2.1 runtime installed.

Downloads for PowerShell 7 runtimes can be found here:
https://www.sapien.com/support/powershell_7_runtimes
Brittney
SAPIEN Technologies, Inc.
proshot78
Posts: 14
Last visit: Wed Aug 09, 2023 3:39 pm
Answers: 1
Has voted: 3 times

Re: Issues installing on non-development workstation

Post by proshot78 »

Thank you so much!
I had downloaded the 7.2.2 runtime, and selected the wrong one!
This topic is 1 year and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked