Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - uninstall v1.0 and Install v2.0 CTP3

Reply
 
Old 06-08-2009   #1 (permalink)
Trust Worthy


 
 

uninstall v1.0 and Install v2.0 CTP3

I just can't seems to accomplish that. Since I installed v1.0 before it
became available from "Windows Update", v1 was not showing up under
Add/Remove programs "Show Update" section. (This is Windows XP SP3).
Anyhow, I had to remove the PowerShell Registry entry, remove the
C:\windows\Powershell dir, various registry entries that refer to older
installation) ...

Even after I ensure there are no reference of PowerShell, v2 will not run
and generate error like this:


Error loading the extended type data file:
Windows PowerShell Copyright (C) 2006 Microsoft Corporation. All rights
reserved. Error loading the extended type data file:
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(141) : Error in type
"Deserialized.S stem.Net.IPAddress": "TargetTypeForDeserialization" is not a
standard member and will be ignored Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(293) : Error in type
"System.Directo yServices.DirectoryEntry": Exception: Cannot convert
"Microsoft.PowerShell.AdapterCodeMethods" to "System.Type".
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(300) : Error in type
"System.Directo yServices.DirectoryEntry": Exception: Cannot convert
"Microsoft.PowerShell.AdapterCodeMethods" to "System.Type".
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(311) : Error in type
"System.IO.Dire toryInfo": Exception: Getter method should be public, non
void, static, and have one parameter of type PSObject.
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(338) : Error in type
"System.IO.File nfo": Exception: Getter method should be public, non void,
static, and have one parameter of type PSObject. Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3064) : Error in type
"Microsoft.Pow rShell.DeserializingTypeConverter": Exception: Cannot convert
"Microsoft.PowerShell.DeserializingTypeConverter" to "Sys em.Type".

Any idea? Right now I'm having to run Windows 7 RC to test v2 .. but I
would like to use it in my XP workstion. Thanks.

My System SpecsSystem Spec
Old 06-08-2009   #2 (permalink)
Bob Landau


 
 

RE: uninstall v1.0 and Install v2.0 CTP3

Unfortunately you did not come here sooner. To uninstall under Add Remove
programs its listed as an update to Windows KB926139

Here is a link to this (don't ask me why it wasn't just called PowerShell)
in Add-Remove that would have made too much sense. This also talks about
uninstalling v1 after updating a service pack. I would pay very close
attention to this. The steps look easy but it does require uninstalling SP3
first if I read this correctly. Hopefully when this is done it will revert
back to the previous restore point.

http://support.microsoft.com/default.aspx/kb/926139

Here is another which may have been applicable to you before

http://www.microsoft.com/communities...=en-us&m=1&p=1




"Trust Worthy" wrote:
Quote:

> I just can't seems to accomplish that. Since I installed v1.0 before it
> became available from "Windows Update", v1 was not showing up under
> Add/Remove programs "Show Update" section. (This is Windows XP SP3).
> Anyhow, I had to remove the PowerShell Registry entry, remove the
> C:\windows\Powershell dir, various registry entries that refer to older
> installation) ...
>
> Even after I ensure there are no reference of PowerShell, v2 will not run
> and generate error like this:
>
>
> Error loading the extended type data file:
> Windows PowerShell Copyright (C) 2006 Microsoft Corporation. All rights
> reserved. Error loading the extended type data file:
> Microsoft.PowerShell.Core,
> C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(141) : Error in type
> "Deserialized.S stem.Net.IPAddress": "TargetTypeForDeserialization" is not a
> standard member and will be ignored Microsoft.PowerShell.Core,
> C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(293) : Error in type
> "System.Directo yServices.DirectoryEntry": Exception: Cannot convert
> "Microsoft.PowerShell.AdapterCodeMethods" to "System.Type".
> Microsoft.PowerShell.Core,
> C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(300) : Error in type
> "System.Directo yServices.DirectoryEntry": Exception: Cannot convert
> "Microsoft.PowerShell.AdapterCodeMethods" to "System.Type".
> Microsoft.PowerShell.Core,
> C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(311) : Error in type
> "System.IO.Dire toryInfo": Exception: Getter method should be public, non
> void, static, and have one parameter of type PSObject.
> Microsoft.PowerShell.Core,
> C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(338) : Error in type
> "System.IO.File nfo": Exception: Getter method should be public, non void,
> static, and have one parameter of type PSObject. Microsoft.PowerShell.Core,
> C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3064) : Error in type
> "Microsoft.Pow rShell.DeserializingTypeConverter": Exception: Cannot convert
> "Microsoft.PowerShell.DeserializingTypeConverter" to "Sys em.Type".
>
> Any idea? Right now I'm having to run Windows 7 RC to test v2 .. but I
> would like to use it in my XP workstion. Thanks.
My System SpecsSystem Spec
Old 06-09-2009   #3 (permalink)
Trust Worthy


 
 

