有没有办法执行 WER“请求附加文件”?对于 Windows 临时目录?
我的公司已经收到许多由于看起来像是安装问题而向 Windows 错误报告报告的崩溃事件。我们的安装日志通常位于 windows\temp 目录中。我想将安装日志文件作为“请求附加文件”条目包含在内,但是似乎没有任何方法可以访问所提供的环境变量列表的子目录。 Windows 临时目录不在您可以使用的值列表中,所以我陷入困境。
一般来说,我不明白如何通过“请求附加文件”获得几乎所有有用的东西。例如,%programfiles% 目录不应包含任何有用的文件,它们应位于您产品的子目录中。我缺少什么?
My company has had numerous crashes reported to windows error reporting due to what looks like an install problem. The logs for our installs are typically in the windows\temp directory. I would like to include the install log file as a "Request Additional Files" entry, however there doesn't seem to be any way to get to a subdirectory of the list of environmental Variables that are provided. The windows temp directory is not in the list of values that you can work from, so I am stuck.
In general, I don't understand how it is possible to get at almost anything of use via the "Request Additional Files". For example, the %programfiles% directory shouldn't contain any useful files, they should be in a subdirectory for your product. What am I missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道这是否有效,但你可以尝试 %programfiles%/../../ (或类似的东西)
使用程序文件文件夹的已知位置/深度(或您使用的任何变量)并导航到根目录(通过正确数量的“../”)并从那里添加额外的内容?
因此,要到达 C:\TempData,您可能会遇到类似以下内容:
%programfiles%/../TempData
需要考虑的一件事是,此路径可能会因 Windows 的不同版本而异...
就像我说的,这是一个建议.. 。
I have no idea if this works but could you try %programfiles%/../../ (or something similar)
using the know location/depth of the programfiles folder (or which ever variable you use) and navigate up to the root (by having the correct number of "../") and the add your extra from there?
So to get to C:\TempData you might have something like:
%programfiles%/../TempData
One thing to consider is that this path might vary on different versions of Windows...
Like I said, this is a suggestion...