Deploying LightSpeed Application – Web Platform Installer

Background

I need to deploy a small application that I placed together to pilot Microsoft Lightswitch.

We will be using Beth Massi’s “Deploying Lightswitch Applications to IIS 6 & Automating Deployment Packages” as a guide.

BTW, that excellent tutorial is here.

 

Web Platform Installer

Overview

  1. Microsoft Web Platform Installer
    • v5.0
      • Support Operating Systems:- Windows 8, Windows 7, Windows Vista SP2, Windows XP SP3+, Windows Server 2003 SP2+, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012.
      • Date Released :- 2/14/2013
    • v4.6

 

Download

To download the full blown installer, please go here.

As of today, 2016-Oct-13, here are the files that are currently available.

Links

Product Version x86 x64
 WebPI 5.0  Link – v5.0 – x86  Link – v5.0 – x64
 WebPI 4.6  Link – v4.6 – x86  Link – v5.0 – x64

 

 

Download & Installed

v5.0

As our box is an old x86 box, downloaded v5.0 x86 version.

 

Usage

From the Start menu, looked for “Web Platform Installer” and initiated it.

 

Error

Unable to download Product List
Image

unabletodownloadtheproductlistfrom

Textual

Unable to product list from .  Check your network connection and try again.  If the problem persists, report the use on the Web Platform Installer 5.0 forum at …

 

Remediation

Courtesy of

Superdoods @ Rackspace
Link

Launch regedit, navigate to the HKLM\Software\Microsoft\webplatforminstaller branch and add ProductXMLLocation to the

  1. Open regedit
  2. Navigate to HKLM\Software\Microsoft\webplatforminstaller
  3. Create a new string value

 

As we are going with the latest Web Platform Installer, v5.0, we went with the registry entry for 5.0

 

Before Registry Entry – v5.0

productxmllocation-before-20161212-1059pm

After Registry Entry – v5.0

productxmllocation-v5-20161212-1101pm

Restarted

Stopped and restarted Web Installer Platform and no more error message.

 

Deprecated

Unfortunately, LightSpeed Runtime is no longer bundled with v5.0, and so NO GO.

 

v4.6

Went back and downloaded v4.6 version.

Usage

From the Start menu, looked for “Web Platform Installer” and initiated it.

 

Search for Products

Search for Visual Studio LightSwitch…

And, we matched on

  1. Visual Studio Lightswitch 2011 Server Runtime without Local SQL
  2. Visual Studio Lightswitch 2011 Server Runtime and Local SQL

visualstudiolightswitch-searchresults

Add Products

As we have a remote SQL Server backend, we chose the “Visual Studio Lightswitch 2011 Server Runtime without Local SQL” option.

 

Prerequisite
Prerequisite – Image

visualstudiolightswitch-prerequisite

Prerequisite – Tabulate
Product File Size Link
 Visual Studio LightSwitch 2011 Server Runtime without Local SQL 1 MB
 Web Deployment Tool 1.1  5.01 MB  Link
 SQL Server 2008 R2 Management Objects  (x86) Only [ ENU\x86\SharedManagementObjects.msi ]  10.42 MB  Link
 SQL Server Native Client [ SQL Server Native Client 10.5 ]  4.49 MB  Link
 Microsoft System CLR Types for Microsoft SQL Server 2008 R2 (x86) [ ENU\x86\SQLSysClrTypes.msi ]  3.31 MB  Link

 

 

Prerequisite – Install Manually

If you will like to install the prerequisite yourself, please go here.

Please make sure that you are looking for the v2008 R2 version.

details

 

Installation
Installing…

install

Installing – Completed

installation-complete

 

Installing – Restart Completed
Image

restartcomputer

Textual

SQL Server Native Client 10.5 has finished installing successfully but requires a computer restart.
Do you want to restart your computer now? Click yes to restart now, or click no to close Web Platform Installer 4.6 and restart later.

 

References

Support

  1. Manual fix for a broken Web Platform Installer that cannot pull the packages from the Microsoft online package repository
    Link
  2. PLEASE READ: WebPI direct download links
    Link

QA

  1. Where to get Visual Studio LightSwitch 2012 Server Runtime from in Web Platform Installer?
    Link

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s