Error LaunchMSIUpdates

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

Error LaunchMSIUpdates
 
xblb




Posts: 36
Joined: 2017-11-27
Hello!

I do a setup using MSI Installer. Then Publish with ClickTwice using installation url.
Make two versions.
First install good. But when I try to use LaunchMSIUpdates, I get error.
While if I run the second installer from the url, it works fine.

Thanks,

Timestamp: 05.12.2017 12:56:59
Message: HandlingInstanceID: 9f400429-7610-46f6-a9ca-b0ad7f3dec04
An exception of type 'System.Security.Cryptography.CryptographicException' occurred and was caught.
---------------------------------------------------------------------------------------------------
12/05/2017 15:56:59
Type : System.Security.Cryptography.CryptographicException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Verification failed: Can't verify the signature of the 'asoiwordaddin.exe' file. Error: 0x800B0109
Source : AddinExpress.MSO.2005
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite : Boolean VerifyBinaryFile(System.String)
HResult : -2146233296
Stack Trace : в AddinExpress.Projects.Common.Signer.VerifyBinaryFile(String filePath)
в AddinExpress.Projects.Common.Utilities.ReadVersionInfo(String appDir, XmlDocument versionInfoDoc, String downloaderFilePath)
в AddinExpress.Projects.Common.Utilities.LaunchUpdates(Object module, String updateUrl, String tempFolder, IWebProxy proxy, String appDir, String commandLine, Boolean hideDownloaderWindow, Int32 msiUILevel)
в AddinExpress.MSO.ADXAddinModule.LaunchMSIUpdates(String url)
в ASOI_AddIns_Word.ThisAddIn.CheckAndUpdate()

Additional Info:

MachineName : ASOI-LEONID
TimeStamp : 05.12.2017 12:56:59
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
AppDomainName : C:\Program Files (x86)\Interfax\ASOI3\ASOI_AddIns_Word\
ThreadIdentity :
WindowsIdentity : DEVEL\xblb
Inner Exception
---------------
Type : System.Security.Cryptography.CryptographicException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Цепочка сертификатов обработана, но обработка прервана на корневом сертификате, у которого отсутствует отношение доверия с поставщиком доверия.

Source :
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite :
HResult : -2146762487
Stack Trace : The stack trace is unavailable.

Assembly Versions:
ASOI.AddIns.Word 3.0.6548.28526
ASOI.Common 3.0.6548.25233
ASOI.Forms 3.0.6548.25234
ASOI.Services.Client 3.0.6548.25233
ASOI.Services.CommunicationServiceHost 3.0.6548.25233
ASOI.Services.Contract 3.0.6548.25233


Category: Email
Priority: 0
EventId: 100
Severity: Error
Title:ASOI Word AddIn2016 Exception
Machine: ASOI-LEONID
Application Domain: C:\Program Files (x86)\Interfax\ASOI3\ASOI_AddIns_Word\
Process Id: 29208
Process Name: C:\Program Files\Microsoft Office\Office16\WINWORD.EXE
Win32 Thread Id: 29212
Thread Name:
Extended Properties:
Posted 05 Dec, 2017 08:31:07 Top
Sergey Grischenko


Add-in Express team


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

Do you use a test certificate to sign the ClickTwice based installation? If so, you need to import the certificate into the Personal and the Trusted Root Certification Authorities stores. Please read the following articles that describe how to achieve this:
https://technet.microsoft.com/en-us/library/cc754489(v=ws.11).aspx
http://www.sqlservermart.com/HowTo/Windows_Import_Certificate.aspx
Posted 05 Dec, 2017 09:25:00 Top
xblb




Posts: 36
Joined: 2017-11-27
Thanks for the answer.
Now I get another error.
Installation for all users. To the installation folder full access for all

Timestamp: 06.12.2017 8:41:21
Message: HandlingInstanceID: c1f05ab1-655f-4999-a1fd-dc4a364f43fb
An exception of type 'System.ComponentModel.Win32Exception' occurred and was caught.
------------------------------------------------------------------------------------
12/06/2017 11:41:21
Type : System.ComponentModel.Win32Exception, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Отказано в доступе
Source : System
Help link :
NativeErrorCode : 5
ErrorCode : -2147467259
Data : System.Collections.ListDictionaryInternal
TargetSite : Boolean StartWithShellExecuteEx(System.Diagnostics.ProcessStartInfo)
HResult : -2147467259
Stack Trace : в System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
в System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
в AddinExpress.Projects.Common.Utilities.LaunchUpdates(Object module, String updateUrl, String tempFolder, IWebProxy proxy, String appDir, String commandLine, Boolean hideDownloaderWindow, Int32 msiUILevel)
в AddinExpress.MSO.ADXAddinModule.LaunchMSIUpdates(String url)
в ASOI_AddIns_Word.ThisAddIn.CheckAndUpdate()

Additional Info:

