Update Otto in Windows

Hi there,

I am not able to update Otto on one of my Windows servers (Microsoft Server 2022 Datacenter). Can’t figure out why…

Any suggestions?

Mars

PS C:\Users\Administrator> iex ((New-Object System.Net.WebClient).DownloadString(‘https://downloads.ottomatic.cloud/ottofms/install-scripts/install-win.ps1’))
Downloading OttoFMS installer zip from https://console.ottomatic.cloud/downloads/ottofms/latest/win
Extracting files from C:\Users\ADMINI~1\AppData\Local\Temp\2\ottoFMS_installer.zip to C:\Users\ADMINI~1\AppData\Local\Temp\2\Extracted…
Stopping OttoFMS…
Uninstalling OttoFMS…
Start-Process : This command cannot be run due to the error: The specified executable is not a valid application for
this OS platform…
At line:66 char:3

  •     Start-Process -FilePath $uninstallerPath -ArgumentList "--mod ...
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:slight_smile: [Start-Process], InvalidOperationException
    • FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

PS C:\Users\Administrator>

Did you ever find a solution to this? I’m in the same position now, where I need to update from 4.6.2 to 4.11.0 but I can’t uninstall the previous version.
I tried both the command for latest version, but also the one for a specific version. No luck.
Then uninstalling manually with the uninstall-file, but Windows said that there was no app for that :upside_down_face:
When trying to uninstall using the control panel, it says that the app already seems to be uninstall (which it definitely wasn’t).

I tried to install the new version upon the existing one, and it does seem to work, but I got two errors in the process: the first one saying that there was a problem running the post-install step (probably starting the service) and then another one saying that there was an error creating the uninstallation file :upside_down_face:
And yes, it’s still not possible to uninstall OttoFMS from the server…