RE: uninstall v1.0 and Install v2.0 CTP3

Thank you Bob for taking the time for responding.

In fact, I did find out that PowerShell was only listed as the KB number and
looked for it, but couldn't find it. It wasn't simply there period.
However, I did see it after installation via Windows Update site. That time
it did load as v1.0 under "Show Update" section in Add/Remove Program.

I think the problem I have right now is with v2.0 CTP3's inability to
replace certain previous files (Strangely, when I completely wipe out v1.0 by
hand from my box, filesystem, registry and all and install Powershell 2.0, it
loads v10 powershell.exe or it loads v2.0, but $HOST pulls v10 info)

Name : ConsoleHost
Version : 1.0.0.0
InstanceId : b78e2caa-6212-4ced-a915-96a97c593bf5
UI :
System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : en-US
CurrentUICulture : en-US
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy


Now note, I am also removing the PATH statement for Powershell, wiping out
powershell from Registry, removing powershell in the File System, removing
all the files from here
C:\WINDOWS\SoftwareDistribution\Download\69e0a58c0a899ce6000bb59117c932e2\SP2GDR

(rebooting several times) and just when I think I am clean to start the
installation, it goes back to the same state...

As soon as I switch back to v10 (install manually or via Windows Update) , I
am back to normal

Anyway, I am using v2 from my Windows 7 RC installation, but I was hopping
to run it from my XP workstation. I'll continue to fight it :-)

Thanks again!

"Bob Landau" wrote:
Quote:

> Unfortunately you did not come here sooner. To uninstall under Add Remove
> programs its listed as an update to Windows KB926139
>
> Here is a link to this (don't ask me why it wasn't just called PowerShell)
> in Add-Remove that would have made too much sense. This also talks about
> uninstalling v1 after updating a service pack. I would pay very close
> attention to this. The steps look easy but it does require uninstalling SP3
> first if I read this correctly. Hopefully when this is done it will revert
> back to the previous restore point.
>
> http://support.microsoft.com/default.aspx/kb/926139
>
> Here is another which may have been applicable to you before
>
> http://www.microsoft.com/communities...=en-us&m=1&p=1
>
>
>
>
> "Trust Worthy" wrote:
>
Quote:

