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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can access the TEMP
environment variable using the {%TEMP}
constant.
See here for details and a list of all constants.