Installation Problems, Install Shield Express.
Hi,
I cant install two program in one time.
Install Shield Express (in Delphi package, not ISE Pro) create one setup
project (for one executable). I must install my program and if my program is
installed then install another program. But Install Shield Express dont
this.
But I wrote little program,
-------------------
CreateOK := CreateProcess(nil, PChar('my program setup'), nil,
nil,False,CREATE_NEW_PROCESS_GROUP+NORMAL_PRIORITY_CLASS,nil, nil,
StartInfo, ProcInfo);
{ check to see if successful }
if CreateOK then
// wait for child processes.
WaitForSingleObject(ProcInfo.hProcess, INFINITE);
CreateOK := CreateProcess(nil, PChar('another program'), nil,
nil,False,CREATE_NEW_PROCESS_GROUP+NORMAL_PRIORITY_CLASS,nil, nil,
StartInfo, ProcInfo);
end;
------------------
This program running all windows executables, program...
But not run Setup programs, if Createprocess is a Setup program then windows
is lock and blue ...
How can I install two program in one time ?
And my program is Database program, BDE must install. So I use Install
Shield Express.
Install Shield Express can install BDE and create Alias.
But ISE dont run another program, then setup is finish.