During start-up I run:
string path = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles) + @"\MyApp\wyUpdate.exe";Process updaterProcess = Process.Start(path, "-quickcheck -noerr");updaterProcess.WaitForExit();
You shouldn't hardcode paths like this. There's no guarantee that your app will be installed to C:\Program Files\MyApp on your users' computers. Use:
string path = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "wyUpdate.exe");Process updaterProcess = Process.Start(path, "-quickcheck -noerr");updaterProcess.WaitForExit();
Or, since you're using C#, use the AutomaticUpdater control.
When I launch my app I get the wyupdate prompt that version 1.1 is available. I press Update, wyUpdate prompts to close process, and shows the update complete screen.
I run the app again and get the same prompt that 1.1 is available.
Are you actually updating any files? That is, when you update is version 1.1 of your app installed? I'm trying to reproduce this behavior. It would help if I could see your wyBuild project file. Could you send it to support@wyday.com ?
EDIT:
Looks like it was just a bad client file, I dragged in new wyUpdate and client files into the installation folder and the update loop is gone.
Ok. Tell me if this happens again.