Hi Down,
In Advertisement, the installer registers the application, creates shortcuts and menu entries, associates file types etc. without actually copying the application files to the hard drive. I you or another application tries to access the advertised program, it is installed on demand. Hence when you click on the advertised shortcut on your machine, it first goes for self-healing (installing the files/registry etc) and then the application is launched.
Thanks.