Is there any way to make WER "Request additional files" for the Windows temporary files directory?

My company has had many crashes reported in Windows error reports due to what seems like a setup issue. The logs for our installations are usually located in the windows \ temp directory. I would like to include the installation log file as the “Request additional files” entry, however, there seems to be no way to access the subdirectory of the list of environment variables that are provided. The Windows temporary files directory is not on the list of values ​​you can work from, so I'm stuck.

In general, I don’t understand how you can get almost everything that can be used with the "Request additional files". For example, the% programfiles% directory should not contain any useful files, they should be in a subdirectory for your product. What am I missing?

+3
source share
1 answer

I have no idea if this works, but you can try% programfiles% / .. / .. / (or something similar) using the location / depth information of the program files folder (or which variable you use) and go to the root (having the right amount of "../") and adding too much from there?

So, to get to C: \ TempData, you might have something like:

% ProgramFiles% / .. / TempData p>

, Windows...

, ...

0

Source: https://habr.com/ru/post/1741190/


All Articles