powershellpowergui

Unable to update PowerGUI Script editor to latest version


OS: Windows 7 Ultimate SP1 x64.

At some point I figured I can no longer update my IDE for Powershell - PowerGUI Script Editor (latest is v3.7.0.92 at the moment of writing). I am getting this error when inside the script editor -> check for updates, as well as in a standalone installation, in both cases the installation is rolled back.

enter image description here

In my Programs and Features I have the following relevant entries:

When I attempt to uninstall (A), I am getting this error:

enter image description here

Although the current version inside the script editor is shown as 3.6.0.21.

And when trying to uninstall (B), I get a standard Modify/Repair/Remove dialog, but when I do Remove, it ends up with the first error again (#1722 above). Doing Repair works, but does not solve the problem, i.e. still unable to Update.

Is there any way I can make it work again?

P.S. One may point out this to be part of superuser, yet I think it's an inherent part of Powershell development and so deserves a place on SO.


Solution

  • It seems the uninstall function either doesn't complete correctly or misses some important registry settings. I had the same problem, and this resolved it for me:

    1. download and run the microsoft uninstall utility
    2. in the utility do the following:
      1. select the install or upgrade software or hardware category.
      2. find and run the fix problems with programs that can't be installed or uninstalled.
      3. give answers to the prompts regarding the powergui instance that will not uninstall.
      4. exit the utility.
    3. install the powergui version of your choice.
    4. get pint from pub