Wix Setup - Addin installs but does not show anywhere in Outlook

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

Wix Setup - Addin installs but does not show anywhere in Outlook
 
Carlos Gonzalez




Posts: 25
Joined: 2009-12-22
I recently upgraded to Visual Studio 2013 and bought the ".net to wix setup project converter".
I was able to debug on my development machine. I created the two setup files (MSI and wixpdb).
When I try to install the add-in at my customer's computers, the install seems to works fine.
Here are the events:
Beginning a Windows Installer transaction: M:\ICCO\R & D\Outlook Add In\Version8\ICCOOutlookAddInSetup(8.0.475O).msi. Client Process Id: 2516.
Successfully created restore point (Process = C:\Windows\system32\msiexec.exe /V; Description = Installed Outlook AddIn).
Ending a Windows Installer transaction: M:\ICCO\R & D\Outlook Add In\Version8\ICCOOutlookAddInSetup(8.0.475O).msi. Client Process Id: 2516.
Starting session 0 - ‎2014‎-‎02‎-‎12T15:12:42.640804100Z.
Ending session 0 started ‎2014‎-‎02‎-‎12T15:12:42.640804100Z.
Product: Outlook AddIn -- Installation completed successfully.
Windows Installer installed the product. Product Name: Outlook AddIn. Product Version: 8.0.583. Product Language: 0. Manufacturer: ICCO. Installation success or error status: 0.


However, Outlook does not load the addin. Here is the event that shows what Outlook adds:
Outlook loaded the following add-in(s):


Name: Microsoft Exchange Add-in
Description: Exchange support for Unified Messaging, e-mail permission rules, and calendar availability.
ProgID: UmOutlookAddin.FormRegionAddin
GUID: {F959DBBB-3867-41F2-8E5F-3B8BEFAA81B3}
Load Behavior: 3
HKLM: 1
Location: C:\Program Files\Microsoft Office\Office15\ADDINS\UmOutlookAddin.dll
Boot Time (Milliseconds): 0

Name: Lync Meeting Add-in for Microsoft Office Professional Plus 2013
Description: Lync Meeting Add-in for Microsoft Office Professional Plus 2013
ProgID: UCAddin.LyncAddin.1
GUID: {A6A2383F-AD50-4D52-8110-3508275E77F7}
Load Behavior: 3
HKLM: 1
Location: C:\Program Files\Microsoft Office\Office15\UCAddin.dll
Boot Time (Milliseconds): 0

Name: OneNote Notes about Outlook Items
Description: Adds Send to OneNote and Notes about this Item buttons to the command bar
ProgID: OneNote.OutlookAddin
GUID: {93E5752E-B889-47C5-8545-654EE2533C64}
Load Behavior: 3
HKLM: 1
Location: C:\Program Files\Microsoft Office\Office15\ONBttnOL.dll
Boot Time (Milliseconds): 31

Name: Microsoft Office Communicator 2007 Add-in
Description: Outlook 12 add-in to support Communicator custom forms
ProgID: OcOffice.OcForms
GUID: {2CD5239C-7739-42F1-9C94-2A8E24A9BBD9}
Load Behavior: 3
HKLM: 0
Location: C:\Program Files\Microsoft Office\Office15\OcOffice.dll
Boot Time (Milliseconds): 0

Name: ESET Outlook Add-in
Description:
ProgID: ESET.OutlookAddin
GUID: {F43F5136-AA90-4005-9368-F91F5C120D69}
Load Behavior: 3
HKLM: 1
Location: C:\Program Files\ESET\ESET Smart Security\eplgOutlook.dll
Boot Time (Milliseconds): 78

Name: Microsoft SharePoint Server Colleague Import Add-in
Description: The Add-in allows Microsoft SharePoint Server to import colleague suggestions based on your Outlook content
ProgID: ColleagueImport.ColleagueImportAddin
GUID: {EFEF7FDB-0CED-4FB6-B3BB-3C50D39F4120}
Load Behavior: 3
HKLM: 0
Location: C:\Program Files\Microsoft Office\Office15\ADDINS\ColleagueImport.dll
Boot Time (Milliseconds): 0


I don't even know where to begin troubleshooting.
Could you please help me?
Posted 12 Feb, 2014 09:26:03 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Hello Carlos,

Can you please uninstall your add-in, install it anew, start Outlook and send me copies of these files to the support email address:

-{My Documents}\Add-in Express\adxregistrator.log in the profile of the user who runs the installer
-{My Documents}\Add-in Express\adxloader.log in the profile of the user who starts Excel

You can find the support email address in {Add-in Express installation folder}\readme.txt. Please make sure your email contains a link to this topic.


Andrei Smolin
Add-in Express Team Leader
Posted 13 Feb, 2014 01:52:14 Top
Carlos Gonzalez




Posts: 25
Joined: 2009-12-22
The adxregistrator.log does end with an error. I am also going to email you the files. But here is what it says:

Add-in Express Registrator Log File: 02/13/2014 12:16:35

