Installing ctrader using cloubase init
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.