Move registry entry to installer
Change path handling on Windows