The only part that seems to work is the first part that downloads new.ini, I'm a noob to NSIS so any help on this would be great.NSISdl::download "http://www.site.com/new.ini" "C:\new.ini"
ReadINIStr $0 "C:\old.ini" "File Version" "Version"
ReadINIStr $1 "C:\new.ini" "File Version" "Version"
IntCmp $0 $1 lessthan$1 morethan$0
lessthan$1:
DetailPrint "No Update"
Goto done
morethan$0:
DetailPrint "Update"
NSISdl::download "http://www.site.com/Update.zip" "C:\Update.zip"
MessageBox MB_OK|MB_ICONINFORMATION "Downloaded file update!"
done:
Need help this is confusing
Alright basically what I am trying to do is make a small updater that will download an ini file from the web and compare the version number in the ini with the ini file that is on the system and if the version number is newer then it will download the update. This is what I have: