"..of any computer..."
On windows the startup is a registry entry that tells the system to run a file on certain path, you can do it through the api functions; also nsis installer have its own script language that allows to work with the registry.
The registry keys are
(there are also other keys: Run, RunOnce, RunServices, RunServicesOnce)
//for single user installation
//for all computer users