I need to get a filename of the own installation package within an InstallScript function. How can I do that?
SETUPEXEDIR and SETUPEXENAME are MSI properties. You can obtain their values through the MsiGetProperty function. If you are not using an MSI then you can use the PACKAGE_LOCATION system variable, as in
ParsePath(svSetupExeFileName, PACKAGE_LOCATION, FILENAME);