π Outlook Add-In (classic): Rollout in a Citrix Environment
Rollout of the classic Outlook Add-In under Citrix
This guide describes how to deploy the classic FTAPI Outlook Add-In in a Citrix environment (session hosts / VDAs). The Add-In is installed system-wide in the machine context and rolled out unattended (silent). The procedure applies analogously to other terminal server and VDI environments (for example Microsoft Terminal Server).
System requirements
The following requirements must be met on every session host or in the Golden Image:
- 64-bit operating system (32-bit is no longer supported)
- Classic Outlook 2016 or newer (not the "new" Outlook)
- .NET Framework 4.8 or higher
- VSTO 2010 Runtime
- WebView2 Runtime
For automated distribution, use the Small_Installer. It contains only the Add-In and requires .NET 4.8, the VSTO 2010 Runtime, and the WebView2 Runtime to already be installed. Add these three components permanently to your Golden Image or your OS/platform layer.
Note on the Outlook variant: This guide applies to classic Outlook. If your users work with the new Outlook or Outlook on the web, the new FTAPI Outlook Add-In applies instead. It is deployed centrally via the Microsoft 365 admin center and does not require any installation in the image.
System-wide installation (silent)
Install the Outlook Add-In system-wide for "All Users" (ALLUSERS="1"). You must use the Small_Installer for this.
Recommended rollout command (with pre-configuration):
msiexec /i "FTAPI_Outlook_AddIn_Small.msi" SERVER="subdomain.domain.com" ALLUSERS="1" USEFTAPI="Y" SECURITYLEVEL="2" HIDESENDWITHFTAPIBUTTON="Y" HIDEINSERTDOWNLOADBUTTON="Y" DEFAULTDOWNLOADBUTTONLOCATION="Middle" HIDESUBMITBOXBUTTON="Y" HIDEDAYSVALIDINPUT="Y" SUPPRESSFORMATTINGWARNING="Y" ARCHIVEUPLOADEDATTACHMENTMAXSIZEMB="20" ARCHIVEDOWNLOADEDATTACHMENTMAXSIZEMB="20" DECRYPTSENTMESSAGE="Y" /qn /norestart /l*v "%TEMP%\FTAPI_AddIn_Install.log"The most important parameters:
SERVER: URL of your FTAPI server (withouthttps://)ALLUSERS="1": installation in the machine context (system-wide), mandatory for terminal servers/qn: installation without a UI (silent)/norestart: no automatic restart/l*v "β¦log": verbose logging (recommended)
This creates the registry keys under the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins\FTAPI Outlook Add-In
Note: On RDS/session hosts, activate install mode before installation (change user /install) and restore it afterwards (change user /execute). This step is not needed when editing a master image (MCS/PVS). Outlook must be closed during installation.
Installation location
By default, the Add-In is installed to C:\Program Files\FTAPI\Outlook Add-In. If the installation is located on a network share (UNC path), you must classify this path as trusted, otherwise VSTO blocks the start.
Deployment methods
Golden Image / Master (MCS or PVS)
- Put the master VM into maintenance mode and close Outlook.
- Install the requirements: .NET 4.8, VSTO 2010 Runtime, WebView2 Runtime.
- Install the Add-In silently via the
Small_Installer(see above). - Test with a test user that the Add-In loads.
- Seal the image and distribute it to the session hosts via MCS/PVS.
Citrix App Layering
- Add the requirements (.NET 4.8, VSTO, WebView2) to the OS or platform layer.
- In the app layer (packaging machine): close Outlook, install the Add-In silently via the
Small_Installer. - Finalize the layer and assign it to the image template.
Software deployment (SCCM / Intune, etc.)
- Create the
Small_Installerand the requirement packages as an application. - Store the rollout command (one line,
/qn /norestart) as the installation command. - Define dependencies: .NET 4.8 β VSTO β WebView2 β Add-In.
- Roll out the deployment as a machine assignment to the session hosts.
Disabling for specific users
Since the Add-In is installed system-wide, it is initially active for all users. For all users who should not receive the Outlook Add-In, roll out the following folder in the user context manually or via GPO:
HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\FTAPI Outlook Add-In
In this new key, you must set the following values:
- DWORD value (32bit); Name:
LoadBehavior; Value=0 - String; Name:
Description; Value=FTAPI Outlook Add-In - String; Name:
FriendlyName; Value=FTAPI Outlook Add-In - String; Name:
Manifest; Value=C:\Program Files\FTAPI\Outlook Add-In\FTAPIOutlookAddin2013.vsto|vstolocal
The |vstolocal suffix makes Office load the Add-In directly from the installation directory. If you chose a different directory with INSTALLDIR, adjust the path.
The Outlook Add-In now behaves as follows:
- Users who do not have the
LoadBehaviorentry underHKEY_CURRENT_USER: the Add-In starts normally with Outlook. - Users who have the entry set under
HKEY_CURRENT_USER(value 0): the Add-In does not start.
In Citrix, it makes sense to set this entry specifically via a GPO preference (registry, item-level targeting on an AD group) or via a logon script. Details: GPO setup for group-based activation.
Important: You may need to delete or correct the LoadBehavior key again after a version update of the Add-In.Preventing automatic deactivation by Outlook
Outlook deactivates add-ins that start slowly in virtual sessions. To keep the FTAPI Add-In active, set the following values per user, preferably via GPO (User Configuration > Preferences > Registry):
Key (HKEY\_CURRENT\_USER) | Value | Type | Data |
|---|---|---|---|
|
| DWORD | 3 |
|
| DWORD | 1 |
The installation parameter SETADDINALWAYSENABLED="Y" sets this protection as well, but only takes effect for the user who runs the installation. In multi-user environments, the GPO is therefore the more reliable way.
Alternatively, you can permanently enable the Add-In via the "List of managed add-ins" Group Policy of the Office ADMX templates (value 1). For more information: Preventing automatic deactivation (registry).
User profiles and configuration
The Add-In stores the login and settings in the user profile under %APPDATA%\FTAPI\Outlook Add-In. Your profile management (for example Citrix Profile Management or FSLogix) must include this folder, otherwise users have to set up the Add-In again after every logoff.
File | Content |
|---|---|
| Add-In settings, created from the installation parameters at the first start of Outlook |
| Server address and SAML setting ( |
| Session data of the SAML login |
| Log file of the Add-In |
With the parameter LOCKSETTINGS="Y", you prevent users from changing the settings themselves. You can distribute a prepared user.config or ftapiaccounts.xml via GPO (Files preference) to %APPDATA%\FTAPI\Outlook Add-In without installing the Add-In again with parameters.
Subsequently changing settings (user.config)
It may become necessary to adjust the settings of the initial installation afterwards. The configuration file user.config is created in the user's local roaming profile after the first start of Outlook:
C:\Users\<Username>\AppData\Roaming\FTAPI\Outlook Add-In\user.config
The file is in XML format and structured as follows for each setting:
<Setting name="Name of the setting" serializeAs="String">
<value>Value of the setting</value>
</Setting>Practical example: Adjusting the archiving limit
You want to change the file size up to which files are automatically archived after sending the email from 5 to 10 MB.
- Open the
user.configfile of a test profile. - Search for the setting
ArchiveDownloadedAttachmentMaxSizeMB. - Change the value from
5to10. - Save the XML file.
The adjusted file can then be distributed centrally to different users via a Group Policy (GPO File Preference). Since user.config is located in the roaming profile (AppData\Roaming), it is automatically carried along per user when roaming/FSLogix profiles are enabled.
Installing updates
An update affects all users; their settings in the profile are retained.
- Log off all users or update the master image. Outlook must not be running.
- Install the new version in the same way as the previous one (per machine). If you do not know how the previous version was installed, uninstall it first.
- Pass parameters only if settings are supposed to change. With parameters, the users'
user.configis rewritten; without parameters, it remains unchanged. - After the update, check the
LoadBehaviorvalues underHKEY_LOCAL_MACHINEand your GPO values for group-based activation.
Troubleshooting
Symptom | Action |
|---|---|
Add-In is deactivated after every Outlook start | Check the registry values from "Preventing automatic deactivation by Outlook"; re-enable it under File > Options > Add-ins > Disabled Items (guide) |
Add-In does not load after distribution via GPO | Check .NET 4.8, VSTO 2010 Runtime, and WebView2 on the system |
Users have to set up the Add-In again after every logoff | Include the folder |
Login fails, Add-In cannot be activated | Close Outlook, delete |
Information for FTAPI Support
If you contact FTAPI Support, please include:
- the log file
%APPDATA%\FTAPI\Outlook Add-In\Logs\ftapi-outlook-addin.logof the affected user - the installation log (parameter
/L*v C:\Temp\ftapi-install.log) - Citrix product and version, Windows Server or VDI version, and Office version
Contact: support@ftapi.com
Similar articles
- π Outlook Add-In (classic): Downloads & System Requirements
- π Outlook Add-In (classic): Installation Parameters for Administrators
- π Outlook Add-In (classic): Configuration for Terminal Servers and Multi-user Environments
- π Outlook Add-In (classic): GPO Setup for Group-Based Activation
- π Outlook Add-In (classic): Preventing Automatic Deactivation (Registry)