I am using Visual Basic to download an MSI file on Github, therefore I am using the Download File method. When I go to open the MSI file using the Process Start method I get an error, "The installation package could not be opened. Contact the application vendor to verify that this a valid Windows Installer package."
My.Computer.Network.DownloadFile("https://github.com/user/repo/raw/master/file.msi", "C:\Users\Users\user\Desktop\test\file.msi")
Process.Start("C:\Users\user\Desktop\test\file.msi")
The expected result is for Visual Basic to download the MSI file from Github, and then run the MSI file. The actual result is an error saying, "The installation package could not be opened. Contact the application vendor to verify that this a valid Windows Installer package."