InstallShield - How can I get a Read Me file to launch?"
Posted on 2000-03-09
I'm using InstallShield for MS Visual C++ 6. I mention this because I can't determine whether this version provides the ability to launch programs or files.
Right now I'm trying to launch a Read ME file from the DialogShowSdFinishReboot() function. Actually this function takes the necessary parameters and passes them to the SdFinish() function. Here is an example of SdFinish() from the docs:
STRING szProductName, szTitle, szMsg, svDir, szComponents;
STRING szMsg1, szMsg2, szOpt1, szOpt2;
BOOL bvOpt1, bvOpt2;
//Set the product name to substitute for the %P place holder.
szProductName = "My Application";
szTitle = "SdWelcome Example";
//Display the SdWelcome dialog box. The null string in parameter
//two specifies the default message, which uses the %P place holder.
szTitle = "SdProductName Example";
//The %P place holder is embedded in a custom message that will be
//passed to SdSetupType.
szMsg = "Choose the type of installation for %P.";
svDir = "C:\\EXAMPLE";
// Display the SdSetupType dialog box.
if (SdSetupType(szTitle, szMsg, svDir, 0) = BACK) then
// The %P place holder is embedded in several of the string
// parameters that will be passed to SdFinish.
szTitle = "SdFinish Example";
szMsg1 = "%P Setup is almost complete.\nChoose the options you want below.";
szMsg2 = "Click Finish to complete %P Setup.";
szOpt1 = "I would like to view the README file.";
szOpt2 = "I would like to launch %P.";
// Display the SdFinish dialog box.
SdFinish(szTitle, szMsg1, szMsg2, szOpt1, szOpt2, bvOpt1, bvOpt2);
MessageBox("Display readme file here.", INFORMATION);
SprintfBox(INFORMATION, szTitle, "Launch %s here.", szProductName);
// Source file: Is5fn142.rul
As you can see, if bvOpt1 is TRUE then the Read ME file is to be launched. But since this is an example, I'm assuming they used a MessageBox rather than some sort of 'launch' function like:
When I try to get info on these functions, I get this:
This feature is unavailable in the InstallShield for Microsoft Visual C++ edition.
I must be missing something. My first question: is it possible to launch a Read ME file? Also, is there some other version of InstallShield that should be obtained if I plan to do serious (many) installations?