Welcome to Powergui.org - an open source community for Windows Powershell

PowerGUI.org PowerGUI.org and blogs

Forums » PowerGUI User Discussions

Thread: Post installation PowerGUI issue

This question is answered. Helpful answers available: 1. Answered answers available: 1.


Permlink Replies: 4 - Pages: 1 - Last Post: Nov 11, 2009 10:09 AM by: Graham Bloice
Graham Bloice

Posts: 3
Registered: 11/11/09
Post installation PowerGUI issue
Posted: Nov 11, 2009 3:16 AM
 
  Click to reply to this thread Reply

Long time power shell user, new to PowerGUI.

Platform Vista Business AMD64, SP2, PowerGUI 1.9.5.966

Install seems OK but on starting up or stopping PowerGUI, while the loader splash screen is on show, I get a number of cycles (> 10) of the following over the next 30 seconds:

1.  Brief flashes of a command prompt window followed by
2.  A "refresh" of all the icons on the desktop
3.  A "refresh" of Explorer windows "Favorite Links" pane.
4.  High CPU load for the duration of the cycles.

These cycles happen on startup and shutdown of PowerGUI.

I've looked at the processes running when this occurs and an msiexec process comes and goes along with ngen.exe.

Any thoughts on how to cure this?

Graham



Oleg Shevnin

Posts: 361
Registered: 7/15/08
Re: Post installation PowerGUI issue
Posted: Nov 11, 2009 4:11 AM   in response to: Graham Bloice
 
  Click to reply to this thread Reply

It looks like msiexec (windows installer) thinks that PowerGUI installation is incorrect/incomplete and tries to fix the installed product - performs product repair.
Do you have any specific software installed/viruses/something else that could probably delete PowerGUI binary files periodically?


Oleg Shevnin

Posts: 361
Registered: 7/15/08
Re: Post installation PowerGUI issue
Posted: Nov 11, 2009 5:16 AM   in response to: Graham Bloice
Helpful
  Click to reply to this thread Reply

You may also turn on Windows Installer logging to determine the exact reason of this behavior.


1. Open the following registry key in regedit:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer

2. Create a string value with the name Logging and set its value to iwearucmopv!
3. Reproduce your problem.
4. Find msi*.log   files with corresponding modification time in user's %temp% folder.
5. Revert the registry changes back.




Graham Bloice

Posts: 3
Registered: 11/11/09
Re: Post installation PowerGUI issue
Posted: Nov 11, 2009 7:25 AM   in response to: Oleg Shevnin
 
  Click to reply to this thread Reply

AFAICT my machine is clean of viruses etc.  I've run other msi installers since installing PowerGUI without an issue.

I enabled installer logging, although I used the registry value "voicewarmupx".  I now have 15 500K logging files to look at (1 per "refresh" cycle I presume).

The files contents seem to be indentical apart from the timestamps.  At the bottom there is an error message:

Product: Windows PowerShell(TM) V2 (CTP3) -- Configuration failed.

I guess the CTP3 version of Powershell hasn't been removed cleanly.  I'll try to find out how to fix this.

Graham





Graham Bloice

Posts: 3
Registered: 11/11/09
Re: Post installation PowerGUI issue
Posted: Nov 11, 2009 10:09 AM   in response to: Graham Bloice
 
  Click to reply to this thread Reply

I had to download the msi for Powershell CTP3 and run msiexec /x the.msi to remove CTP3 and everything seems to be OK now.

Thanks

Graham



Legend
MVP: 2501 + pts
Guru: 2001 - 2500 pts
Expert: 751 - 2000 pts
Enthusiast: 31 - 750 pts
Novice: 0 - 30 pts
Moderators
Helpful answer (5 pts)
Answered (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums