views:

959

answers:

8

I've done this a million times ... setting up a developer work station.

Is there a best practices, or installation checklist for installing Microsoft development software on a work station? What about applying updates and/or service packs? Is there a specific order for doing this, in hopes of minimizing any install issues.

Our current software library consists of:

  • Visual Studio 2003
  • Visual Studio 2008
  • SQL Server 2005
  • Microsoft Office 2007

We do use some other tools, but I usually hold off on installing them once I get a good build from Microsoft ... whether a good build is possible or not is another topic! =)

Also, do you use any software like Ghost to create images of work station? Some easy way to restore your work station.

+3  A: 

I tend to go in chronological order. The oldest software to the most recent.

In your case I would do something like

  1. Office 2007 (I usually install office first)
  2. VS2003
  3. Install VS2003 updates through Microsoft update
  4. SQL Server 2005
  5. Install SQL Server 2005 through Microsoft Update

And so on...

When the setup is over and the machine is configured I do a full base image with Acronis True Image.

Pascal Paradis
It is important to remember that IIS MUST be installed first....
Mitchel Sellers
This is true in the case of machine used for web development only. Am I wrong?
Pascal Paradis
A: 

You should be able to install each piece of software regardless of the order you install it in. That being said, if you want to be 'safe', start with the lowest version of each and work you way up, installing the updates/SP's as you go along.

IAmCodeMonkey
I'm not a big fan of **should**.
mattruma
+2  A: 

I don't use Ghost as none of the workstations I setup are ever identical.

As far as install order, I would do:

  • Office 2007
  • SQL Server 2005
  • VS 2003
  • VS 2008
Brian Knoblauch
+3  A: 

I'd do:

  • Operating System
  • Anti-virus/security software (if applicable)
  • Office
  • .Net framework runtimes
  • Security Updates
  • SQL Server
  • Visual Studio
  • Source control client
  • Any other tools (Notepad++, ftp client, etc)
  • Security Updates

SQL Server vs Visual studio may be backwards, but that probably doesn't matter.

That just leaves the order for visual studio installs. In general you want to install the older products first. However, there may be a situation where that's not the case. If you have, say, VS2008 Standard and VS2003 Professional you might want to install the professional edition later. But I haven't been able to play with that particular scenario.

Finally, I normally prefer to apply all patches at once. It saves time. However, I want to make sure my .Net runtimes are up to date before installing the developement tools, and in the case of multiple editions of Visual Studio (or any other complicated package) I prefer to make sure each instance of the software is fully up to date before installing the next.

Joel Coehoorn
+28  A: 

I would use the following and this order IS KEY if you want to do ASP.NET Development without issue.

  • Operating System
  • IIS for the OS <- If not done before VS, issues can be had
  • OS Updates
  • Office
  • Office Updates
  • SQL Server and tools
  • SQL Server Updates
  • VS 2003
  • VS 2003 Updates
  • VS 2005 (DON'T install SQL Express)
  • VS 2005 Updates
  • VS 2008
  • VS 2008 Updates
  • Any third party tools for development environments (Telerik, DevExpress, etc)

I have found that with this format, you will NOT have any issues, but if you change the order, I have had bad things happen before. Especially important is the IIS setup piece!

Mitchel Sellers
As an add to this: If you're also installing 3rd party components or VS add-ins, don't install them until the rest of the stack is up and running.
John Rudy
Very valid point!
Mitchel Sellers
I believe you should install SQL Server and associated tools AFTER VS 2005 - then VS 2005 has the various SQL Server add ins.
Ken Ray
God this is so dumb. So happy I am not a windows developer.
Nick Stinemates
Ken, VS 2005 by default installs SQL Server Express, so it is best to have it installed FIRST, that way the proper templates are added when you install. IF SQL is not there, they will not install, at least that is what I have noticed in my last 5-10 workstation builds
Mitchel Sellers
This guy has a good explanation of why SQL 2005 should be installed before VS 2005 http://geekswithblogs.net/ingrid/archive/2006/02/03/68116.aspx(and as a Windows dev, I'm glad I don't have to cobble together solutions with buggy unfinished OSS components and I get to use nice tools like VS 2008)
wizlb
I have been having so many problems with SQL 2008, the x64 bit hotfix and more. I was going to start a new question but I don't suppose it is possible to have an update to your post to deal with sql 2008?
Wil
The install order is the same, just do NOT install SQL with EITHER edition of Visual Studio
Mitchel Sellers
If you install Visual Studio (with SQL Server 2005 Express), the full-blown SQL Server 2005 installer doesn't bother installing SQL Server Management Studio, so either install SQL Server before VS or exclude SQL Server Express from the VS install. This is probably fixed with SQL Server 2008, although I've not checked.
Roger Lipscombe
+4  A: 

I'm definitely a Ghost addict. At a former work I would spend about 2-3 hours configuring properly everything needed for a user: Windows+patches, Office+patches, Acrobat Reader, etc. Once everything's ready I would create an image of the whole hard drive using Ghost, and store it somewhere (if possible, ZIP it and burn it to a DVD).

Then, when a new colleague arrived, I had Ghost restore the image onto a new hard drive - this was accomplished in 20 minutes or less! After that, manual work was reduced to:

  • Changing PC's name
  • Changing Windows and Office License numbers (I remember there was a tool at TechRepublic for this, technically it's not illegal)
  • Changing PC's IP address (if you're not using DHCP)
  • Ready!

All of those steps can be easily scripted, if you wish. Anyway, it's just 10 minutes or less.

At my current work I'm just a developer so I'm not in charge of preparing machines for new coworkers anymore. However, from this past experience I'd say using Ghost is the fastest and most cost effective way to setup new computers!

Especially the Windows installation and going to Windows Update - argh!! I really hate loosing so much time at these steps, it can be tolerated if you only do that once.

Joe Pineda
Do you use Ghost for creating an image of your current workstation?
mattruma
No, that's handled by another department :D
Joe Pineda
+1  A: 

My recommendation is to start with the OS and its updates, then add Office if you need that and then install Virtual PC or VMWare. This way you can separate the different versions (and betas) of all the development stuff into different VPC's. Your real hardware will stay clean and you are able to switch between environments very smoothly.

thijs
+1  A: 

For a web platform, Microsoft has a nice package installer here: http://www.microsoft.com/web/channel/products/WebPlatformInstaller.aspx

I like using sysprep before imaging a machine so that I can create multiple workstations with the same config

ajma