Alexis Lopez
Alexis Lopez

Reputation: 53

How to create silent installer for Office AddIn

I have a problem to create a silent installer for Outlook Add-In developed using VSTO in C#. The installer is a outlookaddin.vsto generated by clickOnce. This add-in will be published by SCCM in several computers and I need a that the installation be silently but when the package reaches to the final device appear the screen of "Microsoft Office Customization Installer" asking confirmation for install it. I need create a script with some kind of "autoclick" for clicking automatically on "Install" and "Close" buttons or create a different installer of vsto.

I tried the following methods:

I add the image of the installation screen.

VSTO installer

VSTO installer

Upvotes: 5

Views: 3703

Answers (1)

herman.smn
herman.smn

Reputation: 1347

You may try this approach:

  1. on a test machine install your current MSI setup, open Outlook and click on [Install] button; this operation will create some registry entries to security inclusion list under the following registry key:

    HKEY_CURRENT_USER\Software\Microsoft\VSTO\Security\Inclusion

    HKEY_CURRENT_USER\Software\Microsoft\VSTO\SolutionMetadata

  2. export the above registry key and import into "Registry" page of your Advanced Installer setup project; rebuild MSI; install MSI

Upvotes: 1

Related Questions