Old 19th October 2005, 21:52   #1
fdm_spawn
Junior Member
 
Join Date: Oct 2005
Posts: 4
Question Choose between 2 installation with radiobutons???

Hello,

I am french so sorry for my bad words ...

I have create an exe for install my diferent software and I want to create a page before the welcome page and in these I want to have 2 radio buttons ...

This is in order to choose what exe to launch : so 2 radio buttons and only 1 select ...

For exemple, if it is the 1st radiobuttons select, that launch 1.exe, if it is the 2nd radio button select, that launch 2.exe ...

Can you help me please ??

Thank you
fdm_spawn is offline   Reply With Quote
Old 19th October 2005, 23:15   #2
l_d_allan
Member
 
l_d_allan's Avatar
 
Join Date: Jun 2005
Location: Colorado Springs, CO
Posts: 94
You can take a close look at examples\makensis.nsi

There are lines for:
InstType "Full"
InstType "Lite"
InstType "Minimal"

The above are types 1, 2, and 3 respectively. Within each section, there will be a "SectionIn" that reflects whether this Section is part of that "Type" of installation.

If I understand your question, I believe this is one way to proceed.

HTH
l_d_allan is offline   Reply With Quote
Old 20th October 2005, 15:09   #3
fdm_spawn
Junior Member
 
Join Date: Oct 2005
Posts: 4
hello,

thank you for your answer but it isn't really that that I want ...

I have an exe in order to install different software.

And in this exe, the user can select automatic or manual install :
* if automatic : the user select the software that he want and they are automatically install (silence install; he can't choose the directory)
* if manual : the user select the software that he want to install and my exe execute setup after setup (so he do to tape next next ... and the directory of install for all the software).

if i create this it is because i have many software in my exe and if the user want to install all of them, he do to choose the directory of install of each softaware and one after one; so he must be next he computer.

Also, if he choose the automatic install, he do "install" and it is all ...

Have you uderstand with my bad english ??
fdm_spawn is offline   Reply With Quote
Old 20th October 2005, 15:25   #4
iceman_k
NSIS Dev
 
iceman_k's Avatar
 
Join Date: Feb 2003
Location: Boston, MA, U.S.A.
Posts: 455
If the user has selected the automatic option, call Abort on the pre-function of each subsequent page- this will skip the page and you can use the default value for the page- be it a directory or components or whatever.

Cheers,
Iceman_K

EclipseNSIS - An NSIS IDE for the Eclipse Platform | My contributions to the wiki
iceman_k is offline   Reply With Quote
Old 20th October 2005, 15:32   #5
fdm_spawn
Junior Member
 
Join Date: Oct 2005
Posts: 4
thank but I am new in NSIS so can you take me the modifications because I don't understand what to do ...
Attached Files
File Type: zip nsis_help.zip (79.0 KB, 183 views)
fdm_spawn is offline   Reply With Quote
Old 22nd October 2005, 08:49   #6
fdm_spawn
Junior Member
 
Join Date: Oct 2005
Posts: 4
small up in order ton know if someone can explain me what to do ...

Thank you
fdm_spawn is offline   Reply With Quote
Old 22nd October 2005, 09:57   #7
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
I don't quite understand your last messages, but according to the first one it seemed like you simply wanted an InstallOptions page. Examples\InstallOptions\test.nsi is a good example to start from.

BTW, have you tried the French forum?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik 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