ConfigGetFileName

InstallShield 2016 » InstallScript Language Reference

The ConfigGetFileName function retrieves the fully qualified name of the default system configuration file, which is set initially by InstallShield to the Config.sys file that was executed when the target system was started. To specify a different batch file to be used by default in the script, call ConfigSetFileName.

Note • Do not mix the Ez configuration file functions with the advanced configuration file functions. After calling the ConfigFileLoad function, you cannot use the Ez configuration file functions until you use the ConfigFileSave function to save your changes.

Syntax

ConfigGetFileName (svFileName);

Parameters

ConfigGetFileName Parameters

Parameter

Description

svFileName

Returns the fully qualified name of the default system configuration file.

Note • In rare circumstances, InstallShield might not be able to determine the fully qualified name of the default configuration file. In that case, svFileName is a null string ("").

Return Values

ConfigGetFileName Return Values

Return Value

Description

0

ConfigGetFileName successfully retrieved the fully qualified name of the default system configuration file.

< 0

ConfigGetFileName was unable to retrieve the fully qualified name of the default system configuration file.

See Also