Installing ctrader using cloubase init

Created at 22 Jul 2023, 16:24
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
SE

seyed

Joined 17.07.2023

Installing ctrader using cloubase init
22 Jul 2023, 16:24


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 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  

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

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

$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. 


@seyed