RestartApp can be called to restart your current
application, in the same manner as when Update
method is called - but without actually replacing any
files. You can set CmdBefore,
CmdAfter
and other properties that affect the update. Your
application will be restarted with same privileges and same
command line as it was initialy started.
Please note that after calling RestartApp method, or
your update infomation (which you may collected through
Check
method) will be lost.