Archive: Execute two Installer(exe) into one exe


Execute two Installer(exe) into one exe
Dear all,

I have two Installer(exe) files setup1.exe and setup2.exe separately.

I want to make one execution Installer called multisetup.exe.

When I am going to install the multisetup.exe, the above setup1.exe and setup2.exe should be automatically installed in my system.

I have put my setup1.exe and setup2.exe files in C:\, How could I mention the directory in the nsi script.

And My kindly request is that,can you please give me an example of nsi script regarding this.

If you can answer me, you will be appreciated.

Thanks a lot in Advance,

jeyamj


Those two setup1.exe and setup2.exe should be packaged into multisetup.exe or should be distributed (e.g. cd/dvd) in the respective folder aside with multisetup.exe?


Originally posted by Red Wine
Those two setup1.exe and setup2.exe should be packaged into multisetup.exe or should be distributed (e.g. cd/dvd) in the respective folder aside with multisetup.exe?
Please give me the answer as follows:

(1)How to pack two setup files

(2)Can I execute the two setup files simultaneously when I click packaged exe.

Thanks in Advance,

jeyamj

I'm a bit confused here...
jmohan and jeyamj are you both the same person?

Anyway, there's another thread discussing the same subject:

http://forums.winamp.com/showthread....hreadid=291695


Put this in the same directory as the two files


Name "MutiExec"
Code "MultiExec.exe"

SilentInstall silent

Section
SetOutPath $Temp
File "file1.exe"
ExecWait $temp\file1.exe
Sleep 2000
Delete $temp\file1.exe

File "file2.exe"
ExecWait $temp\file2.exe
Sleep 2000
Delete $temp\file2.exe
SectionEnd

@ fabian.rap.more
Instead of sleep which is useless at this point, you may want to get the return value of the executed program and continue according to that value. ;)


Never thought of that. I used sleep because sometimes when I used this script the installer was still running for some reason


Originally posted by Red Wine
I'm a bit confused here...
jmohan and jeyamj are you both the same person?

Anyway, there's another thread discussing the same subject:

http://forums.winamp.com/showthread....hreadid=291695
I do thing that are the same person. Weird

Quote:


thank you joel, it is working.

I am sorry. i don't know about jeyamj. He arised same question in this forum. I think , he wants the exe executing in some way.
Anyway,

Thanks,
J. Mohan

Originally posted by Joel
I do thing that are the same person. Weird

jmohan thanking us for jeyamj ???

You are so definatelty the same person


Quote:


sorry, I am also confused.

Anyway, the questions and answers are benefited for all.

Originally posted by fabian.rap.more
jmohan thanking us for jeyamj ???

You are so definatelty the same person