jeyamj
13th May 2008 11:14 UTC
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
Red Wine
13th May 2008 13:11 UTC
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?
jmohan
13th May 2008 13:42 UTC
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
Red Wine
13th May 2008 19:25 UTC
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
fabian.rap.more
13th May 2008 19:39 UTC
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
Red Wine
13th May 2008 19:57 UTC
@ 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. ;)
fabian.rap.more
13th May 2008 20:08 UTC
Never thought of that. I used sleep because sometimes when I used this script the installer was still running for some reason
Joel
13th May 2008 20:39 UTC
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
jmohan
14th May 2008 08:25 UTC
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
|
fabian.rap.more
14th May 2008 08:43 UTC
jmohan thanking us for jeyamj ???
You are so definatelty the same person
jmohan
14th May 2008 08:54 UTC
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
|