Hi all,
I want to install PowerShell 5 to our win7 pc's, and found KB3134760.msu.
I can install the .msu file with WUSA.exe, but if I create an e-Script which calls wusa.exe, the package says Successfull directly after launching, but it does not wait for wusa to terminate.
so the script says it successfull because it can launch wusa.exe.
is it possible to let e-script wait for a successfull install?
I know temporarely solved it by sleeping for 5 minutes, but that's not the correct way to do so.
Also, Can I check if PS 5 is already installed before launching the installation?
Thank you!
I want to install PowerShell 5 to our win7 pc's, and found KB3134760.msu.
I can install the .msu file with WUSA.exe, but if I create an e-Script which calls wusa.exe, the package says Successfull directly after launching, but it does not wait for wusa to terminate.
so the script says it successfull because it can launch wusa.exe.
is it possible to let e-script wait for a successfull install?
I know temporarely solved it by sleeping for 5 minutes, but that's not the correct way to do so.
Also, Can I check if PS 5 is already installed before launching the installation?
Thank you!