Wednesday, October 28, 2009

Installing Gallery Server Pro Just Got A Lot Easier

I am pleased to announce that I teamed up with Microsoft to create a greatly improved installation experience using their Web Platform Installer. Installing GSP is now as simple as clicking a few buttons and filling out a few textboxes. No more manually creating the web application or wrestling with NTFS permissions!

wpiBadgeGreen_3Plus, GSP is also being distributed by Microsoft through their Web Application Gallery. Web traffic doubled the day this went live, and it has only increased since then!

The Web Platform Installer has two requirements:

  • You must have permission to run the program
  • You must use SQL Server to store the data

Those of you who use hosting companies that restrict you from running applications on the server – or who want to use SQLite as your data store – should continue to use the existing installation process. Support for SQLite will be coming soon.

I will step through the installation process to show you how easy it is.

When you click the installation icon (above or on the download page), The Web Platform Installer starts. If you do not have it installed, you’ll be prompted to install it.

wpi1

Gallery Server Pro is pre-selected, so click Install. The installer determines which dependencies are needed. You list could include more than shown here.

wpi2

Note that the installer will want to install SQL Server Express. If you already have SQL Server available on your network, you can skip installing it by clicking the X next to it.

When you click I Accept, the installation begins.

wpi3

After your requirements are installed, the installer asks where it should install Gallery Server Pro.

wpi4

Then it will ask for some SQL connection info. Remember that the installer supports ONLY SQL Server. Support for SQLite will be coming soon.

wpi5

The installation is finished. Woo hoo! Look Ma! No messing with IIS Manager, Network Service accounts, or NTFS!

wpi6

Click the link to launch your new gallery:

wpi7

Pretty sweet, huh? This is a significant step toward making GSP easier to install and use. Microsoft has been very helpful and they deserve our thanks for supporting open source projects like this. And I look forward to spending more time adding features to GSP and less time in the forums explaining how to give the Network Service account modify permission to a directory. Cheers!

4 comments:

Unknown said...

Hey Roger, This f.... rocks! Go on!
Cheers, Marc

Adrian said...

Hi Roger,

I installed it last night and it was a breeze. I probably wouldn't have allowed anyone's installer to make changes to my webserver for me but I figured I could trust it, as it was showcased on a Microsoft site. Great job!

btw, is there a reason it can't use Windows authentication to talk to SQL Server? Sorry if that's a stupid question. I've been working with SQL Server for ages but only just got into Visual Studio.

Roger Martin said...

Microsoft doesn't yet allow Win Authentication in its installer. You can update the connection string in web.config after the installation to use Win Auth if you want.

Adrian said...

Thanks Roger!

That's quite a significant omission on Microsoft's part, don't you think? I find it very disturbing, seeing SQL passwords in plain text in config files... ;)