Archive: Wierd Index error SectionIn RO


Wierd Index error SectionIn RO
I'm having this wierd Problem with somthing
I'm trying to have certin check boxes Disabled
durring install and create like a tree and such
so here is the Example code
;---------Code Begin---------------------
Section "Apache 2.0.48 (required)"
SectionIn RO

SetOutPath "$INSTDIR"
;ADD YOUR OWN STUFF HERE!

File "..\*.*"

;Store installation folder
WriteRegStr HKCU "Software\PrositeXL" "" $INSTDIR

;Create uninstaller
WriteUninstaller "$INSTDIR\Uninstall.exe"

SectionEnd


Section "MySQL 4.0.17 (required)"

SectionEnd

Section "Phpnuke7.0" (required)

SectionEnd

Section "PHP-4.3.5-RC1"

SectionEnd
;---------Code End---------------------
If i do this
Section "MySQL 4.0.17 (required)"
SectionIn RO
SectionEnd

Section "Phpnuke7.0" (required)
SectionIn RO
SectionEnd

Section "PHP-4.3.5-RC1"
SectionIn RO
SectionEnd

It errors out and says somthing about index crap
but this morning it worked fine as if there was a BUG
or somthing wierd with the installer
Somtimes it works Somtimes it doesn't ?
:igor:
It will come off with it's already been declared or somthing wierd like that. The error would fall to 2 spots
it would eaither error on
Section "MySQL 4.0.17 (required)"
giving a index error
or
Section "PHP-4.3.5-RC1"
tell me it was already declared ?

this is happening in Nsis 3


Without a exact description, compiler output (errors) and attached script we can't help you.