> > I just can't seems to accomplish that. Since I installed v1.0 before it
> > became available from "Windows Update", v1 was not showing up under
> > Add/Remove programs "Show Update" section. (This is Windows XP SP3).
> > Anyhow, I had to remove the PowerShell Registry entry, remove the
> > C:\windows\Powershell dir, various registry entries that refer to older
> > installation) ...
> >
> > Even after I ensure there are no reference of PowerShell, v2 will not run
> > and generate error like this:
> >
> >
> > Error loading the extended type data file:
> > Windows PowerShell Copyright (C) 2006 Microsoft Corporation. All rights
> > reserved. Error loading the extended type data file:
> > Microsoft.PowerShell.Core,
> > C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(141) : Error in type
> > "Deserialized.S stem.Net.IPAddress": "TargetTypeForDeserialization" is not a
> > standard member and will be ignored Microsoft.PowerShell.Core,
> > C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(293) : Error in type
> > "System.Directo yServices.DirectoryEntry": Exception: Cannot convert
> > "Microsoft.PowerShell.AdapterCodeMethods" to "System.Type".
> > Microsoft.PowerShell.Core,
> > C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(300) : Error in type
> > "System.Directo yServices.DirectoryEntry": Exception: Cannot convert
> > "Microsoft.PowerShell.AdapterCodeMethods" to "System.Type".
> > Microsoft.PowerShell.Core,
> > C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(311) : Error in type
> > "System.IO.Dire toryInfo": Exception: Getter method should be public, non
> > void, static, and have one parameter of type PSObject.
> > Microsoft.PowerShell.Core,
> > C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(338) : Error in type
> > "System.IO.File nfo": Exception: Getter method should be public, non void,
> > static, and have one parameter of type PSObject. Microsoft.PowerShell.Core,
> > C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3064) : Error in type
> > "Microsoft.Pow rShell.DeserializingTypeConverter": Exception: Cannot convert
> > "Microsoft.PowerShell.DeserializingTypeConverter" to "Sys em.Type".
> >
> > Any idea? Right now I'm having to run Windows 7 RC to test v2 .. but I
> > would like to use it in my XP workstion. Thanks.
My System SpecsSystem Spec
Old 06-17-2009   #4 (permalink)
Trust Worthy


 
 

RE: uninstall v1.0 and Install v2.0 CTP3