MachineName : ASOI-LEONID
TimeStamp : 06.12.2017 8:41:21
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
AppDomainName : C:\Program Files (x86)\Interfax\ASOI3\ASOI_AddIns_Word\
ThreadIdentity :
WindowsIdentity : DEVEL\xblb

Assembly Versions:
ASOI.AddIns.Word 3.0.6549.19827
ASOI.Common 3.0.6549.19826
ASOI.Forms 3.0.6549.19826
ASOI.Services.Client 3.0.6549.19826
ASOI.Services.CommunicationServiceHost 3.0.6549.19826
ASOI.Services.Contract 3.0.6549.19825


Category: Email
Priority: 0
EventId: 100
Severity: Error
Title:ASOI Word AddIn2016 Exception
Machine: ASOI-LEONID
Application Domain: C:\Program Files (x86)\Interfax\ASOI3\ASOI_AddIns_Word\
Process Id: 30448
Process Name: C:\Program Files\Microsoft Office\Office16\WINWORD.EXE
Win32 Thread Id: 29876
Thread Name:
Extended Properties:
Posted 06 Dec, 2017 04:22:00 Top
xblb




Posts: 36
Joined: 2017-11-27
After manipulations according to
https://answers.microsoft.com/ru-ru/windows/forum/windows_10-performance/%D0%BF%D0%B0%D1%80%D0%B0%D0%BC%D0%B5%D1%82%D1%80/6c577953-693e-4227-a5db-65734b3d7169?auth=1

I get another error
Timestamp: 06.12.2017 12:56:18
Message: HandlingInstanceID: 70425681-6460-4bb1-92ef-ad2f72d5c4b0
An exception of type 'System.ComponentModel.Win32Exception' occurred and was caught.
------------------------------------------------------------------------------------
12/06/2017 15:56:18
Type : System.ComponentModel.Win32Exception, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Не удается найти указанный файл
Source : System
Help link :
NativeErrorCode : 2
ErrorCode : -2147467259
Data : System.Collections.ListDictionaryInternal
TargetSite : Boolean StartWithShellExecuteEx(System.Diagnostics.ProcessStartInfo)
HResult : -2147467259
Stack Trace : в System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
в System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
в AddinExpress.Projects.Common.Utilities.LaunchUpdates(Object module, String updateUrl, String tempFolder, IWebProxy proxy, String appDir, String commandLine, Boolean hideDownloaderWindow, Int32 msiUILevel)
в AddinExpress.MSO.ADXAddinModule.LaunchMSIUpdates(String url)
в ASOI_AddIns_Word.ThisAddIn.CheckAndUpdate()

Additional Info:

MachineName : ASOI-LEONID
TimeStamp : 06.12.2017 12:56:18
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
AppDomainName : C:\Program Files (x86)\Interfax\ASOI3\ASOI_AddIns_Word\
ThreadIdentity :
WindowsIdentity : DEVEL\xblb

Assembly Versions:
ASOI.AddIns.Word 3.0.6549.19827
ASOI.Common 3.0.6549.19826
ASOI.Forms 3.0.6549.19826
ASOI.Services.Client 3.0.6549.19826
ASOI.Services.CommunicationServiceHost 3.0.6549.19826
ASOI.Services.Contract 3.0.6549.19825


Category: Email
Priority: 0
EventId: 100
Severity: Error
Title:ASOI Word AddIn2016 Exception
Machine: ASOI-LEONID
Application Domain: C:\Program Files (x86)\Interfax\ASOI3\ASOI_AddIns_Word\
Process Id: 12928
Process Name: C:\Program Files\Microsoft Office\Office16\WINWORD.EXE
Win32 Thread Id: 12744
Thread Name:
Extended Properties:
Posted 06 Dec, 2017 10:06:56 Top
xblb




Posts: 36
Joined: 2017-11-27
The error Access denied method LaunchMSIUpdates get and, if setup is published to a local folder

Win 10
VS 2015
Posted 06 Dec, 2017 11:24:18 Top
Sergey Grischenko


Add-in Express team


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

Do you have any antivirus software installed on the PC?
Posted 07 Dec, 2017 04:33:26 Top
xblb




Posts: 36
Joined: 2017-11-27
Yes, Symantec EndPoint Protection
Posted 07 Dec, 2017 04:38:38 Top
Sergey Grischenko


Add-in Express team


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

Please disable the protection, install the add-in again and call LaunchMSIUpdates. Do you get the same issue?
Posted 07 Dec, 2017 11:52:29 Top
xblb




Posts: 36
Joined: 2017-11-27
when the protection is turned off, it works normally. do I have to add something to the protection exceptions?
while the updater works and when the protection is enabled, requesting permission to run
Posted 08 Dec, 2017 03:40:30 Top
Sergey Grischenko


Add-in Express team


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

Please try to sign the ClickTwice installation using the valid code signing certificate, not a test one. It should resolve the issue with the antivirus software.
Posted 08 Dec, 2017 05:21:27 Top