Hi,
Did you run the script as administrator? I ran the command Start-Process msiexec.exe -ArgumentList "/i `"$msiPath`" /quiet /norestart" -Wait in an elevated PowerShell windows and it installed Microsoft Build of OpenJDK as expected.
To run the Canon setup.exe silently, you have to make sure it is supported to be installed through command line. Run setup.exe /? to see if there are any install parameters.
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.