Ah I give up! Today I reinstalled .Net 3.5.1, removed every sign of
powershell I could see in File system and in Registry, rebooted and loaded
all the .Net etc from Windows Update site. Loaded V2 CTP3 and got (Note
that C:\windows\system32\windowspowershell has v1.0 directory???? shouldn't
it be v2 dir?


Anyway, any more suggestions?

Windows PowerShell
Copyright (C) 2006 Microsoft Corporation. All rights reserved.

Error loading the extended type data file:
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(141) : Error in type
"Deserialized.Sy
stem.Net.IPAddress": "TargetTypeForDeserialization" is not a standard member
and will be ignored
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(293) : Error in type
"System.Director
yServices.DirectoryEntry": Exception: Cannot convert
"Microsoft.PowerShell.AdapterCodeMethods" to "System.Type".
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(300) : Error in type
"System.Director
yServices.DirectoryEntry": Exception: Cannot convert
"Microsoft.PowerShell.AdapterCodeMethods" to "System.Type".
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(311) : Error in type
"System.IO.Direc
toryInfo": Exception: Getter method should be public, non void, static, and
have one parameter of type PSObject.
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(338) : Error in type
"System.IO.FileI
nfo": Exception: Getter method should be public, non void, static, and have
one parameter of type PSObject.
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3064) : Error in type
"Microsoft.Powe
rShell.DeserializingTypeConverter": Exception: Cannot convert
"Microsoft.PowerShell.DeserializingTypeConverter" to "Syst
em.Type".
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3087) : Error in type
"Deserialized.S
ystem.Net.Mail.MailAddress": "TargetTypeForDeserialization" is not a
standard member and will be ignored
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3131) : Error in type
"Deserialized.S
ystem.Globalization.CultureInfo": "TargetTypeForDeserialization" is not a
standard member and will be ignored
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3159) : Error in type
"Deserialized.S
ystem.Management.Automation.PSCredential": "TargetTypeForDeserialization" is
not a standard member and will be ignored
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3187) : Error in type
"Deserialized.S
ystem.Management.Automation.SwitchParameter": "TargetTypeForDeserialization"
is not a standard member and will be ignore
d
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3215) : Error in type
"Deserialized.S
ystem.Management.Automation.PSListModifier": "TargetTypeForDeserialization"
is not a standard member and will be ignored

Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3253) : Error in type
"Deserialized.S
ystem.Security.Cryptography.X509Certificates.X509Certificate2":
"TargetTypeForDeserialization" is not a standard member
and will be ignored
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3291) : Error in type
"Deserialized.S
ystem.Security.Cryptography.X509Certificates.X500DistinguishedName":
"TargetTypeForDeserialization" is not a standard me
mber and will be ignored
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3319) : Error in type
"Deserialized.S
ystem.Security.AccessControl.RegistrySecurity":
"TargetTypeForDeserialization" is not a standard member and will be igno
red
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3347) : Error in type
"Deserialized.S
ystem.Security.AccessControl.FileSystemSecurity":
"TargetTypeForDeserialization" is not a standard member and will be ig
nored
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3375) : Error in type
"System.Managem
ent.Automation.ParameterSetMetadata": Exception: Cannot convert
"Microsoft.PowerShell.DeserializingTypeConverter" to "Sy
stem.Type".
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3408) : Error in type
"Deserialized.S
ystem.Management.Automation.ParameterSetMetadata":
"TargetTypeForDeserialization" is not a standard member and will be i
gnored
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3422) : Error in type
"Deserialized.S
ystem.Management.Automation.ExtendedTypeDefinition":
"TargetTypeForDeserialization" is not a standard member and will be
ignored
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3450) : Error in type
"Deserialized.S
ystem.Management.Automation.FormatViewDefinition":
"TargetTypeForDeserialization" is not a standard member and will be i
gnored
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3464) : Error in type
"System.Managem
ent.Automation.FormatViewDefinition": Exception: Cannot convert
"Microsoft.PowerShell.DeserializingTypeConverter" to "Sy
stem.Type".
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3485) : Error in type
"Deserialized.S
ystem.Management.Automation.PSControl": "TargetTypeForDeserialization" is
not a standard member and will be ignored
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3513) : Error in type
"Deserialized.S
ystem.Management.Automation.DisplayEntry": "TargetTypeForDeserialization" is
not a standard member and will be ignored
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3541) : Error in type
"Deserialized.S
ystem.Management.Automation.TableControlColumnHeader":
"TargetTypeForDeserialization" is not a standard member and will
be ignored
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3569) : Error in type
"Deserialized.S
ystem.Management.Automation.TableControlRow": "TargetTypeForDeserialization"
is not a standard member and will be ignore
d
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3597) : Error in type
"Deserialized.S
ystem.Management.Automation.TableControlColumn":
"TargetTypeForDeserialization" is not a standard member and will be ign
ored
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3625) : Error in type
"Deserialized.S
ystem.Management.Automation.ListControlEntry":
"TargetTypeForDeserialization" is not a standard member and will be ignor
ed
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3653) : Error in type
"Deserialized.S
ystem.Management.Automation.ListControlEntryItem":
"TargetTypeForDeserialization" is not a standard member and will be i
gnored
Microsoft.PowerShell.Core,
C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3681) : Error in type
"Deserialized.S
ystem.Management.Automation.WideControlEntryItem":
"TargetTypeForDeserialization" is not a standard member and will be i
gnored

