代码部分中的Inno设置常量 [英] Inno Setup Constant in Code Section

查看:105
本文介绍了代码部分中的Inno设置常量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在[代码]部分中获取InnoSetup常量值?我在安装期间需要这个,而我想要获取的常量值是{app}.

Is there a way to get InnoSetup constant value in [Code] section? I need this during install time and the constant value that I am trying to get is {app}.

推荐答案

您可以使用AppValue := ExpandConstant('{app}');

  • Documentation on ExpandConstant
  • Example of it's usage.

这篇关于代码部分中的Inno设置常量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