So I try to run a .msi file like I would an exe file, which may be the problem. I get this error message
java.io.IOException: Cannot run program “\”: CreateProcess error=193,
%1 is not a valid Win32 application
try { Runtime rf = Runtime.getRuntime();
Process pf = rf.exec("\\IE8fix.msi");
} catch(Exception e) {
System.out.println(e.toString());
e.printStackTrace();
}
Windows installer is in %windir%\msiexec.exe
An MSI file is not standalone. It needs to be run like
msiexec \"file.msi\"So use: