support 32 bit and "reboot on uninstall" scenarios