Fixing issue with getting sql server product version as well as some app setup logic