PDA

View Full Version : How can included another setup ?



Ortakey
05-04-2011, 01:55 PM
Hi , my project required punkbuster ( pbsetup.exe ) , directx and my programs ( a1.exe & a2.exe )

how can i his setup include my project ??

Need the installing before my project.
1 - vc runtime 2008 + question user yes/no ?
2 - directx + question user yes/no ?
3 - pbsetup.exe + question user yes/no ?
4 - a1.exe + question user yes/no ?
5 - a2.exe + question user yes/no ?
6 - My project.

thnx for concern.

ganesh2you
05-05-2011, 04:33 AM
Kindly try tis, I think this may work. plz keep this statement at any one of the funtion and call that function after the initialization


szMainPackageUpdate = SUPPORTDIR ^ "ursetpfile.exe";
szCmdLine = " /s/f1\"" +SUPPORTDIR^"setup.iss"+"\"";
LaunchApplication( szMainPackageUpdate, szCmdLine,"", SW_HIDE, 50000, LAAW_OPTION_WAIT );

:)