Automatic Updater not working, but wyUpdate.exe does - help pleaseSolved

Hi - I've got a Outlook (VSTO) plugin and i have used wyBuild and Automatic Updater to provide an update facility in the app. Now just as I have a new release ready to go, I unfortunately find that I can't get the code to update through the AutoUpdater in the app.

It flashes up the User Account Control window, then the wyUpdate 'Downloading & Installing updates' window with a tick next to 'Downloading update' and the spinny blue circle next to Extracting files. It then sits there like that forever. If I click cancel, then it throws an unhandled exception error. (I can send screenshots is you like)

However, if I run wyUpdate.exe from the install directory, it all goes swimmingly and my plugin is updated fine.

Can you please suggest what I can do there, as I'd really like to fix this problem up with minimal impact on my customers.

ThanksMarcin

Please copy & paste the full exception.

Hi Wyatt

Here's the exception text

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************System.NullReferenceException: Object reference not set to an instance of an object. at wyUpdate.frmMain.CancelUpdate(Boolean ForceClose, Boolean skipConfirmDialog) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll----------------------------------------wyUpdate Assembly Version: 2.6.18.0 Win32 Version: 2.6.18.0 CodeBase: file:///C:/Users/marcin/wc/0d4b/selfupdate/base/InstantUpdate.exe----------------------------------------System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll----------------------------------------System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll----------------------------------------System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------System.ServiceProcess Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll----------------------------------------

************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.

For example:

<configuration> <system.windows.forms jitDebugging="true" /></configuration>

When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box.

We'll be fixing this in the next day or 2. Hold off on your update until then.

What version of the AutomaticUpdater are you using?

I'm using the winforms automatic updater running under .net 3.5

On my drive it tells me it's at v2.6.18.0, but my previous release was back in mid-Feb so not entirely sure what the version that went out with code.

btw, thanks for getting onto this so quickly

We've just released a fixed version of wyupdate (v2.6.18.2). Any users that don't have this problem won't get it. If you're still getting the problem, close wyUpdate (or crash it) then run this in a commandline window:

rmdir /s /q "%userprofile%\wc"

This will clear the AutomaticUpdater cache and thus clear out the old version of wyUpdate.

I truly apologize for this. We're making sure nothing like this happens again.

Hi Wyatt

Initial tests appear to work - thanks for that. I did have to clear the /wc directory, but I expect for my customers (who wouldn't have downloaded the update yet) this shouldn't be an issue.

Thanks again for the really quick turn around on this, and I'll let you know if there are any further issues.

Cheers,Marcin