|
I'm trying to use WASP on Windows 8.
From an elevated PS prompt (of course) I run 'install.ps1 -force'.
I get:
--------8<-----------
You're running PowerShell 3.0, so you don't need to Install this as a PSSnapin, you can use Import-Module (or Add-Module
in CTP2) to load it. If you still want to install it as a PSSnapin, re-run this script with -Force
Microsoft (R) .NET Framework Installation utility Version 4.0.30319.17929
Copyright (C) Microsoft Corporation. All rights reserved.
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the D:\tmp\wasp\WASP.dll assembly's progress.
The file is located at D:\tmp\wasp\WASP.InstallLog.
Installing assembly 'D:\tmp\wasp\WASP.dll'.
Affected parameters are:
=
logfile = D:\tmp\wasp\WASP.InstallLog
assemblypath = D:\tmp\wasp\WASP.dll
logtoconsole =
The Install phase completed successfully, and the Commit phase is beginning.
See the contents of the log file for the D:\tmp\wasp\WASP.dll assembly's progress.
The file is located at D:\tmp\wasp\WASP.InstallLog.
Committing assembly 'D:\tmp\wasp\WASP.dll'.
Affected parameters are:
=
logfile = D:\tmp\wasp\WASP.InstallLog
assemblypath = D:\tmp\wasp\WASP.dll
logtoconsole =
The Commit phase completed successfully.
The transacted install has completed.
Add-PSSnapin : An item with the same key has already been added.
At D:\tmp\wasp\Install.ps1:16 char:1
+ Add-PSSnapin WASP
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Add-PSSnapin], ArgumentException
+ FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.AddPSSnapinCommand
To load the Windows Automation Snapin in the future, you need to run:
Add-PSSnapin WASP
You can also add that line to your Profile script to load it automatically.
--------8<----------
After that the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\WASP does exist, but no commands are available:
PS D:\tmp\wasp> select-window
select-window : The term 'select-window' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ select-window
+ ~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (select-window:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
--------8<----------
Any clue?
|