[win] improve init seafile dialog
fixed upgrade sql for 1.7.0/sqlite3