hello, I'm back...
I have done what you said, pengyou, and it works... that means it is well displayed...
but I can't read the checkbox value, and I don't know where I'm wrong...
this is my code :
;page finish
!define MUI_PAGE_CUSTOMFUNCTION_PRE "un.add_shortcuts_finishpage"
!define MUI_PAGE_CUSTOMFUNCTION_SHOW "un.fix_background_color"
!define MUI_PAGE_CUSTOMFUNCTION_LEAVE "un.finishpage"
!define MUI_FINISHPAGE_TITLE "$MUI_FINISHPAGE_TITLE"
!define MUI_FINISHPAGE_TEXT "$MUI_FINISHPAGE_TEXT"
;page de fin de désinstallation
!insertmacro MUI_UNPAGE_FINISH
and then I want to read the checkbox value of the 6th field...
the function that does not work :
Function un.finishpage
ReadINIStr $R0 "$TEMP\ioSpecial.ini" "Field 6" "State"
StrCpy $R0 $R0
StrCmp $R0 "1" shortcut end
shortcut:
CreateShortcut "$DESKTOP\K!TV.lnk" "$INSTDIR\K!TV.exe" "" "$INSTDIR\K!TV.exe" "" "" "" "$(desktv)"
goto end
end:
FunctionEnd
the command createshortcut works fine outside the readinistr, etc...
but this command is not called in this function, i can't read a "1" value to the state of my 6th field...
why ?
is it because of my function called by MUI_CUSTOMFUNCTION_LEAVE ?
and what else can I do ?