Malware is software. It gets installed just like any other software on a computer.

Can you order the steps for installing malware on your computer?

Grant the installer access to parts of your computer to start the installation processStart the installation processGrant additional access while the program is installing

Woah! Did you ever notice how much access you grant to software on your computer?

The installer requests access to parts of your computer, starts the installation process, then requests more access.