Automatic Updates Error on Windows 7, 8 and 8.1, but not on Windows 10

Add-in Express™ Support Service
That's what is more important than anything else

Automatic Updates Error on Windows 7, 8 and 8.1, but not on Windows 10
 
chattanooga


Guest


Hello

I followed instructions on your blog, to setup automatic updates for my outlook app.

Works flawlessly on Windows 10.

However, on Win 7/8/8.1, when you click the balloon to start the update process, and close Outlook, immediately after. It pop ups a <addin name> has stopped working
=====================================
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: <addinName>.updater
Problem Signature 02: 8.5.4401.0
Problem Signature 03: 58c17372
Problem Signature 04: mscorlib
Problem Signature 05: 4.0.30319.18449
Problem Signature 06: 528fdb6a
Problem Signature 07: 58f3
Problem Signature 08: 4d
Problem Signature 09: VZEVNFUPILSVC31Z3H5GTO45URXFKID3
OS Version: 6.2.9200.2.0.0.400.8
Locale ID: 1033
Additional Information 1: 5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: ff2f
Additional Information 4: ff2f4671a64fb7f11c25a1b7b68edac2

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=190175

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
====================================================
Posted 09 Mar, 2017 13:52:14 Top
chattanooga


Guest


I should add: after you click "close" on the stopped working dialog. It installs the update correctly, and the update in deployed correctly as well.

I just want to make this "stopped working" dialog box to go away so users don't think something has gone wrong.
Posted 09 Mar, 2017 13:54:56 Top
chattanooga


Guest


Any solution to this?
Posted 10 Mar, 2017 08:51:08 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Hello,

Could you please capture a video showing the issue in details? You can use Jing; it's free. Send the video to the support email address. You can find it in {Add-in Express installation folder}\readme.txt. Please make sure your email contains a link to this topic.

What .NET Framework version(s) do you have on the affected machine? Do you have the same set of .NET Framework versions installed on a Windows 10 machine?

Will the issue persist on a new empty add-in project?

Do you use ClickTwice custom actions in your installer?

We don't have an explanation for the issue. In fact, we don't understand the picture. Please help us: provide more info.


Andrei Smolin
Add-in Express Team Leader
Posted 10 Mar, 2017 09:14:46 Top
chattanooga


Guest


I sent you an email with all of the info you asked.
Posted 10 Mar, 2017 11:25:51 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Hello,

Thank you for sending me the files and the project. We can't reproduce the issue.

We would need to have the updater's log. The log file's location is specified in the ...\updater\{app name}.updater.exe.config file.


Andrei Smolin
Add-in Express Team Leader
Posted 13 Mar, 2017 05:25:31 Top
chattanooga


Guest


Add-in Express Updater Log File: 3/10/2017 3:31 PM

Updater version: 1.0.0
Command Line: C:\Users\ting\AppData\Local\updatetest\1E805DECA9564C839E0956D3CB30227C\1.0.0\updatetest.updater.exe
Operating System: Microsoft Windows NT 6.1.7601 Service Pack 1
------------------------------------------------------------------------

15:31:11 Start
15:31:11 Downloader command line: /updaterPath="C:\Users\ting\AppData\Local\updatetest\1E805DECA9564C839E0956D3CB30227C\1.0.0\updatetest.updater.exe" /updaterPID=648 /sid="" /productDir="C:\Users\ting\AppData\Local\Default Company\updateTest" /silentMode="false" /pipeName="4904b3f30383482c996b66546d86045d_1_0_0_WIN7\ting" /appId="1E805DECA9564C839E0956D3CB30227C"
15:31:11 Product registry key: Software\ClickTwice\1E805DECA9564C839E0956D3CB30227C
15:31:11 'Show Icon' is enabled.'
15:31:11 Running the updater application...
15:31:22 The background thread started. The update mode: OnStart
15:31:22 Thread check point 1: IsUpdatable = true
15:31:22 Thread check point 2: NextUpdateTime = 1/1/0001 12:00:00 AM
15:31:22 Thread check point 3: AutoUpdateEnabled = True, IsInstallingUpdate = 0, ConnectionsCount = 1
15:31:22 Thread check point 4: NextUpdateTime = 1/1/0001 12:00:00 AM
15:31:22 Set UI State: CheckingUpdates
15:31:22 Thread check point 5: RootUpdateUrl =
15:31:22 Thread check point 6: NewVersionUpdateUrl = http://salestingmarina.azurewebsites.net/updateTest/0/1.1.0/updatetest.exe, NewVersion = 1.1.0
15:31:22 Thread check point 7: NewVersionUpdateUrl = http://salestingmarina.azurewebsites.net/updateTest/0/1.1.0/updatetest.exe
15:31:22 Thread check point 8: NewVersionUpdateUrl = http://salestingmarina.azurewebsites.net/updateTest/0/1.1.0/updatetest.exe, NewVersion = 1.1.0
15:31:22 New update is ready. Url: http://salestingmarina.azurewebsites.net/updateTest/0/1.1.0/updatetest.exe Version: 1.1.0
15:31:23 Set UI State: UpdatesAvailable
15:31:23 Thread check point 9: The end of checking thread.
15:31:23 Thread check point 10: NextUpdateTime = 12/31/9999 11:59:59 PM
15:31:29 Set UI State: Downloading
15:31:38 Set UI State: CheckingRunningHosts
15:31:50 Set UI State: Installing
15:31:53 (Inner Exception)
Date and Time: 3/10/2017 3:31:53 PM
Machine Name: WIN7
IP Address: fe80::b8c5:977f:6f86:f851%13
Current User: WIN7\ting

