How to do offline install of Service bus

In the recent past I have come across multiple request for installing Service bus and Workflow Manger for Windows Server in Servers where internet connections are not available.
Products like WorkFlow Manager and Service bus cannot be installed directly and needs WPI(Web Platform Installer). Advantages being WPI installs the prerequisites and proper versions and bits of these dependencies.
To download the offline version of ServiceBus or any WPI product, follow the below instructions.
After installing the WPI, you will find WebPICmd.exe in %programfiles%\microsoft\web platform installer folder.
WebPICmd has 3 main command line switches
/List: Lists the Products available, installed and information on Feeds.
/Install: to install WPI products
/offline: Downloads the products offline, so that the downloaded products can be installed later
Use the List cmd to view the list of Available products, you can use listoption switch to for these. You can also use listoption switch for viewing installed products feeds and Languages.

webpicmd /list /listoption:Available

This list all the products, if you are using powershell, you can use the Pipe symbol and join clauses to filter/narrow down your searches.
webpicmd /list /listoption:Available|?{ $_.Contains(“ServiceBus”) }

After apply filter you can easily find there are only 3 items related to Servicebus.Also note down the AppId is listed against the product in the column 1. Download the offline version for the product you prefer. I am using SB 1.1 here. Download the offline product using the command

WebpiCmd.exe /offline /Products:ServiceBus_1_1 /Path:C:\temp

Provide the AppId that webpicmd listed in the previous cmd for the products argument.
After this cmd is successful you will find the installer and feeds downloaded into C:\Temp

When you want to install the product in offline mode, use the cmd webpicmd /install /Products:ServiceBus /xml:c:\temp \feeds\latest\webproductlist.xml by using the /xml option, we specify not to use the default and online feed instead use the local feed that we downloaded.

If you open the webproductlist.xml and check for the installer path for Service bus msi, it will be a relative path.


Written By
Shashidharan Krishnan

Reviewed By
Jainath V R

Microsoft GTSC India

Comments (2)
  1. Siddharth says:

    I am trying to install Windows azure pack: Service Bus 1.1 on Windows server 2008 R2 SP1 Core OS through Windows Platform Installer 5.0 (Offline installation) .But i am facing following issue:

    Error message:

    Starting Installation

    Started downloading products…

    Started downloading: 'Windows Azure Pack: Service Bus 1.1'

    Downloaded: 'Windows Azure Pack: Service Bus 1.1'

    Install completed (Failure): 'Windows Azure Pack: Service Bus 1.1' Service Bus_1_1 : Failed.

    Downloaded file failed signature verification and may have been tampered with Verifying successful installation…

    Windows Azure Pack: Service Bus 1.1 False

    Install of Products: FAILURE

  2. Aissa Saoudi says:

    Thanks for the great post,
    I just want to mention in the install complain about the name of product ServiceBus use ServiceBus_1_1
    so the command line should be
    webpicmd /install /Products:ServiceBus_1_1 /xml:c:\temp \feeds\latest\webproductlist.xml

    Hope this help

Comments are closed.

Skip to main content