Installation directory: C:\Program Files (x86)\ICCO\Outlook AddIn\
Registrator version: 7.3.4061.0
Operating System: Microsoft Windows 7 Ultimate Edition Service Pack 1 (build 7601), 64-bit
Process Owner: Administrator
Command Line: "C:\Program Files (x86)\ICCO\Outlook AddIn\adxregistrator.exe" /install="ICCOOutlookAddIn.dll" /privileges=admin
Run 'As Administrator': No
Process Elevated: No
Integrity Level: Medium
UAC (User Account Control): On
--------------------------------------------------------------
12:16:35 0244 Starting the add-in registration process.
12:16:35 0244 Loading mscoree.dll
12:16:35 0244 Success.
12:16:35 0244 .NET Framework installation directory:
12:16:35 0244 The latest version of .NET Framework: 'v4.0.30319'
12:16:35 0244 Loading CLR: v4.0.30319.
12:16:35 0244 Calling CLRCreateInstance method.
12:16:35 0244 Success.
12:16:35 0244 Calling GetRuntime method.
12:16:35 0244 Success.
12:16:35 0244 Checking if the hosting API of .NET Framework v4.0 beta is installed.
12:16:35 0244 The hosting API is up to date.
12:16:35 0244 Calling GetInterface method for the CorRuntimeHost interface.
12:16:35 0244 Success.
12:16:35 0244 Starting CLR...
12:16:35 0244 Success.
12:16:35 0244 Getting the CLR version.
12:16:35 0244 The CLR v4.0.30319 has been initialized successfully.
12:16:35 0244 Creating a new domain setup.
12:16:35 0244 Success.
12:16:35 0244 Getting the add-in directory.
12:16:35 0244 Success. The directory is 'C:\Program Files (x86)\ICCO\Outlook AddIn\'
12:16:35 0244 The 'shadow copy' is disabled.
12:16:35 0244 Creating a new application domain.
12:16:35 0244 Success.
12:16:35 0244 Getting the base directory for the domain.
12:16:35 0244 Success. The directory is 'C:\Program Files (x86)\ICCO\Outlook AddIn\'.
12:16:35 0244 Searching for the Add-in Express core library.
12:16:35 0244 Error: The ADX Registrator can't find the Add-in Express core library.
12:16:35 0244 The add-in registration process is completed with HRESULT = -2147024894.
Posted 13 Feb, 2014 11:21:28 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Thank you, Carlos.

The log shows that you install a per-machine add-in but the installer is run non-elevated and this is what causes of the problem.


Andrei Smolin
Add-in Express Team Leader
Posted 14 Feb, 2014 03:01:52 Top
Carlos Gonzalez




Posts: 25
Joined: 2009-12-22
The new Wix project does not output a Setup.exe. What is the recommended way for an administrator to install the add-in on a machine? I usually right-click on the setup.exe and "run as administrator" but that option is not available on the MSI file.
Posted 17 Feb, 2014 11:42:31 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Carlos,

You can start the command prompt with elevated permission and then execute MSIEXEC.EXE with corresponding parameters to start your .MSI.


Andrei Smolin
Add-in Express Team Leader
Posted 18 Feb, 2014 00:33:52 Top
Carlos Gonzalez




Posts: 25
Joined: 2009-12-22
Still getting the same error. Here is the new log:

Add-in Express Registrator Log File: 02/18/2014 13:15:23

Installation directory: C:\Program Files (x86)\ICCO\Outlook AddIn\
Registrator version: 7.3.4061.0
Operating System: Microsoft Windows 7 Ultimate Edition Service Pack 1 (build 7601), 64-bit
Process Owner: Administrator
Command Line: "C:\Program Files (x86)\ICCO\Outlook AddIn\adxregistrator.exe" /install="ICCOOutlookAddIn.dll" /privileges=admin
Run 'As Administrator': Yes
Process Elevated: Yes
Integrity Level: High
UAC (User Account Control): On
--------------------------------------------------------------
13:15:23 0192 Starting the add-in registration process.
13:15:23 0192 Loading mscoree.dll
13:15:23 0192 Success.
13:15:23 0192 .NET Framework installation directory:
13:15:23 0192 The latest version of .NET Framework: 'v4.0.30319'
13:15:23 0192 Loading CLR: v4.0.30319.
13:15:23 0192 Calling CLRCreateInstance method.
13:15:23 0192 Success.
13:15:23 0192 Calling GetRuntime method.
13:15:23 0192 Success.
13:15:23 0192 Checking if the hosting API of .NET Framework v4.0 beta is installed.
13:15:23 0192 The hosting API is up to date.
13:15:23 0192 Calling GetInterface method for the CorRuntimeHost interface.
13:15:23 0192 Success.
13:15:23 0192 Starting CLR...
13:15:23 0192 Success.
13:15:23 0192 Getting the CLR version.
13:15:23 0192 The CLR v4.0.30319 has been initialized successfully.
13:15:23 0192 Creating a new domain setup.
13:15:23 0192 Success.
13:15:23 0192 Getting the add-in directory.
13:15:23 0192 Success. The directory is 'C:\Program Files (x86)\ICCO\Outlook AddIn\'
13:15:23 0192 The 'shadow copy' is disabled.
13:15:23 0192 Creating a new application domain.
13:15:23 0192 Success.
13:15:23 0192 Getting the base directory for the domain.
13:15:23 0192 Success. The directory is 'C:\Program Files (x86)\ICCO\Outlook AddIn\'.
13:15:23 0192 Searching for the Add-in Express core library.
13:15:23 0192 Error: The ADX Registrator can't find the Add-in Express core library.
13:15:23 0192 The add-in registration process is completed with HRESULT = -2147024894.
Posted 18 Feb, 2014 12:16:49 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Carlos,

