Installing on Windows now easier thanks to Microsoft Web Platform Installer

Posted by Sigurd on 19 March 2009

At MIX today, Microsoft released Web Platform Installer (WebPI) 2.0 beta—new software that makes it much easier and more compelling to install PHP applications on the Windows IIS web server.

SilverStripe has been selected as one of ten PHP and .NET web applications to be bundled with the launch of WebPI. This means the easiest method for installing SilverStripe is now Microsoft's WebPI, and for many people, this will be much easier than installing SilverStripe using WAMP or on Linux.

  • WebPI automatically downloads, installs, and configures free software dependencies like the official Microsoft IIS webserver, PHP, and web apps like SilverStripe.
  • WebPI works on Windows XP, Windows Server 2003, Vista, and Windows Server 2008. It takes care of the architecture differences so that installation remains a simple wizard process.
  • We've solved the two most commonly listed Windows installation problems from our forums: getting a URL Rewriter to work, and setting up the correct file permissions (for installation and to facilitate file uploads in the system.)

SilverStripe's inclusion in the web application gallery is not only fantastic for our profile or as a way to make it easier for you to install SilverStripe—but, as our case study explains (available in PDF too), it also serves to illustrate that SilverStripe works well on Windows, which was supported through having access to technical Microsoft staff.

 

Sigurd Magnusson (SilverStripe) and Nigel Parker (Microsoft)

Sigurd Magnusson (SilverStripe) with Nigel Parker (Microsoft)

 


What does the new installation process look like?

Step 1. MySQL

  • Currently WebPI does not install MySQL. You must install this first. Fortunately, this is an easy process: download either the 32bit or 64bit version of MySQL 'Windows Essentials' (about 30MB.)
  • Move through the simple installation wizard, memorising the username and password that you create for the database server (e.g. "root" and "mynewpwd.")
  • Microsoft have a guide on installing MySQL on Windows if you need details.
  • NB. We aim to have Microsoft SQL Server support in the future, which WebPI can automatically configure, so the manual step to install MySQL will become optional in the future.

MySQL Wizard Installer MySQL Wizard Installer

 

 

Step 2. Web Platform Installer (WebPI)

Download and install the Microsoft Windows Platform Installer:

Install SilverStripe Using WebPI

(This link will download WebPI. However, if you have WebPI  installed, then this same link will launch WebPI and select SilverStripe to install. Share this button and the URL it links to!)

Step 3. Install SilverStripe using WebPI

Web Platform Installer retrieves the list of applications listed at microsoft.com/web/gallery (This list will grow as developers add their web applications to the gallery.)

Choose SilverStripe (listed under Content Management), and click Install:

WebPI - ticking SilverStripe

Having inspected your machine, WebPI will list the software that SilverStripe depends on. It's a much smarter way to have a web platform on Windows, because it saves you downloading a wholly separate WAMP server.

WebPI showing needed dependencies

WebPI will download and configure the dependencies, and it will prompt to you to install IIS if needed. You will also notice it downloading SilverStripe directly off our SilverStripe.org website.


Step 4. SilverStripe configuration

WebPI then only asks a few simple questions, such as:

  • Whether you want SilverStripe installed as your entire website or in a sub-folder
  • The existing username and password to access your MySQL database
  • A new username and password to be used as your initial SilverStripe CMS administrator account
WebPI Config Screen

WebPI Config Screen 2

Once you see this screen, you have successfully completed the installation:

SilverStripe on WebPI Install Complete

Step 5. Evaluate SilverStripe and build something with it!

The default theme of SilverStripe lets you navigate your new website immediately.

Initial SilverStripe Screen

And the content management system is ready for content entry and customisation.

CMS Editor

Give us feedback!

Given 40% of SilverStripe installations already occur on Windows, we jumped at the chance to be a part of WebPI because it could make those installations smoother. We would love to get your feedback, as we are certain there are things to be improved—please use this chance to articulate them!


 

Post your comment

Posting comments has been disabled.

Comments

  • WebPI failed, when is loading and instaling PHP.
    What options should I choose , when adjust SQL?

    Posted by Three Dog, 5 years ago

  • Kudos with the partnership but I'll stick with Linux thanks :)

    Posted by Sean, 5 years ago

  • I guess Microsoft is feeling left out of the loop. PHP is easier to program than ASP and social programs are much easier to run with PHP.

    I'll Stick with WAMP, this takes up too much memory to run on a desktop machine, and it's better if you know the code rather than using a template. Using someone else's code doesn't help your imagination and slows down the creative process. Also, there's less overhead when coding on your own, especially when someone else views your site. It's cleaner and runs faster.

    Posted by Maarek Stele, 5 years ago

  • Mike, I've sent Microsoft people your way to investigate what's happening with their Application Installer.


    We've now had about 1000 downloads of SilverStripe through the WebPlatform Installer (in 2 days), please let us know how you've found it )

    Posted by Sigurd Magnusson, 5 years ago

  • Unfortunately, when we tried to install silverstripe via this method, it failed.
    See: http://cmscritic.com/microsoft-web-application-installer-and-gallery-review

    Posted by Mike Johnston, 5 years ago

  • Wow, this is much more robust, elegant, straight-forward than manually installing SilverStripe on IIS or using a bundle like WAMP!

    Posted by David, 5 years ago

  • Thanks so much for being one of the first in the Windows Web App Gallery. It was a real pleasure to work with you guys, and we appreciate your partnership!

    Posted by Bill Staples, 5 years ago

  • Great work Siggy and the SilverStripe team I wrote about this as well over on my blog http://tinyurl.com/ssstory

    Posted by Nigel Parker, 5 years ago

RSS feed for comments on this page | RSS feed for all comments

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.