There were errors in loading the format data file:
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[4]/CustomItem/Text[1] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: String
ExampleHelpInfo from resource HelpDisplayStrings in assembly
C:\System.Management.Automation is not found.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[4]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Text failed to
load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[4] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Missing Node
CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Frame failed
to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1] in file C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml:
Missing Node CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries in file C:\
WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: CustomEntry
failed to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3] in file C:\WINDOWS\system32\WindowsPowe
rShell\v1.0\Help.format.ps1xml: Missing Node from TableControl, ListControl,
WideControl, CustomControl.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[5]/CustomItem/Text[1] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: String
ExampleHelpInfo from resource HelpDisplayStrings in assembly
C:\System.Management.Automation is not found.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[5]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Text failed to
load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[5] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Missing Node
CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Frame failed
to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1] in file C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml:
Missing Node CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries in file C:\
WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: CustomEntry
failed to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4] in file C:\WINDOWS\system32\WindowsPowe
rShell\v1.0\Help.format.ps1xml: Missing Node from TableControl, ListControl,
WideControl, CustomControl.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[4]/CustomItem/Text[1] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: String
ExampleHelpInfo from resource HelpDisplayStrings in assembly
C:\System.Management.Automation is not found.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[4]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Text failed to
load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[4] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Missing Node
CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Frame failed
to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1] in file C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml:
Missing Node CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries in file C:\
WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: CustomEntry
failed to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3] in file C:\WINDOWS\system32\WindowsPowe
rShell\v1.0\Help.format.ps1xml: Missing Node from TableControl, ListControl,
WideControl, CustomControl.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[5]/CustomItem/Text[1] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: String
ExampleHelpInfo from resource HelpDisplayStrings in assembly
C:\System.Management.Automation is not found.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[5]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Text failed to
load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[5] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Missing Node
CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Frame failed
to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1] in file C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml:
Missing Node CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries in file C:\
WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: CustomEntry
failed to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4] in file C:\WINDOWS\system32\WindowsPowe
rShell\v1.0\Help.format.ps1xml: Missing Node from TableControl, ListControl,
WideControl, CustomControl.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[4]/CustomItem/Text[1] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: String
ExampleHelpInfo from resource HelpDisplayStrings in assembly
C:\System.Management.Automation is not found.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[4]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Text failed to
load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[4] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Missing Node
CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Frame failed
to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1] in file C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml:
Missing Node CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries in file C:\
WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: CustomEntry
failed to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3] in file C:\WINDOWS\system32\WindowsPowe
rShell\v1.0\Help.format.ps1xml: Missing Node from TableControl, ListControl,
WideControl, CustomControl.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[5]/CustomItem/Text[1] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: String
ExampleHelpInfo from resource HelpDisplayStrings in assembly
C:\System.Management.Automation is not found.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[5]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Text failed to
load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[5] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Missing Node
CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Frame failed
to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1] in file C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml:
Missing Node CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries in file C:\
WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: CustomEntry
failed to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4] in file C:\WINDOWS\system32\WindowsPowe
rShell\v1.0\Help.format.ps1xml: Missing Node from TableControl, ListControl,
WideControl, CustomControl.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[4]/CustomItem/Text[1] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: String
ExampleHelpInfo from resource HelpDisplayStrings in assembly
C:\System.Management.Automation is not found.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[4]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Text failed to
load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[4] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Missing Node
CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Frame failed
to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries/CustomEntry
[1] in file C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml:
Missing Node CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3]/CustomControl/CustomEntries in file C:\
WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: CustomEntry
failed to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[3] in file C:\WINDOWS\system32\WindowsPowe
rShell\v1.0\Help.format.ps1xml: Missing Node from TableControl, ListControl,
WideControl, CustomControl.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[5]/CustomItem/Text[1] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: String
ExampleHelpInfo from resource HelpDisplayStrings in assembly
C:\System.Management.Automation is not found.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[5]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Text failed to
load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem/Frame[5] in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Missing Node
CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1]/CustomItem in file
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: Frame failed
to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries/CustomEntry
[1] in file C:\WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml:
Missing Node CustomItem.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4]/CustomControl/CustomEntries in file C:\
WINDOWS\system32\WindowsPowerShell\v1.0\Help.format.ps1xml: CustomEntry
failed to load.
Microsoft.PowerShell.Core, Error at XPath
/Configuration/ViewDefinitions/View[4] in file C:\WINDOWS\system32\WindowsPowe
rShell\v1.0\Help.format.ps1xml: Missing Node from TableControl, ListControl,
WideControl, CustomControl.

"Trust Worthy" wrote:
Quote:

