How do I install a JRE from an Inno Setup?
I'm trying to install the most current platform (x64 or x86) appropriate Java Runtime Environment via Inno Setup (along with another application). I've found some script examples for how to detect the version and install if correct and adapted them to my needs but I keep running into this: Unable to open file "path\to\JREInstall.exe": CreateProcess failed: Code 5: Access Is Denied This is the code strictly responsible for installing the JRE: [Setup] AppName="JRE Setup" AppVersion=0.1 DefaultDirName="JRE Setup" [Languages] Name: "english"; MessagesFile: "compiler:Default.isl" [Files] Source: