Install fail

Ask your Windows 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.
Locked
User avatar
jason@sbtc.com.tw
Posts: 17
Joined: Thu Apr 13, 2017 8:32 pm

Install fail

Post by jason@sbtc.com.tw » Thu Nov 09, 2017 9:22 pm

I compiled my script, and in some machine installation was successful.
But in a windows server 2012R2 installation failed.
The powershell Version is 4.0
Attachments
powershellVersion.JPG
powershellVersion.JPG (24.61 KiB) Viewed 516 times
install-fail.JPG
install-fail.JPG (23.86 KiB) Viewed 516 times

User avatar
jvierra
Posts: 12394
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Install fail

Post by jvierra » Thu Nov 09, 2017 9:28 pm

Upgrade 2012 to V5 or later or downgrade the exe to V3.

User avatar
jason@sbtc.com.tw
Posts: 17
Joined: Thu Apr 13, 2017 8:32 pm

Re: Install fail

Post by jason@sbtc.com.tw » Fri Nov 10, 2017 12:25 am

jvierra wrote:
Thu Nov 09, 2017 9:28 pm
Upgrade 2012 to V5 or later or downgrade the exe to V3.
i has try upgrade to V5, but also is fail.
Interesting in other 2012 server will not fail even is v4 or v5

OK i will try downgrade the exe to v3.

User avatar
jvierra
Posts: 12394
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Install fail

Post by jvierra » Fri Nov 10, 2017 1:02 am

I am saying to build the exe for V3 and it will work on all versions of 2012r2.

I am also saying to install WMF 5 on 2012.

Locked