After using the User Manual/Scripting Reference and the forum i have come up with this;
Section "Appl...So first a regstring is read and then written in the ini file (that will be used for a custom page)
EnumRegValue $R9 HKEY_CURRENT_USER "Software\iMesh\iMesh5\Transfer" "DownloadDir"
WriteINIStr $PLUGINSDIR\ioA.ini "[Field 4]" State $R9
ReadINIStr $0 "$PLUGINSDIR\ioA.ini" "Field 4" "State"
Even if the EnumRegValue is wrong the WriteINIStr will not write anything, i dont see it when i have opend the custompage (running the setup)
I hope it can be solved.