InstallShield 2016 » InstallScript Language Reference
Project • This information applies to the following project types:
• | Basic MSI |
• | InstallScript |
• | InstallScript MSI |
Note • To call this function in a Basic MSI setup, you must first create a custom action for the entry-point function, execute the custom action in a sequence or as the result of a dialog's control event, and then build the release.
/*--------------------------------------------------------------*\
*
* InstallShield Example Script
*
* This example demonstrates the EnterDisk function.
*
* EnterDisk is called to prompt the user to insert a disk or
* to specify a path. EnterDisk then searches for the tag file
* at that location.
*
\*--------------------------------------------------------------*/
#include "ifx.h"
export prototype ExFn_EnterDisk(HWND);
function ExFn_EnterDisk(hMSI)
STRING szMsg, szTagFile;
begin
// Set up parameters for call to EnterDisk.
szMsg = "Please insert disk 2";
szTagFile = "ISExampl.txt";
// Display the EnterDisk dialog.
EnterDisk (szMsg, szTagFile);
end;
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |