POC converting preinstallimage

So far converting only cached image.