Chris Ducharme
Posts: 57
Joined: 2013-05-09
|
Howdy
We have had an add-in that has been installing with our 32 bit program / 32 bit installer. We are in the process of adding a 64 bit installer for our program. When adding our add-in to the installer, it seems to install correctly, but when we try to run the Outlook add-in, it appears in the active add-in section but does not load. Below is the loader log. Any suggestions or ideas? Thanks.
Add-in Express Loader Log File: 08/31/2023 07:59:24:948
Startup directory: C:\Program Files (x86)\Minisoft\ARCS\
Loader version: 9.4.4644.0
Operating System: Microsoft Windows 10 Professional (build 22621), 64-bit
Process Owner: Administrator
Command Line: "C:\Program Files\Microsoft Office\root\Office16\OUTLOOK.EXE"
Run 'As Administrator': No
Process Elevated: No
Integrity Level: Medium
UAC (User Account Control): On
------------------------------------------------------------------------
07:59:24:949 10708 17124 Start.
07:59:24:949 10708 17124 The host's version is 16.0.16626.20170
07:59:24:950 10708 17124 Creating a new instance of the add-in loader.
07:59:24:950 10708 17124 Loading mscoree.dll
07:59:24:950 10708 17124 INFO: Assembly codebase - C:\Program Files (x86)\Minisoft\ARCS\ARCSOutlookAddIn.dll.
07:59:24:950 10708 17124 INFO: Assembly version - 1.3.13.11.
07:59:24:951 10708 17124 Success.
07:59:24:951 10708 17124 Loading the configuration from the system registry.
07:59:24:951 10708 17124 Getting the latest CLR version.
07:59:24:953 10708 17124 The latest CLR version is 'v4.0.30319'.
07:59:24:953 10708 17124 The configuration has been loaded successfully.
07:59:24:953 10708 17124 Runtime version: v4.0.30319.
07:59:24:953 10708 17124 Assembly name: ARCSOutlookAddIn.
07:59:24:953 10708 17124 Class name: ARCSOutlookAddIn.AddinModule.
07:59:24:953 10708 17124 Registry key: CLSID\{BEB39FD1-B252-4AC8-A008-79CFCE9B1175}.
07:59:25:006 10708 17124 Attempting to create a new instance of the managed add-in class: CLR - v4.0.30319
07:59:25:006 10708 17124 Loading CLR: v4.0.30319.
07:59:25:006 10708 17124 Calling CLRCreateInstance method.
07:59:25:006 10708 17124 Success.
07:59:25:006 10708 17124 Calling GetRuntime method.
07:59:25:006 10708 17124 Success.
07:59:25:006 10708 17124 Checking if the hosting API of .NET Framework v4.0 beta is installed.
07:59:25:006 10708 17124 The hosting API is up to date.
07:59:25:006 10708 17124 Calling SetDefaultStartupFlags method.
07:59:25:007 10708 17124 Success.
07:59:25:007 10708 17124 Calling GetInterface method for the CorRuntimeHost interface.
07:59:25:007 10708 17124 Success.
07:59:25:007 10708 17124 Starting CLR...
07:59:25:008 10708 17124 Success.
07:59:25:008 10708 17124 Getting the CLR version.
07:59:25:008 10708 17124 The CLR v4.0.30319 has been initialized successfully.
07:59:25:045 10708 17124 Hash verification failed |
|
Andrei Smolin
Add-in Express team
Posts: 19122
Joined: 2006-05-11
|
Hello Chris,
Does building the project produce any warning?
Also, Add-in Express generates a setup project that builds a 32-bit installer. Such an installer can run on both 32-bit and 64-bit systems.
Andrei Smolin
Add-in Express Team Leader |
|
Chris Ducharme
Posts: 57
Joined: 2013-05-09
|
No warnings on install. When using an installer created just for this project, it works fine. But when we add the files to have install with the rest of our application, we get the above log file.
It worked fine when we were including it with our 32 bit installer. But not now with our 64 bit installer. |
|
Andrei Smolin
Add-in Express team
Posts: 19122
Joined: 2006-05-11
|
Hello Chris,
Chris Ducharme writes:
No warnings on install.
My question is: Does building the add-in project produce any warning? Make sure warnings are enabled.
Regards from Poland (GMT+2),
Andrei Smolin
Add-in Express Team Leader |
|
Chris Ducharme
Posts: 57
Joined: 2013-05-09
|
Building the app is as follows:
1>------ Rebuild All started: Project: MyAddin, Configuration: Debug Any CPU ------
1>C:\MyAddin2017\MyAddin\MyAddin\Forms\frmAddInLookup.vb(2786,63): warning BC40000: 'GridMenuEventArgs' is obsolete: 'You should use the 'PopupMenuShowingEventArgs' instead'.
1>C:\MyAddin2017\MyAddin\MyAddin\Forms\frmAddInLookup.vb(2786,100): warning BC40000: 'Public Event ShowGridMenu As GridMenuEventHandler' is obsolete: 'You should use the 'PopupMenuShowing' instead'.
1>C:\MyAddin2017\MyAddin\MyAddin\HGROutlook\clsHGROutlookApplication.vb(16,9): warning BC40056: Namespace or type specified in the Imports 'MyAddinNew.Redemption' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
1>C:\MyAddin2017\MyAddin\MyAddin\Classes\clsAppSettings.vb(465,33): warning BC40000: 'Public Shared Overloads ReadOnly Property AppSettings As NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'.
1>C:\MyAddin2017\MyAddin\MyAddin\Classes\clsAppSettings.vb(480,39): warning BC40000: 'Public Shared Overloads ReadOnly Property AppSettings As NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'.
1>C:\MyAddin2017\MyAddin\MyAddin\Classes\clsAppSettings.vb(493,40): warning BC40000: 'Public Shared Overloads ReadOnly Property AppSettings As NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'.
1>C:\MyAddin2017\MyAddin\MyAddin\AddinModule.vb(554,5): warning BC42353: Function 'onAddinStartupComplete' doesn't return a value on all code paths. Are you missing a 'Return' statement?
1>C:\MyAddin2017\MyAddin\MyAddin\Forms\frmAddInPropertyPage.vb(303,5): warning BC42353: Function 'CheckForConfigFile' doesn't return a value on all code paths. Are you missing a 'Return' statement?
1>C:\MyAddin2017\MyAddin\MyAddin\Forms\frmMyPropertyPage.vb(322,5): warning BC42353: Function 'CheckForConfigFile' doesn't return a value on all code paths. Are you missing a 'Return' statement?
1>C:\MyAddin2017\MyAddin\MyAddin\Classes\clsUnhandledExceptionManager.vb(880,23): warning BC42025: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated.
1>C:\MyAddin2017\MyAddin\MyAddin\Classes\clsUnhandledExceptionManager.vb(914,17): warning BC40000: 'Public Shared Overloads Function GetHostByName(hostName As String) As IPHostEntry' is obsolete: 'GetHostByName is obsoleted for this type, please use GetHostEntry instead. http://go.microsoft.com/fwlink/?linkid=14202'.
1>C:\MyAddin2017\MyAddin\MyAddin\Classes\clsUnhandledExceptionManager.vb(932,43): warning BC40000: 'Public Shared Overloads ReadOnly Property AppSettings As NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'.
1>C:\MyAddin2017\MyAddin\MyAddin\Classes\clsUnhandledExceptionManager.vb(960,23): warning BC40000: 'Public Shared Overloads ReadOnly Property AppSettings As NameValueCollection' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings'.
1>C:\MyAddin2017\MyAddin\MyAddin\Classes\clsAddInProvider.vb(1604,13): warning BC42024: Unused local variable: 'l_Task'.
1> MyAddin -> C:\MyAddin2017\MyAddin\MyAddin\bin\Debug\MyAddin.dll
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ========== |
|
Andrei Smolin
Add-in Express team
Posts: 19122
Joined: 2006-05-11
|
Hello Chris,
Please create a new empty project and sign it using that certificate. Does it produce the same issue?
And since you use Add-in Express 9.4, is the certificate an EV Code Signing certificate?
Regards from Poland (GMT+2),
Andrei Smolin
Add-in Express Team Leader |
|