I need to write an "Install" script in which it installs an application with it's associated files. It also needs to make sure that the application runs in the background and is executed upon bootup of the PC. Can anyone point me in the right direction for this?

Thanks,