cTrader with cloudbase

asked 2023-07-25 20:14:45 +0200

seymad gravatar image

Hey folks,

I want to install ctrader on my windows virtual machine using cloudbase init. I'm using a simple powershell script to install it on my windows machine. The script works when installed on a running Windows instance. Using cloudbase, VM fails to boot properly. I can confirm that the executable is successfully downloaded; the installation fails with no proper logs in cloudbase-init log files. I used the same cloudbase init script to install a different app without any problems. This is my script:

ps1_sysnative

$url = "https://spotware.ctrader.com/ctrader-..."

$output = "C:/ctrader.exe"

Invoke-WebRequest -Uri $url -OutFile $output

Start-Process "C:\ctrader.exe" -Wait -ArgumentList "/auto"

Remove-Item -Path C:\ctrader.exe -Force

Any help is much appreciated. I used Windows server 2016 for testing and Windows 10.

edit retag flag offensive close merge delete