Osinstaler.postscript.pkg error

Hi, so I'm new to hackintosh scene. I wanted to install macOS Catalina on my pc so i stole an dmg file from my friend. Long story short installation goes smoothly untill I actually start instaling then it speeds up and posts an error "OSinstaler.postscript.pkg error" I've been stuck on this and can't find a solution.

Does anyone know how to fix it?

submitted by /u/IJC2311
[link] [comments]