installshield| program I am now doing ASP installation program, so that users can easily use. The InstallShield version I use is InstallShield Professional-standard Edition6.3.
I have not used this stuff, the questions are as follows:
Question One
Copy package work is done with Project wizard-generated script. However, the 6.3 version of the image does not support the main program ... Endprogram, because I see the copy-packed script is implemented through two fuction. So my script doesn't add in, unless it's called in these two fuction! May I ask if version 6.3 cannot use program ... Endprogram, if you can use it, how to use it?
Question Two
Want to copy the ASP program directly after the implementation of IIS settings, that is, through the installation program can be completed, do not need to manually set up, how can I ask how to achieve it?
Here are two fuction that I do with Project wizard-generated script, they do not need to call or declare the definition of automatic execution, really don't understand! Where should my script be added?
Include Header Files
#include "ifx.h"
function Onfirstuibefore ()
Number Nresult,nsetuptype;
String SzTitle, szmsg;
String Szlicensefile, szquestion;
String SzName, Szcompany, szserial;
String Sztargetpath;
String Szdir;
String szcomponents, Sztargetdir;
Number Nlevel;
LIST liststartcopy;
Number nvsize;
Begin
Nsetuptype = typical;
TARGETDIR = "C:" ^ "inetpub" ^ "wwwroot" ^ @PRODUCT_NAME;
Szdir = TARGETDIR;
SzName = "";
Szcompany = "";
Szserial = "";
Dlg_start:
Beginning of Dialogs label
Dlg_sdwelcome:
SzTitle = "";
szmsg = "";
Nresult = SdWelcome (SzTitle, szmsg);
if (nresult = back) goto Dlg_start;
Dlg_sdlicense:
Szlicensefile = supportdir ^ "License.txt";
SzTitle = "";
szmsg = "";
Szquestion = "";
Nresult = SdLicense (SzTitle, szmsg, Szquestion, szlicensefile);
if (nresult = back) goto dlg_sdwelcome;
Dlg_sdregisteruserex:
szmsg = "";
SzTitle = "";
Nresult = Sdregisteruserex (SzTitle, szmsg, SzName, Szcompany, szserial);
if (nresult = back) goto dlg_sdlicense;
Dlg_sdaskdestpath:
SzTitle = "";
szmsg = "Please select Setup folder";
Nresult = Sdaskdestpath (SzTitle, szmsg, szdir, 0);
TARGETDIR = Szdir;
if (nresult = back) goto Dlg_sdregisteruserex;
Dlg_setuptype:
SzTitle = "";
szmsg = "";
Nresult = SetupType (SzTitle, szmsg, "", Nsetuptype, 0);
if (nresult = back) Then
Goto Dlg_sdaskdestpath;
Else
Nsetuptype = Nresult;
if (Nsetuptype!= CUSTOM) Then
Sztargetpath = TARGETDIR;
nvsize = 0;
Componentcomparesizerequired (media,sztargetpath,nvsize);
if (nvsize!= 0) Then
MessageBox (Szsdstr_notenoughspace, WARNING);
Goto Dlg_setuptype;
endif
endif
endif
Dlg_sdcomponenttree:
if ((Nresult = back) && (Nsetuptype!= CUSTOM)) goto Dlg_setuptype;
&nbs