adding 'dir' type to postinstall for Windows