Archive: (beginner question) Checkbox at customize page


(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:


; 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!

(delete me, doublepost)


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)