WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > multiple installment
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
Strikr
Junior Member

Registered: Dec 2006
From:

multiple installment

My "Supervisor" told me I need to make a script using NSIS to install several executables. I have been through the tutorial, everything and I am completly lost. I really need some indept help with this. I just cant seem to figure it out.
Can anyone bring me on the right track for where to get going. I need to make a script that is able to execute 7 programs or so. Also the programs are located on a site.

Quick Link | Report this post to a moderator | IP: Logged

Strikr is offline Old Post 12-29-2006 11:00 PM
Click Here to See the Profile for Strikr Click here to Send Strikr a Private Message Click Here to Email Strikr Find more posts by Strikr Add Strikr to your buddy list Edit/Delete Message Reply w/Quote
Red Wine
Forum King

Registered: Mar 2006
From: Ath. GR

First step should be to check if the program is already installed.
Common way to achieve such a thing is to read a value from Registry .
Assuming that the program is not installed you call a download plugin e.g Inetc plugin to download program's installer.
After a successful download execute Scripting Reference-ExecWait the downloaded installer.
Once everything is done, you may proceed to the next program following the same procedure. :-)

__________________
Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS

Quick Link | Report this post to a moderator | IP: Logged

Red Wine is offline Old Post 12-29-2006 11:30 PM
Click Here to See the Profile for Red Wine Click here to Send Red Wine a Private Message Find more posts by Red Wine Add Red Wine to your buddy list Edit/Delete Message Reply w/Quote
Strikr
Junior Member

Registered: Dec 2006
From:

thanks alot. I will try that out tonight at home see how it goes.

Quick Link | Report this post to a moderator | IP: Logged

Strikr is offline Old Post 12-29-2006 11:45 PM
Click Here to See the Profile for Strikr Click here to Send Strikr a Private Message Click Here to Email Strikr Find more posts by Strikr Add Strikr to your buddy list Edit/Delete Message Reply w/Quote
Strikr
Junior Member

Registered: Dec 2006
From:

I got it to download and execute. I am just wondering if there is a way to make it accept the license and just click the next buttons for each install.

I just need it to install the .exe by itself.

Last edited by Strikr on 12-30-2006 at 05:52 PM

Quick Link | Report this post to a moderator | IP: Logged

Strikr is offline Old Post 12-30-2006 05:26 PM
Click Here to See the Profile for Strikr Click here to Send Strikr a Private Message Click Here to Email Strikr Find more posts by Strikr Add Strikr to your buddy list Edit/Delete Message Reply w/Quote
Red Wine
Forum King

Registered: Mar 2006
From: Ath. GR

Something like this, if I got what you mean:

code:
Page License Page InstFiles pre1 Page InstFiles pre2 Section "Prog 1" sec1 # download + execute prog 1 SectionEnd Section 'Prog 2' sec2 # download + execute prog 2 SectionEnd function pre1 sectionsetflags ${sec1} 1 sectionsetflags ${sec2} 0 functionend function pre2 sectionsetflags ${sec1} 0 sectionsetflags ${sec2} 1 functionend

__________________
Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS

Quick Link | Report this post to a moderator | IP: Logged

Red Wine is offline Old Post 12-30-2006 06:30 PM
Click Here to See the Profile for Red Wine Click here to Send Red Wine a Private Message Find more posts by Red Wine Add Red Wine to your buddy list Edit/Delete Message Reply w/Quote
Red Wine
Forum King

Registered: Mar 2006
From: Ath. GR

Added page at wiki with complete example regarding to the subject.
http://nsis.sourceforge.net/Install...l_Installations

__________________
Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS

Quick Link | Report this post to a moderator | IP: Logged

Red Wine is offline Old Post 12-31-2006 07:14 PM
Click Here to See the Profile for Red Wine Click here to Send Red Wine a Private Message Find more posts by Red Wine Add Red Wine to your buddy list Edit/Delete Message Reply w/Quote
Strikr
Junior Member

Registered: Dec 2006
From:

I am not too sure if im following you with the wiki example there. I got the wiki to work but I get a license agreement which is one thing I cannot have.

This is what is done, all that is left is to run threw the licenses and other windows without having to click anything.

I download the program off the net using inetc::get then use exec to execute it and then im point blank. I got a next text button and I gotta accept license agreement. I want to be able to do with silently lets say.

Last edited by Strikr on 01-03-2007 at 10:23 PM

Quick Link | Report this post to a moderator | IP: Logged

Strikr is offline Old Post 01-03-2007 09:16 PM
Click Here to See the Profile for Strikr Click here to Send Strikr a Private Message Click Here to Email Strikr Find more posts by Strikr Add Strikr to your buddy list Edit/Delete Message Reply w/Quote
Red Wine
Forum King

Registered: Mar 2006
From: Ath. GR

Remove the license page if you don't want it, remove and the SetAutoClose false, and you ready to go.

__________________
Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS

Quick Link | Report this post to a moderator | IP: Logged

Red Wine is offline Old Post 01-03-2007 11:50 PM
Click Here to See the Profile for Red Wine Click here to Send Red Wine a Private Message Find more posts by Red Wine Add Red Wine to your buddy list Edit/Delete Message Reply w/Quote
Strikr
Junior Member

Registered: Dec 2006
From:

It solves my problem there

Problem # I dunno

Now when I come to install the program I need for that to run without having me to press next or accept the license.
I dont even know if its possible.

Quick Link | Report this post to a moderator | IP: Logged

Strikr is offline Old Post 01-04-2007 09:48 PM
Click Here to See the Profile for Strikr Click here to Send Strikr a Private Message Click Here to Email Strikr Find more posts by Strikr Add Strikr to your buddy list Edit/Delete Message Reply w/Quote
Red Wine
Forum King

Registered: Mar 2006
From: Ath. GR

You may want to refer to NSIS documentation especially on 4.8.1.36 SilentInstall.
http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.1

__________________
Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS

Quick Link | Report this post to a moderator | IP: Logged

Red Wine is offline Old Post 01-04-2007 10:01 PM
Click Here to See the Profile for Red Wine Click here to Send Red Wine a Private Message Find more posts by Red Wine Add Red Wine to your buddy list Edit/Delete Message Reply w/Quote
Strikr
Junior Member

Registered: Dec 2006
From:

I fixed all my problems. Thanks

Last edited by Strikr on 01-05-2007 at 09:38 PM

Quick Link | Report this post to a moderator | IP: Logged

Strikr is offline Old Post 01-05-2007 09:14 PM
Click Here to See the Profile for Strikr Click here to Send Strikr a Private Message Click Here to Email Strikr Find more posts by Strikr Add Strikr to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 08:28 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > multiple installment
Show Printable Version
 | 
Email this Page
 | 
Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is off
vB code is ON
Smilies are ON
[IMG] code is ON