Path to/Name of Installer Executable - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

canhuth
Posts: 241
Joined: Thu Jun 19, 2008 9:03 am

Path to/Name of Installer Executable

Hello everyone.

To answer myself:

######################

Is there a way to get the path of the installer.exe file, for example in a custom action?

######################

The following properties are helpful:

AI_SETUPEXEPATH
path\to\installer.exe
For example: c:\dir\MyProduct.exe

SETUPEXEDIR
path\to\
For example: c:\dir\

CURRENTDIRECTORY
path\to
For example: c:\dir

The current directory can easily be differ from SETUPEXEDIR, so it should probably not be used.



With best regards

Clemens Anhuth

Return to “Common Problems”