Skip to content
⌘ NSIS Forum Archive

How to check and disable a checkbox by default ?

6 posts

Icks92#

How to check and disable a checkbox by default ?

Hello,

I am looking for a curious thing.

I would like to put on my NSIS a checkbox that is checked by default, and appears in grey, like the checkbox in Windows, when you can't change its status.

I can't find how to check and disable it by default.

Is there anyone have the solution please ?

Thank you very much for your help.
Icks92#
On a custom page please. But if it's easier on a components page, I will try to do my best to transfert it.
jpderuiter#
Double post:
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
pnukasani#
Hi All,
This is the Process toto check and disable a checkbox by default and by using:

we need to write inside the Section as ::SectionIn R0::

Ex:

Section "Java" SEC01
SectionIn RO
SetOutPath "$INSTDIR"
SetOverwrite ifnewer
File "..\..\Documents and Settings\pnukasani\Desktop\Java.txt"
SectionEnd
Icks92#
Originally posted by jpderuiter
Double post:
http://forums.winamp.com/showthread....hreadid=308078
Thank you very much, it's exactly what I was looking for !