Fixed Wix project

Added a wix installer project to consolidate and simplify the creation
of installers by implementing batch scripts to compile and link the
files into a .msi.
Added instruction image to ui
Fixed certificate writing.