Differences

This shows you the differences between the selected revisions of the page.

2021-02-02 2021-04-23
embed anchor (martin) admin privileges for GacInstall (martin)
Line 62: Line 62:
$publish = New-Object System.EnterpriseServices.Internal.Publish $publish = New-Object System.EnterpriseServices.Internal.Publish
$publish.GacInstall("C:\path\WinSCPnet.dll") $publish.GacInstall("C:\path\WinSCPnet.dll")
-</code> Absolute path to the DLL is required to be specified or the above method will fail (and the only indication of the failure is sent to Windows Event log).+</code> An absolute path to the DLL needs to be specified and Administrator privileges are required. Otherwise the above method will fail (and the only indication of the failure is sent to Windows Event log).
===== [[registering]] Registering for COM ===== ===== [[registering]] Registering for COM =====

Last modified: by martin