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