In a previous post I described the installation of Workflow Manager 1.0 in a SharePoint 2013 development environment. In this article I will do the same, but in an offline scenario. That means, our development machine has no connection to the internet and is not able to download the necessary packages with the Web Platform Installer.

The preparation is the same as for the online installation. We have two machines, one with a domain controller and SQL Server 2012, the second with SharePoint Server and the development tools.

How to perform an offline installation of the Workflow Manager 1.0 bits is described in Microsoft Technet. We will follow these steps in this post.

First of all we need the Web Platform Installer v4 Command Line tool (WebPICmd). You can find the package here. Install WebPICmd on a machine with access to the internet. We will use this tool to download the necessary packages.

On the machine create a directory, where the downloaded packages should be stored. We need to download the following packages:

  • Workflow Manager 1.0
  • Service Bus 1.0 Cumulative Update 1
  • Workflow Manager 1.0 Cumulative Upate 1
  • Microsoft Office Developer Tools for Visual Studio 2012
  • Optional: Worlflow Manager 1.0 Client (necessary on SharePoint machines, when Workflow Manager is not installed on the same machine)

To find the packages we can use the List function of WebPICmd:

What we need for our download operation is the value in the ID column. Scrolling a little bit down we see the entries for the Workflow Manager components.

With this information we can download the packages.

Workflow Manager 1.0

webpicmd /offline /Products:WorkflowManager /Path:"C:\Offline Install\WorkflowManagerFiles"

Service Bus 1.0 CU1

webpicmd /offline /Products:ServiceBusCU1 /Path:"C:\Offline Install\ServiceBusCU1Files"

Workflow Manager 1.0 CU1

webpicmd /offline /Products:WorkflowCU1 /Path:"C:\Offline Install\WorkflowManagerCU1Files"

Microsoft Office Developer Tools for Visual Studio 2012

webpicmd /offline /Products:OfficeToolsForVS2012RTW /Path:"C:\Offline Install\OfficeToolsForVS2012Files"

Workflow Client 1.0

webpicmd /offline /Products:WorkflowClient /Path:"C:\Offline Install\WorkflowClient"

When finished, copy the folder with the packages to the machine, where the Workflow Manager 1.0 should be installed. Additionally copy the installation package for the Web Platform Installer Command Line tool, because we need the same version for installation as for the download.

On the target machine (Machine 2 in our environment) install the Web Platform Installer v4 Command Line tool. When this is finished we can perform the Workflow Manager 1.0 installation and configuration.

To install and configure Workflow Manager 1.0 run

WebpiCmd.exe /Install /Products:WorkflowManager /XML:c:\OfflineInstall\WorkflowManagerFiles\feeds\Latest\webproductlist.xml

This command automatically starts the configuration wizard as shown in the post with the online installer. See the section in this post for detailed information.

To install the cumulative update 1 of the Service Bus 1.0 run

WebpiCmd.exe /Install /Products:ServiceBusCU1 /XML:c:\OfflineInstall\ServiceBusCU1Files\feeds\Latest\webproductlist.xml

When this package is installed, the machine reboots automatically.

To install the cumulative update 1 for Workflow Manager 1.0 run

WebpiCmd.exe /Install /Products:WorkflowCU1 /XML:c:\OfflineInstall\WorkflowManagerCU1Files\feeds\Latest\webproductlist.xml

To install the Microsoft Office Developer Tools for Visual Studio 2012 run

WebpiCmd.exe /Install /Products:OfficeToolsForVS2012RTW /XML:c:\\OfflineInstall\OfficeToolsForVS2012Files\feeds\Latest\webproductlist.xml

Next we have to connect SharePoint 2013 and Workflow Manager 1.0 with the Register-SPWorkflowService cmdlet.

Register-SPWorkflowService –SPSite "http://workflow.mydomain.local" –WorkflowHostUri "http://sharepoint:12291" –AllowOAuthHttp

All additional information could be taken from the post with the online scenario.