Old 29th January 2009, 12:51   #1
viper2k
Junior Member
 
Join Date: Jan 2009
Posts: 1
(beginner question) Checkbox at customize page

Hello,

i have read many houres in this forum and the wiki but i can't get a solution for my problem.

nsis is very new for me, i have to attend a nsis installer script, which i adopted from an ex-collegue.

my problem is as follows:

i have a full working installer script with an *.ini page, created with the HM NIS Edit 2.0.3. this page is the last page in the installer.

i want to add two checkboxes, one to run the programm and one to open a PDF file in this last page.

here is the code from the ini file:

code:

; Ini file generated by the HM NIS Edit IO designer.
[Settings]
NumFields=3

[Field 1]
Type=Label
Text=\r\n\r\n<some text here>
Left=9
Right=282
Top=3
Bottom=85

[Field 2]
Type=Checkbox
Text=Programm starten
State=1
Left=9
Right=122
Top=100
Bottom=110

[Field 3]
Type=Checkbox
Text=Kurzanleitung öffnen
State=1
Left=9
Right=204
Top=115
Bottom=125




how can i add the actions for the checkboxes in the main script?

i know the other threads in this forum about checkboxes and finishpages. but they can't help me. please give me a hint.

thank you very much!
viper2k is offline   Reply With Quote
Old 29th January 2009, 13:32   #2
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
(delete me, doublepost)
Yathosho is offline   Reply With Quote
Old 29th January 2009, 13:34   #3
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
search the MUI2 docs for Page Settings -> Finish Page Settings. if you're looking for a realworld example, have a look at the source of the NSIS installer (NSIS\Examples\makensis.nsi)
Yathosho 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