Creating and Deploying an Add-In Package
Applies To: Windows Server 2012 Essentials, Windows Home Server 2011, Windows Storage Server 2008 R2 Essentials, Windows Small Business Server 2011 Essentials
To distribute your add-in, you must create an add-in package that is a cabinet (CAB) file, which contains Windows Installer packages, an addin.xml file for metadata, and an optional .rtf for an End-User License Agreement. The CAB file must use a .wssx extension
Creating the add-in package
You complete the following steps to create an add-in package:
How to: Create the Windows Installer Package for 32-bit Client Computers
How to: Create the Windows Installer Package for 64-bit Client Computers
How to: Configure the Add-In Package to be Updated or Renewed
How to: Localize the Add-In Package
Note
An add-in package can also be created using the WiX tools via the Visual Studio 2010 Extensions (https://go.microsoft.com/fwlink/?LinkID=210133)
Deploying the add-in package
You can deploy the add-in package (.wssx file) through any channel that you find appropriate for your add-in. For example you can offer the add-in from a website:
The .wssx file is downloaded from a website to a client computer that can communicate with the server.
The .wssx file is double-clicked to start the installation process. During the installation of the add-in, the components (server-side .msi and client-side .msi files) are installed on the server. The server redistributes the client-side .msi file to all of the client computers on the network.
Note
Most servers are installed and configured to be administered remotely. An installation of an add-in from the desktop on a server is not a supported scenario. You must not rely on users having access to the desktop of the server.
Note
You must digitally sign your add-in package to prevent a warning from being displayed when the add-in is installed. For more information, see How to: Digitally Sign the Add-In Package.
End-User Installation Process
You can offer the add-in package (.wssx file) through any channel that you deem appropriate to the end-user who will install the add-in. The following steps illustrate a typical scenario of how the user would download and install an add-in:
The user downloads the .wssx package from an Internet site to his client computer that is joined to a server for which you created the add-in.
The user double-clicks the .wssx file to start the installation process:
The add-in components (server-side .msi and client-side .msi files) are transported to the server.
The server-side component is installed on the server.
The server then redistributes the client-side .msi to any of the joined client computers in the network.
Note
In order to avoid the user seeing a security warning message at installation, you must properly code sign the add-in package.
Note
As many servers are headless devices, installation from a server’s desktop is not a supported scenario and you must not rely on users having access to the server’s desktop.