开发者

How to get the installer path in Inno Setup?

D开发者_如何学运维o you know the right method to get the installer path in Inno Setup?

I want to catch that value inside the [Code] section.


{srcexe} will give you the path and filename of the setup.
{src} will give you just the installer path.


You should use the {srcexe} constant. In Pascal scripting, you can obtain the values of constants using the ExpandConstant function, as in

path := ExpandConstant('{srcexe}');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