> Thank you Bob for taking the time for responding.
>
> In fact, I did find out that PowerShell was only listed as the KB number and
> looked for it, but couldn't find it. It wasn't simply there period.
> However, I did see it after installation via Windows Update site. That time
> it did load as v1.0 under "Show Update" section in Add/Remove Program.
>
> I think the problem I have right now is with v2.0 CTP3's inability to
> replace certain previous files (Strangely, when I completely wipe out v1.0 by
> hand from my box, filesystem, registry and all and install Powershell 2.0, it
> loads v10 powershell.exe or it loads v2.0, but $HOST pulls v10 info)
>
> Name : ConsoleHost
> Version : 1.0.0.0
> InstanceId : b78e2caa-6212-4ced-a915-96a97c593bf5
> UI :
> System.Management.Automation.Internal.Host.InternalHostUserInterface
> CurrentCulture : en-US
> CurrentUICulture : en-US
> PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
>
>
> Now note, I am also removing the PATH statement for Powershell, wiping out
> powershell from Registry, removing powershell in the File System, removing
> all the files from here
> C:\WINDOWS\SoftwareDistribution\Download\69e0a58c0a899ce6000bb59117c932e2\SP2GDR
>
> (rebooting several times) and just when I think I am clean to start the
> installation, it goes back to the same state...
>
> As soon as I switch back to v10 (install manually or via Windows Update) , I
> am back to normal
>
> Anyway, I am using v2 from my Windows 7 RC installation, but I was hopping
> to run it from my XP workstation. I'll continue to fight it :-)
>
> Thanks again!
>
> "Bob Landau" wrote:
>
Quote:

> > Unfortunately you did not come here sooner. To uninstall under Add Remove
> > programs its listed as an update to Windows KB926139
> >
> > Here is a link to this (don't ask me why it wasn't just called PowerShell)
> > in Add-Remove that would have made too much sense. This also talks about
> > uninstalling v1 after updating a service pack. I would pay very close
> > attention to this. The steps look easy but it does require uninstalling SP3
> > first if I read this correctly. Hopefully when this is done it will revert
> > back to the previous restore point.
> >
> > http://support.microsoft.com/default.aspx/kb/926139
> >
> > Here is another which may have been applicable to you before
> >
> > http://www.microsoft.com/communities...=en-us&m=1&p=1
> >
> >
> >
> >
> > "Trust Worthy" wrote:
> >
Quote:

> > > I just can't seems to accomplish that. Since I installed v1.0 before it
> > > became available from "Windows Update", v1 was not showing up under
> > > Add/Remove programs "Show Update" section. (This is Windows XP SP3).
> > > Anyhow, I had to remove the PowerShell Registry entry, remove the
> > > C:\windows\Powershell dir, various registry entries that refer to older
> > > installation) ...
> > >
> > > Even after I ensure there are no reference of PowerShell, v2 will not run
> > > and generate error like this:
> > >
> > >
> > > Error loading the extended type data file:
> > > Windows PowerShell Copyright (C) 2006 Microsoft Corporation. All rights
> > > reserved. Error loading the extended type data file:
> > > Microsoft.PowerShell.Core,
> > > C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(141) : Error in type
> > > "Deserialized.S stem.Net.IPAddress": "TargetTypeForDeserialization" is not a
> > > standard member and will be ignored Microsoft.PowerShell.Core,
> > > C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(293) : Error in type
> > > "System.Directo yServices.DirectoryEntry": Exception: Cannot convert
> > > "Microsoft.PowerShell.AdapterCodeMethods" to "System.Type".
> > > Microsoft.PowerShell.Core,
> > > C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(300) : Error in type
> > > "System.Directo yServices.DirectoryEntry": Exception: Cannot convert
> > > "Microsoft.PowerShell.AdapterCodeMethods" to "System.Type".
> > > Microsoft.PowerShell.Core,
> > > C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(311) : Error in type
> > > "System.IO.Dire toryInfo": Exception: Getter method should be public, non
> > > void, static, and have one parameter of type PSObject.
> > > Microsoft.PowerShell.Core,
> > > C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(338) : Error in type
> > > "System.IO.File nfo": Exception: Getter method should be public, non void,
> > > static, and have one parameter of type PSObject. Microsoft.PowerShell.Core,
> > > C:\WINDOWS\system32\WindowsPowerShell\v1.0\types.ps1xml(3064) : Error in type
> > > "Microsoft.Pow rShell.DeserializingTypeConverter": Exception: Cannot convert
> > > "Microsoft.PowerShell.DeserializingTypeConverter" to "Sys em.Type".
> > >
> > > Any idea? Right now I'm having to run Windows 7 RC to test v2 .. but I
> > > would like to use it in my XP workstion. Thanks.
My System SpecsSystem Spec
Old 08-03-2009   #5 (permalink)
Miles


 
 