Application Domain: updatetest.updater.exe
Assembly Codebase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
Assembly Full Name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Assembly Version: 4.0.0.0

Exception Source: mscorlib
Exception Type: System.Runtime.Serialization.SerializationException
Exception Message: Unable to find assembly 'AddinExpress.MSO.2005, Version=8.5.4401.0, Culture=neutral, PublicKeyToken=4416dd98f0861965'.
Exception Target Site: GetAssembly

---- Stack Trace ----
System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
mscorlib.dll: N 0075 (0x4B) IL
System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(assemblyInfo As BinaryAssemblyInfo, name As String)
mscorlib.dll: N 0163 (0xA3) IL
System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(objectName As String, memberNames As String[], binaryTypeEnumA As BinaryTypeEnum[], typeInformationA As Object[], memberAssemIds As Int32[], objectReader As ObjectReader, objectId As Int32, assemblyInfo As BinaryAssemblyInfo, assemIdToAssemblyTable As SizedArray)
mscorlib.dll: N 0096 (0x60) IL
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(record As BinaryObjectWithMapTyped)
mscorlib.dll: N 0171 (0xAB) IL
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(binaryHeaderEnum As BinaryHeaderEnum)
mscorlib.dll: N 0046 (0x2E) IL
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
mscorlib.dll: N 0229 (0xE5) IL
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(handler As HeaderHandler, serParser As __BinaryParser, fCheck As Boolean, isCrossAppDomain As Boolean, methodCallMessage As IMethodCallMessage)
mscorlib.dll: N 0114 (0x72) IL
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(serializationStream As Stream, handler As HeaderHandler, fCheck As Boolean, isCrossAppDomain As Boolean, methodCallMessage As IMethodCallMessage)
mscorlib.dll: N 0162 (0xA2) IL
AddinExpress.Projects.Common.IPCRequest..ctor(buffer As Byte[], dataLength As Int32)
mscorlib.dll: N 0079 (0x4F) IL
AddinExpress.Deployment.Updater.ADXUpdaterModule.AddinExpress.Deployment.Updater.IPCCallback.OnAsyncMessage(pipe As PipeStream, data As Byte[], bytes As Int32, state As Object)
mscorlib.dll: N 0121 (0x79) IL
AddinExpress.Deployment.Updater.IPCServer.OnAsyncMessage(result As IAsyncResult)
mscorlib.dll: N 0029 (0x1D) IL
AddinExpress.Deployment.Pipes.PipeStream.AsyncPSCallback(errorCode As UInt32, numBytes As UInt32, pOverlapped As NativeOverlapped*)
mscorlib.dll: N 0140 (0x8C) IL
System.Threading._IOCompletionCallback.PerformIOCompletionCallback(errorCode As UInt32, numBytes As UInt32, pOVERLAP As NativeOverlapped*)
mscorlib.dll: N 0019 (0x13) IL



(Outer Exception)
Date and Time: 3/10/2017 3:31:53 PM
Machine Name: WIN7
IP Address: fe80::b8c5:977f:6f86:f851%13
Current User: WIN7\ting

Application Domain: updatetest.updater.exe
Assembly Codebase: file:///C:/Users/ting/AppData/Local/updatetest/1E805DECA9564C839E0956D3CB30227C/1.0.0/updatetest.updater.exe
Assembly Full Name: updatetest.updater.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 1.0.0.0

Exception Source:
Exception Type: AddinExpress.Deployment.Updater.ADXUpdaterAppCriticalException
Exception Message: An error has occurred in the code of the ClickTwice module loaded by the updater application.

---- Stack Trace ----
Posted 13 Mar, 2017 10:07:28 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hello,

Do you use a ClickTwice module in the add-in project?
Posted 13 Mar, 2017 10:23:14 Top
chattanooga


Guest


Yes, I am using clicktwice. create a setup project with VS, and then use clicktwice.
Posted 13 Mar, 2017 11:35:08 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Hello,

You've misunderstood the question. We already know that you use ClickTwice. The question was:

Do you use a ClickTwice module in the add-in project?

Or, maybe you add a ClickTwice module to a separate class library project?


Andrei Smolin
Add-in Express Team Leader
Posted 14 Mar, 2017 04:48:38 Top