Archive: IO in Section


IO in Section
Hi,

how to use Install Options in a section? The IO-dialog should only show, if this section is selected.

like this(dont't work):

Function ExterneDatei
Push $R6
InstallOptions::Dialog "updateui.ini"
Pop $R6
FunctionEnd


Section /o $(TITLE_Datei5) Datei5
SetOutPath "$INSTDIR"
call "ExterneDatei"
CreateDirectory "$INSTDIR\autoupdate"
ZipDLL::extractall $R6 "$INSTDIR\autoupdate"

; - - - - - - - Versionscheck - - - - - - - - - - - -

GetFileTime "autoupdate\phoenixRR.exe" $3 $4
GetFileTime "phoenixRR.exe" $5 $6

IntCmp $3 $5 0 downdate +2
IntCmp $4 $6 downdate downdate 0

MessageBox MB_OK "test"
CopyFiles /FILESONLY "$INSTDIR\autoupdate\*.*" "$INSTDIR" 700
RMDir /r "$INSTDIR\autoupdate"
Delete "$INSTDIR\updatepm2003.zip"

goto update

downdate:
RMDir /r "$INSTDIR\autoupdate"
MessageBox MB_OK "test."
update:

SectionEnd




Thanks.

-timecop


Your question was answered the other day:
http://forums.winamp.com/showthread....hreadid=128036

-Stu :)


Thanks, Works fine.

But, there is one other question:
How to create a divider between two sections without using SectionDivider(from NSIS1.9)? Is this still posible with a trick?

-timecop


I think that that is currently not in NSIS.
I think plans to put it back in are set though.

-Stu