Old 28th July 2006, 02:56   #1
b0wnage
Junior Member
 
Join Date: Jul 2006
Posts: 3
Installing Multiple Setup.exe files?

Well, Im just trying to put together an installation file that contains numerous Setup.exe files I.E. "Bitcomet, Nero, McAfee, Winamp Etc.." For my home PC's and when i goto a friends or what not, Basicaly i want to run a single Setup.exe that contains the other setup.exe files in it, And have some sort of selection screen for which Setup.exe files to run or even run each setup.exe in a list, Like once the main setup.exe starts it will install Bitcomet and then after it will Install Winamp and so on.

Well if anyone here knows of a way i can accomplish this then it would be much appreciated.

-Thanks
b0wnage is offline   Reply With Quote
Old 28th July 2006, 03:11   #2
Comperio
Major Dude
 
Comperio's Avatar
 
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
Best way would be to create a separate section for each installation you wanted to run. Then, display the components page and allow the user to check whichever combination is desired. Then, in the sections, you just launch each additional setup using ExecWait commands.

Have a look a the docs and examples included with NSIS for more information.
Comperio is offline   Reply With Quote
Old 28th July 2006, 04:07   #3
b0wnage
Junior Member
 
Join Date: Jul 2006
Posts: 3
Hmm.. Well i know nothing at all about scripting with the Nullsoft program lol.

Just wondering if anyone knew an easy way this could be done.
Thanks for your help though.
b0wnage is offline   Reply With Quote
Old 28th July 2006, 09:43   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
That's very easy to do.

Section "Bitcomet"
ExecWait ...
SectionEnd

Section "Nero"
ExecWait ...
SectionEnd

And so on. It really is that simple, almost. You'd just need to add some Section descriptions if you're using Modern UI (see Examples\Modern UI\*)

-Stu
Afrow UK is offline   Reply With Quote
Old 28th July 2006, 10:25   #5
b0wnage
Junior Member
 
Join Date: Jul 2006
Posts: 3
Quote:
Originally posted by Afrow UK
That's very easy to do.

Section "Bitcomet"
ExecWait ...
SectionEnd

Section "Nero"
ExecWait ...
SectionEnd

And so on. It really is that simple, almost. You'd just need to add some Section descriptions if you're using Modern UI (see Examples\Modern UI\*)

-Stu
Do i need to put the following commands in a script?

I'm clueless as to what program im supposed to use lol.
b0wnage is offline   Reply With Quote
Old 28th July 2006, 10:44   #6
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Notepad and makensisw
Again, look at the example scripts.

-Stu
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump