InstallShield 2016 » InstallScript Language Reference
The BatchGetFileName function retrieves the fully qualified name of the default batch file, which is set initially by InstallShield to the bootup Autoexec.bat file used by the system. To specify a different batch file to be used by default in the script, call BatchSetFileName.
Note • Do not mix the Ez batch file functions with the advanced batch file functions. After calling BatchFileLoad, you cannot use Ez batch file functions until you have called BatchFileSave to save the file.
Syntax
BatchGetFileName ( svFileName );
Parameters
Parameter |
Description |
svFileName |
Returns the fully qualified name of the default batch file in svFileName. |
Return Values
Return Value |
Description |
0 |
BatchGetFileName successfully retrieved the fully qualified name of the default batch file. |
< 0 |
BatchGetFileName was unable to retrieve the fully qualified name of the default batch file. |
See Also
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |