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