How do I get the path to the Temp folder from inside an InnoSetup Pascal script? Not the folder that the setup uses as it its temporary folder (which can be accessed using {tmp}
), but the actual user's Temp folder.
Asked
Active
Viewed 4,783 times
3

svick
- 236,525
- 50
- 385
- 514
1 Answers
3
You can access the TEMP
environment variable using the {%TEMP}
constant.
See here for details and a list of all constants.

Frédéric Hamidi
- 258,201
- 41
- 486
- 479