Odrive Headless Windows Install

I i tried to install odrive headlessly using the following powershell script provided but haven’t had much luck, is the headless version working on windows.

Hi @scottr1976,
What is the issue you are having? The Windows odrive agent should work.

Hi Tony

I get the following errors

Error HRESULT E_FAIL has been returned from a call to a COM component.
At line:1 char:285

  • … pplication; $shl.namespace("$o").copyhere($shl.namespace("$o\o.zip"). …
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (:slight_smile: [], COMException
    • FullyQualifiedErrorId : System.Runtime.InteropServices.COMException

Error HRESULT E_FAIL has been returned from a call to a COM component.
At line:1 char:510

  • … pplication; $shl.namespace("$o").copyhere($shl.namespace("$o\oc.zip") …
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (:slight_smile: [], COMException
    • FullyQualifiedErrorId : System.Runtime.InteropServices.COMException

Hi @scottr1976,
This looks like an issue with the powershell script, but I can’t tell what could be causing it. It may be something config specific on the system. The script is just to facilitate an easy install, but it is not required.

You can download the agent and the CLI directly from here: https://docs.odrive.com/docs/odrive-sync-agent#section--download-sync-agent-

You can then extract those items into a folder on your system. The script puts them into %userprofile%\.odrive-agent\bin but it can be anywhere, really. You will just want to modify the launch and CLI commands from the ones in the examples to reference the correct folder.