Quantcast
Channel: Devolutions Forum - Recent Posts
Viewing all articles
Browse latest Browse all 19717

Topic "PowerShell Install Documentation" a message from AustinArbour

$
0
0
I just attempted to install the PowerShell add-ins following the documentation and received the following in PowerShell. I made sure that I was running in x86 PowerShell. I changed v2.0.50727 to v4.0.30319 and it seemed to install without an issue.


PS H:\> set-alias installutil $env:windir\Microsoft.NET\Framework\v2.0.50727\installutil;installutil 'C:\Program Files (
x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShell.dll';Get-PSSnapin -Name *Remote.Desktop* -Regist
ered | % { Write-Host &quot$_...&quot -NoNewline; if ( (Get-PSSnapin -Name $_ -ErrorAction SilentlyContinue) -eq $null ) { Write
-Host &quotinstalling&quot -ForegroundColor Yellow; Add-PsSnapin $_ } else { Write-Host &quotalready installed&quot -ForegroundColor Gre
en; } }
Microsoft (R) .NET Framework Installation utility Version 2.0.50727.5420
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 C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.
PowerShell.dll assembly's progress.
The file is located at C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShell.Install
Log.
Installing assembly 'C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShell.dll'.
Affected parameters are:
logtoconsole =
assemblypath = C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShell.dll
logfile = C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShell.InstallLog

The Install phase completed successfully, and the Commit phase is beginning.
See the contents of the log file for the C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.
PowerShell.dll assembly's progress.
The file is located at C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShell.Install
Log.
Committing assembly 'C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShell.dll'.
Affected parameters are:
logtoconsole =
assemblypath = C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShell.dll
logfile = C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShell.InstallLog

The Commit phase completed successfully.

The transacted install has completed.
Remote.Desktop.Manager.9.0.7...installing
Add-PSSnapin : Cannot load Windows PowerShell snap-in Remote.Desktop.Manager.9.0.7 because of the following error: The
Windows PowerShell snap-in module C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerS
hell.dll does not have required Windows PowerShell snap-in strong name RemoteDesktopManager.PowerShell, Version=9.0.7.0
, Culture=neutral, PublicKeyToken=null.
At line:1 char:409
+ set-alias installutil $env:windir\Microsoft.NET\Framework\v2.0.50727\installutil;installutil 'C:\Program Files (x86)\
Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShell.dll';Get-PSSnapin -Name *Remote.Desktop* -Registered
| % { Write-Host &quot$_...&quot -NoNewline; if ( (Get-PSSnapin -Name $_ -ErrorAction SilentlyContinue) -eq $null ) { Write-Ho
st &quotinstalling&quot -ForegroundColor Yellow; Add-PsSnapin <<<< $_ } else { Write-Host &quotalready installed&quot -ForegroundColor
Green; } }
+ CategoryInfo : InvalidArgument: (Remote.Desktop.Manager.9.0.7:String) [Add-PSSnapin], PSSnapInException
+ FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand

Remote.Desktop.Manager.9.2.6...installing

Viewing all articles
Browse latest Browse all 19717

Trending Articles