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

Path to/Name of Installer Executable

Mon Jul 21, 2008 9:35 am

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”