Like many program's updater I'm trying to make my own updater which will not allow users to run it by double click.

It can only be started from my main application by ShellExecute.

What should be the ideal approach for this ?