如何在Inno Setup中获取安装程序路径?
问题描述:
您知道在Inno Setup中获取安装程序路径的正确方法吗?
Do you know the right method to get the installer path in Inno Setup?
我想在[Code]
部分中捕获该值.
I want to catch that value inside the [Code]
section.
答
{srcexe}
将为您提供设置的路径和文件名.{src}
将只给您安装程序路径.
{srcexe}
will give you the path and filename of the setup.{src}
will give you just the installer path.