I'm not sure what the question is. You have to close your app to update your app.
-Application Windows Forms Application.Net Framework -4.0Automatic Updaterdll 4.0wyUpdate Version -2.6.18.4
HiI am trying to Apply Updates to My Application without User Interaction.i.e everytime there are updates available it should Download those updates and Applied them to my Windows Application
Steps which i followed till now 1.Placed Automatic Updater Control on My Form2. In Constructor i have checked InitializeComponent(); if (!automaticUpdater.ClosingForInstall) { _logger = new Logger("Start"); }
and when Ready to Install Event is called3. I did this private void automaticUpdater_ReadyToBeInstalled(object sender, EventArgs e) { _logger.Write(string.Format("Updates Available - {0}", DateTime.Now.ToString("dd/MM/yyyy hh:mm:ss"))); automaticUpdater.InstallNow(); }
but still it is not apply updates to my application until unless i either close all processes but i don't want this dialog window to be shown.
i simply want CheckForUpdates,Download them if available and Apply them silently to my Windows Application.
Please help meThanks
I'm not sure what the question is. You have to close your app to update your app.
Hi Wyatt
can let me know can i just apply Updates Automatically to My Application if it is already in running Mode ?if it can be ,can it done without popping up the Close,Close Processed,Update Cancel Dialog Box ?
Thanks
The way to prevent the "Close processes" dialog from showing is to close your process before running wyUpdate. wyUpdate needs access to your files in order to update them. Thus your processes have to be closed.
Is it possible to have the update close all of the processes automatically without requiring the user to click a button to do so.
I would like the update to run without need for user intervention once they have asked to update it.
Hi Wyatt,
I would like my application, when launched, to check to see if the user is valid and if so, to see if there is a new update. I would like this to happen each time the app is launched. If there is a new update, a window will show displaying the update notes and two buttons "UPDATE NOW" which is defaulted, and "NOT NOW" which will just skip the updates. How would I go about doing this in C#?
Regards, Jeagr
Is it possible to have the update close all of the processes automatically without requiring the user to click a button to do so.
Yes, you have to do this in your app.
I would like my application, when launched, to check to see if the user is valid and if so, to see if there is a new update. I would like this to happen each time the app is launched. If there is a new update, a window will show displaying the update notes and two buttons "UPDATE NOW" which is defaulted, and "NOT NOW" which will just skip the updates. How would I go about doing this in C#?
Set the UPdateType for the AutomaticUPdater to "CheckOnly", then if there are updates give the user the option of installing or doing it later. If you're using wyUpdate.exe in standalone mode the the same principles apply.
Great. Now that I have the UpdateType set to CheckOnly, how do I get the application to check when it is loaded, rather than relying on the user to click a "CheckForUpdates" button?
It already automatically does it (hence the name automatic updater). Look at the DaysBetweenChecks property and note that the AutomaticUpdater doesn't check for updates on every startup (that would be bad behavior).
Hi,
I need to add some questions because I have the same update procedure for now in my app with a different updater component.
My actual updater http://www.updatesystem.net/ does the following, each time my app starts in the splash screen:
1. Check for updates2. If there are updates available, downloads them3. Closes my app4. Installs the update5. Restarts my app and begins with 1.
If there are no more updates available my app continues to run.
For the moment, I have no idea how to do that with wyBuild.
Thanks!
For the moment, I have no idea how to do that with wyBuild.
Yes, it can do that. Start here: Walkthrough for your first time using wyBuild
If you have any other questions we'll be glad to help.