win32: Improvements to portable-mode in installer