Here' it is: Error: The ADX Registrator can't find the Add-in Express core library. In other words, the installer doesn't deploy AddinExpress.MSO.2005.DLL.

Sorry for not noticing this earlier.


Andrei Smolin
Add-in Express Team Leader
Posted 19 Feb, 2014 01:01:32 Top
Carlos Gonzalez




Posts: 25
Joined: 2009-12-22
Thank you. Are you saying I need to add something to the Wix project?
I am not familiar with Wix and I only see one file that has meaningful data: product.wxs
Here is what the VDProj to Wix Converter added to the Directory section of the product.wxs file. Do I need to change it?

<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='DesktopFolder' Name='Desktop' />
<Directory Id='ProgramMenuFolder' Name='Program Menu' />
<Component Id='com_00245906_D73B_BC49_8643_64CB30199C11' Guid='2D2D4402-4C1F-4541-9F69-3715BBBA3C9E' Permanent='no' SharedDllRefCount='no' Transitive='no'>
<File Id='_00245906_D73B_BC49_8643_64CB30199C11' DiskId='1' Hidden='no' ReadOnly='no' System='no' Vital='yes' Compressed='yes' Name='adxloader64.dll' Source='..\..\Loader\adxloader64.dll' KeyPath='yes' />
</Component>
<Component Id='com_0BBBC40A_042D_E348_A2CF_7CCB287D6D0E' Guid='F628569B-FC38-4B55-B39E-23157629790C' Permanent='no' SharedDllRefCount='no' Transitive='no'>
<File Id='_0BBBC40A_042D_E348_A2CF_7CCB287D6D0E' DiskId='1' Hidden='no' ReadOnly='no' System='no' Vital='yes' Compressed='yes' Name='adxregistrator.exe' Source='C:\Program Files (x86)\Add-in Express\Add-in Express for .NET\Redistributables\adxregistrator.exe' KeyPath='yes' />
</Component>
<Component Id='com_0FAB97E3_6615_3D41_ADC5_A146A4D5F04A' Guid='8E883114-D8E1-498F-B4BC-779EFD63E508' Permanent='no' SharedDllRefCount='no' Transitive='no'>
<File Id='_0FAB97E3_6615_3D41_ADC5_A146A4D5F04A' DiskId='1' Hidden='no' ReadOnly='no' System='no' Vital='yes' Compressed='yes' Name='app.config' Source='..\..\app.config' KeyPath='yes' />
</Component>
<Component Id='com_A403A18E_325B_E240_B46A_6F57B0813E32' Guid='8B1465B4-0340-46BA-8B63-D7E2EF4C065D' Permanent='no' SharedDllRefCount='no' Transitive='no'>
<File Id='_A403A18E_325B_E240_B46A_6F57B0813E32' DiskId='1' Hidden='no' ReadOnly='no' System='no' Vital='yes' Compressed='yes' Name='adxloader.dll.manifest' Source='..\..\Loader\adxloader.dll.manifest' KeyPath='yes' />
</Component>
<Component Id='com_DAAC69E3_432B_214E_BB45_6611DF57C948' Guid='6F5AC22C-3205-4BD3-8C66-F694C8CC648A' Permanent='no' SharedDllRefCount='no' Transitive='no'>
<File Id='_DAAC69E3_432B_214E_BB45_6611DF57C948' DiskId='1' Hidden='no' ReadOnly='no' System='no' Vital='yes' Compressed='yes' Name='adxloader.dll' Source='..\..\Loader\adxloader.dll' KeyPath='yes' />
</Component>
<Component Id='com_FDCFEDA2_A79F_2646_BDC9_21BDCFF63561' Guid='44A10FFA-AE55-4497-AE39-00E3094A94BB' Permanent='no' SharedDllRefCount='no' Transitive='no'>
<File Id='_FDCFEDA2_A79F_2646_BDC9_21BDCFF63561' DiskId='1' Hidden='no' ReadOnly='no' System='no' Vital='yes' Compressed='yes' Name='ICCOOutlookAddIn.dll' Source='..\..\bin\Obfuscated\ICCOOutlookAddIn.dll' KeyPath='yes' />
</Component>
</Directory>
Posted 19 Feb, 2014 12:32:24 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Carlos,

Please refer to the section Creating a WiX Project in the manual, see the PDF file in the folder {Add-in Express}\Docs on your development PC. Note that you have two way:
- modify the VDProj setup project
- create a new WiX project, see the section Running the Setup Project Wizard in the manual.


Andrei Smolin
Add-in Express Team Leader
Posted 20 Feb, 2014 02:47:43 Top