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

两盒软妹~` 提交于 2019-12-12 02:14:17

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/19047030/iexpress-is-extracting-to-temp-folder-how-do-i-prevent-this

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!