Both correct in a way i do injection moulding as a job so i know a fair bit about the process you could make up a simple kind of injection moulding machine i mean at the end of the day it's just forcing molten plastic into a mould but believe me even simple small pieces like say a bottle cap for example aren't that simple in the end.
You need to regulate the heat,pressure,cooling time,material flow and if you know nothing of polymers and how various ones act then you are going to come across all sorts of issues.
It really is an industrial thing i wouldn't recommend it for hobby stuff.