I am trying to install FreeCAD on a Windows 7 PC and the installation fails with the error "Extract: error writing to file mkl_pgi_thread.dll". This appears to be because the installer is putting the temporary install files in a different location to the specified installation directory.
Steps to reproduce...
I downloaded the file FreeCAD-0.18.16117.dbb4cc6-WIN-x64-installer.exe
I ran the file on a computer with less than 1GB available on C: drive.
I changed the installation directory to be in D: drive (as C drive doesn't have enough space)
I clicked install, and it tries but comes up with the above error.
I have noticed that it fills up all the remaining space on C drive and when there is no space left it gives the error.
Can the installer please be fixed so that it puts temporary files in the same location as the user specifies for install.
Install fails - inappropriate temp file location
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Install fails - inappropriate temp file location
We are using NSIS as installer framework and I don't know if this behaviour can be easily changed. But what you can try is:
- Open a command line window
- set TEMP=D:\Temp
- Invoke the installer executable from within the command line window
Re: Install fails - inappropriate temp file location
I think this should be:
[*]set TMP=D:\TEMP
..as the documentation and testing I've carried out suggests the GetTempPath function checks %TMP% first and if it exists will take that and only if it fails does it carry on to %TEMP%. %USERPROFILE% and %WINDIR%.