How to get the installer path in Inno Setup?

Kawaii-Hachii picture Kawaii-Hachii · Mar 15, 2011 · Viewed 8.7k times · Source

Do you know the right method to get the installer path in Inno Setup?

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

Answer

mirtheil picture mirtheil · Mar 15, 2011

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