1606 | Subhas | Fix order of resetting database during windows installer