How to get the installer path in Inno Setup?
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}');
{srcexe}
will give you the path and filename of the setup.{src}
will give you just the installer path.