View Single Post
Old 8th July 2019, 00:54   #10
meoit
Member
 
Join Date: Oct 2014
Location: $DESKTOP
Posts: 90
Thanks Nutzz.

I fixed code for myself.

Quote:
ReadINIStr $0 'D:\MyDisks.ini' 'Total Devices' 'Value'
IntOp $R1 $0 + 1
ClearErrors
${For} $R0 0 $R1
ReadINIStr $1 'D:\MyDisks.ini' 'Disk$R0' 'Index'
${If} $R0 != $1
ReadINIStr $2 'D:\MyDisks.ini' 'Disk$R0' 'Item'
MessageBox MB_OK|MB_USERICON '$0'
${EndIf}
${Next}
ClearErrors
Now, it is working so good.
meoit is offline   Reply With Quote