Differences
This shows you the differences between the selected revisions of the page.
2017-06-08 | 2017-08-18 | ||
side-by-side anchor (martin) | no summary (75.31.122.3) | ||
Line 57: | Line 57: | ||
Add-Type -AssemblyName "System.EnterpriseServices" | Add-Type -AssemblyName "System.EnterpriseServices" | ||
$publish = New-Object System.EnterpriseServices.Internal.Publish | $publish = New-Object System.EnterpriseServices.Internal.Publish | ||
- | $publish.GacInstall("WinSCPnet.dll") | + | $publish.GacInstall("C:\FullAbsolutePath\WinSCPnet.dll") |
</code> | </code> | ||
+ | |||
+ | Absolute path to the DLL is required to be specified or the above method will fail (and only indication of failure is sent to Windows Event log.) | ||
===== [[registering]] Registering for COM ===== | ===== [[registering]] Registering for COM ===== |