the file osinstall.mpkg missing
When you install from an "install application" on a primary-path disk, it guts the "install application" into an empty shell.

Copy the "install application" to an external drive.  When installed from there it does not end up gutted, or just use the external drive as a reusable copy.