Fixing FSX Error 1158: Setup Cannot Write to a Temporary Location

TIME : 2016-01-08
Fixing FSX Error 1158: Setup Cannot Write to a Temporary Location

Error 1158 almost always means the installer cannot write to your temp folder. Work through these in order:

  • Right-click the setup file and choose "Run as administrator".
  • Empty the Temp directory (type %temp% into the Run box) and free up space on the system drive.
  • Confirm your account has write permission on that drive, and pause antivirus or cleanup tools that lock temp files.
  • Run setup from a folder you own, such as your Desktop, instead of from the disc or a network share.