Linux Wine: NSIS Error: Error writing temporary file. Make sure your temp folder is valid.
If you try to install windows stuff in Wine, and you get this error
NSIS Error: Error writing temporary file. Make sure your temp folder is valid.
here is the solution for getting rid of this error and solving the problem.
Open
~/.wine/config
in your favorite editor and make sure you have something like this:
[Drive X]
"Path" = "/tmp"
"Type" = "hd"
"Label" = "Tmp Drive"
"Filesystem" = "win95"
[wine]
[...]
"Temp" = "X:\\"
The solution is making a symlink in ~/.wine/dosdevices:
ln -sf ~/.wine/drive_c/temp ~/.wine/dosdevices/x:
Verify the symlink with
user@machine:~/.wine/dosdevices$ ll
[...]
lrwxrwxrwx 1 user user 28 2007-08-13 21:21 x: -> /home/user/.wine/drive_c/temp
[...]
Last-Modified: Mon, 13 Aug 2007 19:24:24 GMT