I am trying to learn Ocaml and have tried time and time again to install it on windows.
Every time I attempt an install I get the exact same error.
❯ winget install Microsoft.VisualStudio.2019.BuildTools --override "--wait --passive --installPath C:\VS --addProductLang En-us --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended"
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
~\Desktop
❯ winget install Git.Git
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
~\Desktop
❯ winget install Diskuv.OCaml
Found an existing package already installed. Trying to upgrade the installed package...
Found DkML Native [Diskuv.OCaml] Version 2.1.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
- Packages
Microsoft.VCRedist.2015+.x64
Successfully verified installer hash
Starting package uninstall...
An unexpected error occurred while executing the command:
0x800401f5 : Application not found
I am running these commands in CMD and I have no idea what is going wrong.
Please help me as I would love to learn Ocaml.
EDIT: Going into control panel and manually uninstalling an older version of DKML fixed it.