Fix installation failed with error code (0xc8000222)