debugged windows installer, added error checking