Iexpress提取到%temp%文件夹...如何防止这种情况? [英] Iexpress is extracting to %temp% folder... How do I prevent this?

查看:125
本文介绍了Iexpress提取到%temp%文件夹...如何防止这种情况?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本上,我已经绑定了两个文件,其中一个工作良好,因为它可以从计算机上的任何目录运行,但是另一个文件需要在绑定文件所在的文件夹中找到.DLL依赖项.当您运行绑定文件(用Express制作)时,它将两个程序都提取到%temp%文件夹中,因此该程序找不到.DLL依赖项,因此无法正常工作.

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?

推荐答案

我已经在这里回答了这个问题:

I already answered this question here:

Iexpress-提取路径

实际上有点麻烦,因为当IExpress运行安装程序时当前目录类似于%temp%\IXP000.TMP,几乎没有什么线索,它最初是在没有反向遍历进程树".

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".

话虽如此,提取位置(例如%temp%\IXP000.TMP)应在其中同时包含可执行文件 .dll,因此DLL应该易于查找可执行文件.您可能会检查通常的怀疑:(1)是否启用了长文件名(LFN)支持? (2).dll实际上在存档中吗?有关其他答案的更多信息,请点击此处:

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:

找不到iexpress的jar文件

这篇关于Iexpress提取到%temp%文件夹...如何防止这种情况?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