How can I "stop" autoupdate component, and "play" it again (when some conditions are met)?
Actually my application need some user input first so update can send that input to update server like this:
autoUpdate.wyUpdateCommandline = string.Format("-urlargs:\"input1={0}&input2={1}\"", SomeInput1, SomeInput2 );
So autoupdate need to wait for user input and than start working.
I know "ForceCheckForUpdate" can trigger update checking, but how can I (really) stop it in the beginning with out using tricks like this "WaitBeforeCheckSecs=999" or this:
private void autoUpdate_BeforeChecking(object sender, wyDay.Controls.BeforeArgs e) { if (autoUpdate.wyUpdateCommandline == null || autoUpdate.wyUpdateCommandline.Equals("")) e.Cancel = true; }
private void autoUpdate_BeforeDownloading(object sender, wyDay.Controls.BeforeArgs e) { if (autoUpdate.wyUpdateCommandline == null || autoUpdate.wyUpdateCommandline.Equals("")) e.Cancel = true; }
Thanks