Iexpress is extracting to %temp% folder... How do I prevent this?

user2786228 picture user2786228 · Sep 27, 2013 · Viewed 7.1k times · Source

Basically I've binded two files, one of them works fine because it can be run from any directory on the computer, however the other one requires .DLL dependencies found in the folder that the binded file is in... However when you run the binded file (made in express) it extracts both the programs to the %temp% folder, so the program cannot find the .DLL dependencies and therefore doesn't work.

Is there anyway to make it extract the files into the directory it's being ran from?

Answer

fission picture fission · Oct 2, 2013

I already answered this question here:

Iexpress - extraction path

It's actually a bit of a pain, since the current directory while IExpress is running an install program is something like %temp%\IXP000.TMP and there's very little clue where it was originally started without reverse traversing the "process tree".

Having said that, the extraction location (eg %temp%\IXP000.TMP) should contain both the executable and the .dll there, so the DLL should be easy for the executable to find. You might check the usual suspects: (1) is long file name (LFN) support enabled? and (2) is the .dll actually in the archive? More info on another answer here:

jar file not found iexpress