本文介绍了一个人可以在Inno Setup脚本中使用环境变量吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在Inno Setup脚本文件(.iss)中找到一种引用环境变量的方法。
I need to find a way to reference environment variables INSIDE the Inno Setup script file (.iss)...
我发现了很多有关修改的引用.iss中的环境,但没有关于如何实际使用它的内容。
I've found plenty of references to MODIFYING the environment from an .iss, but none on how to actually use it. Is this possible?
推荐答案根据此页面在Inno Setup文档中,可以使用以下语法来检索环境变量的值:
According to this page in the Inno Setup documentation, the value of environment variables can be retrieved using the following syntax:
{%name|default}更多推荐
一个人可以在Inno Setup脚本中使用环境变量吗?
发布评论