none
Outlook Add in can't be installed on a machine after installing Office 2013 RRS feed

  • Question

  • I have implemented an Outlook add in visual studio 2010 using Outlook Add in template and VSTO, I created an install for it using MSI installer (created in visual studio 2010).. I am able to install it on all the machines (including x86 and x64).

    Recently I tried to install the same exact installer on a machine which has Office 2013 installed on it and getting the following error:

    

    I should emphasize that I haven't changed anything in the system configuration and just installed Office 2013 in addition to what was installed there.

    I ran the MSI in "Lv" mode (logging with verbose) and log file doesn't give me helpful information. All it contains is :

    === Logging stopped: 15/02/2013  14:22:04 ===
    MSI (c) (20:24) [14:22:04:626]: Note: 1: 1708 
    MSI (c) (20:24) [14:22:04:626]: Note: 1: 2262 2: Error 3: -2147287038 
    MSI (c) (20:24) [14:22:04:626]: Note: 1: 2262 2: Error 3: -2147287038 
    MSI (c) (20:24) [14:22:04:626]: Product:  Outlook AddIn -- Installation failed.

    MSI (c) (20:24) [14:22:04:626]: Windows Installer installed the product. Product Name: Outlook AddIn. Product Version: 1.7.0. Product Language: 1033. Manufacturer: "Company". Installation success or error status: 1603.

    MSI (c) (20:24) [14:22:04:626]: Grabbed execution mutex.
    MSI (c) (20:24) [14:22:04:626]: Cleaning up uninstalled install packages, if any exist
    MSI (c) (20:24) [14:22:04:641]: MainEngineThread is returning 1603
    === Verbose logging stopped: 15/02/2013  14:22:04 ===

    Thanks for help in advance...



    Friday, February 15, 2013 3:39 AM

Answers

  • as you can see for yourself - you have few launch conditions and one or more of them are failing on your machine - either remove them or find out which one of them is the culprit and fix it.

    • Marked as answer by Mohsen Mahdieh Tuesday, February 19, 2013 11:19 PM
    Tuesday, February 19, 2013 5:02 AM

All replies

  • as this message says - do not run setup.msi directly, click setup.exe - this exe is responsible for installation of missing prerequisites for your add-in - your msi detected that some of them are missing and cannot install it by itself.
    • Marked as answer by Mohsen Mahdieh Sunday, February 17, 2013 9:48 PM
    • Unmarked as answer by Mohsen Mahdieh Sunday, February 17, 2013 10:29 PM
    Friday, February 15, 2013 11:08 AM
  • Thanks Damian,

    I ran "setup.exe" as well. but no change.. same error I get. I tried to install all the prerequisite manually, no change. I exclude all the prerequisite from installer in project, no change... It seems there is a problem which is caused by office 2013 and installer couldn't figure it out.


    Sunday, February 17, 2013 9:50 PM
  • by default msi does not have any prerequisite (other then msi version itself) so please double check if prerequisites section of msi is indeed empty. if you want you can shows us screenshot of this section of msi project.
    Monday, February 18, 2013 5:06 AM
  • I have made prerequisites section empty and tried to install it, but no change. It still complains about same error I mentioned before.

    Thanks


    Monday, February 18, 2013 5:51 AM
  • this is not what i was asking for - i want to see launch conditions editor of your msi project.
    Monday, February 18, 2013 7:19 AM
  • OK, this is the launch condition:

    Thanks

    Monday, February 18, 2013 10:36 PM
  • as you can see for yourself - you have few launch conditions and one or more of them are failing on your machine - either remove them or find out which one of them is the culprit and fix it.

    • Marked as answer by Mohsen Mahdieh Tuesday, February 19, 2013 11:19 PM
    Tuesday, February 19, 2013 5:02 AM
  • Damian,

    I have added a new condition to detect 'window build'. So for 'Win 8' and 'Win Server 2012', installer ignores 'verify outlook 2007 or 2010' launch condition.

    Thanks for you help.

    Tuesday, February 19, 2013 11:26 PM