wyUpdate doesn't restart the app

Hi,

We've just upgraded to the latest wyUpdate .dll and .exe for our project.

The update download works fine, but after closing for install, our app doesn't restart automatically.

If the user re-runs our app, then wyUpdate runs and updates without hassles.

We've replicated this on XP and Win 7 a few times.

The old version restarted automatically. Is there anything that we're missing?

Thanks,

Andrew

An update:- on 3 of 21 machines, the update restarted automatically.- all the updates are from the same previous to the same next version.

We've cancelled the update awaiting your support reply as it means sending out support staff to re-run our app.

We can't reproduce this problem. Can you send us a simple example project that reproduces this? Is your app using "Application.Run()" to start your main form, or are you using "Form.Show()"? Check your program.cs file. You should always use Application.Run()

Hi Wyatt,

Thanks for your quick feedback!

We use Application.Run() with a slight twist:As we are using some IPC, we need an external handle to the form so we do: f1 = new Form1(); Application.Run(f1);wyUpdate has worked fine with this in the past.

My guess would be the problem occurs not in startup, but in the shutdown after we call automaticUpdater.InstallNow()

wyUpdate runs, and flashes the first two checkboxes, the progressbar gets to maybe 40% and then exits. Its hard to read, as it flashes past fast.

The app doesn't then restart. When the user (or us) restart it manually, wyUpdate completes the update.

We've checked our code, and nothing has changed in the way we use wyUpdate, just the update to wybuild and wyupdate.dll 2.6.11.2

Andrew

I still can't reproduce this. Can you put together an example project that reproduces this? Send it to wyatt@wyday.com .

I know you can't fix what you can't replicate, but we need the legal dept to Ok any source that leaves the co., and that takes time.

We were hoping there might be some tip as to why the wyUpdate dies halfway through, but only on shutdown.

We'll cut down the code, remove the "sensitive" stuff and send you an example.