RE: uninstall v1.0 and Install v2.0 CTP3


Well, I had the same problem today - Trying to install PS2 on XP pro. PS1
apparently did get installed on the system at some point due to some Windows
update, although now of the HotFix patches you used as an example were on my
system. The only hotfixs I have show

KB854559-v5
KB954708
KB915800-v4
KB952287
KB961118

Lots of other Security Updates,

PS2 will not install, it claims I have PS1. So i downloaded PS1 to install,
and give uninstall a try. Now I cannot install PS1 (install blows up mind
stream and offers to restore changes); and PS2 will not install because it
thinks PS1 is installed.
I'm pretty frustrated - I don't have an IT shop to save me, but so far we
have not had problems with ANY Windows tools.

One thing I will say - windows *IS* starting to be alot more like Linux...
sadly.

Should I try to uninstall all hot fixes? Or just move on to a new system and
give up on using this here...sigh.

Ideas?


My System SpecsSystem Spec
Old 08-05-2009   #6 (permalink)
bahketni


 
 

RE: uninstall v1.0 and Install v2.0 CTP3

If you go in Add/Remove and select "Show Updates" and still don't see an
option to uninstall Powershell ....

1) Remove the Powershell Directory
(C:\WINDOWS\system32\WindowsPowerShell\v1.0) )

2) Go to registry and get rid of PowerShell

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell

3) Remove the Powershell Program Group

4) Reboot the system

5) Go to Windows Update and using the custom option to search, find
Powershell 1.0 and install it.

6) Go to www.virtualbox.org and download the software and also download
Windows 7 (RTM comes out tomorrow if you have MSDN access) ..

7) I just didn't feel like trying anymore (to install v2.0) anymore since
nobody can tell me how to resolve all the things I have mentioned. I even
asked number of PowerShell MVP who had no idea either.

"Miles" wrote:
Quote:

>
> Well, I had the same problem today - Trying to install PS2 on XP pro. PS1
> apparently did get installed on the system at some point due to some Windows
> update, although now of the HotFix patches you used as an example were on my
> system. The only hotfixs I have show
>
> KB854559-v5
> KB954708
> KB915800-v4
> KB952287
> KB961118
>
> Lots of other Security Updates,
>
> PS2 will not install, it claims I have PS1. So i downloaded PS1 to install,
> and give uninstall a try. Now I cannot install PS1 (install blows up mind
> stream and offers to restore changes); and PS2 will not install because it
> thinks PS1 is installed.
> I'm pretty frustrated - I don't have an IT shop to save me, but so far we
> have not had problems with ANY Windows tools.
>
> One thing I will say - windows *IS* starting to be alot more like Linux...
> sadly.
>
> Should I try to uninstall all hot fixes? Or just move on to a new system and
> give up on using this here...sigh.
>
> Ideas?
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Install CTP3 in Windows 7? PowerShell
OK to install PowerShell 2.0 CTP3 on Server 2008 SP2? PowerShell
WinRM 2.0 CTP3 - install problem PowerShell
Solved Program wont uninstall it with Uninstall or Install Cleanup Utility Software
Can't install/uninstall anything...says I'm already doing it Vista performance & maintenance


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46