I’ve had the most frustrating 4 hours trying to install SQL Server 2008.
It boils down to this: the sql installer has five bugs that stop you installing it properly. Now I’m not sure if most people have seen the SQL Server 2008 installer but it goes on and on checking pre-requisites and performing other tests yet completely and utterly FAILS when trying to do ANY type of install on Windows 2008 Server x64 when you’ve removed SQL Server 2005 beforehand.
I get the error message: “The INSTANCESHAREDWOWDIR command line value is not valid.”
…and I get it when I click next on this screen populated with default values:
This problem seems to occur when you have removed SQL 2005 (which I had to do on our newly commissioned server from 1and1) and then try to install SQL 2008.
It turns out you need to over-ride one of the values passed into the installer – INSTALLEDSHAREDWOWDIR – yes, the error message is actually WRONG, there is no such parameter as INSTANCESHAREDWOWDIR (bug #1). So, set the INSTALLSHAREDWOWDIR parameter via the command-line. But don’t set it to “C:\Program Files(x86)\Microsoft SQL Server\”, because you already have the shared feature folder option set to “C:\Program Files(x86)\Microsoft SQL Server\” from the previous install and it won’t allow them to be the same. Even though it won’t let you change it…. (bug #2)
Now when you try and change the INSTALLSHAREDWOWDIR parameter via the command-line, it complains that you have not set the INSTANCESHAREDDIR parameter. But that parameter does not exist (bug #3), it means INSTALLSHAREDDIR even though a value for that is set in the dialog which it won’t let you change…..
So, you have to run the setup.exe from the command line like this:
setup /action=install /INSTALLSHAREDDIR="C:\Program Files\Microsoft SQL Server\\" /INSTALLSHAREDWOWDIR="C:\Program Files\Microsoft SQL Server Shared\\"
Let’s just skim over the crazy double back-slash escaping at the end by just stating that it is insane.
I have to point out that the parameter for INSTALLSHAREDDIR gets ignored anyway (bug #4), it still uses the default value in the image above but at least it stops moaning about it. I’ve set the shared folder to a new one of my own choosing because I have a bad feeling something else later on down the line is going to clash with it.
Once you have done this, you will get past that install screen that held me captive for 4 hours and be able to set the instance name. (Do yourself a favour, specify the instance name manually as MSSQLSERVER if you want it to be the default instance. That’s because the default instance option doesn’t work either. (bug #5))
This all left me in a position where we had paid for a server that should have been completely compatible with the configuration I needed but we simply could not install it. That’s not a nice feeling at all!
SQL 2008 – utterly, utterly, utterly CRAP installer.


Reading this website is like a bad case of deja vu.
I’m on a 1&1 server with exact same issue – after i got it installed, using similar command line, i then wasn’t able to install sql2008 SP1 (same ‘wowdir error), I couldn’t create maintenance plans for backups, oh and i couldn’t uninstall SQL 2008 (yep you guessed it ‘wowdir error)
What a steamy pile of old tramps pants sql 2008 is.
I imagine some well paid bod at MS must have spent long hours, lovingly crafting this installer one friday afternoon, possibly after a liquid lunch in the local wine bar and then gone on holiday.
Thanks a million , one and one should really just leave the servers blank.
Thanks for the link been looking ages.
This is right-on-money for 1and1 server customers. Thanks a lot.
Thanks for taking the time to post this – saved me a lot of pain.
Thank you for the clarity. I had the same experience with a VPS server from appliedi.net. I didn’t have to remove SQL 2005 from it and I don’t see any evidence of it having been there. As far as I know, this is a clean box. However, I was beating my head against a wall getting it to work. I have to laugh when I go to the download center at Micro$oft and see “Efficiency is the bottom line”. HA, what a crock.
Awful installer.
Thanks! I spent countless hours trying to install sql 2008 express on my 64 bit server
The WebPlattform Installer runs into the same problem. Installing SqlServer manually from the commandline as described works though. Thanks a lot.
I could not get the command line to change the INSTALLSHAREDWOWDIR.
This fix allowed the install to set the paths as they should be set and allowed me to change it in the installation GUI.
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.sqlserver.setup&tid=a10d7207-09ed-4593-b413-46b88988c816&cat=en_US_bf32c3ef-dd94-4bb0-8c60-ff200eedd8c4&lang=en&cr=US&sloc=&p=1
1. If Visual Studio 2008 is already installed, then SP1 must also be
installed before starting the installation of SQL 2008
2. Do not try to install previous versions of MS SQL Server others than
SQL Server 2005 RTM
3. Do not install RC/Beta versions of SQL Server 2008 or Visual Studio
2010 Beta/CTP
4. However, if such attempt has been made that version should be
uninstalled
5. Because Uninstall does not remove all that should be removed, the
following must be done:
a. Run \x64\setup\x64\SQLSysClrTypes.msi to uninstall the CLR Types (this
step might be optional, depends if Visual Studio 2010 was installed)
b. Remove the following entries from the Registry
i.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-518\
ComponentsD1F366D0FE0E404F8C15EE4F1C15094]
ii.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\
Components\C90BFAC020D87EA46811C836AD3C507F]
Fore those, who have still problems (like me):
http://www.ureader.com/msg/11614899.aspx
Delete following registry-keys:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-518\
ComponentsD1F366D0FE0E404F8C15EE4F1C15094]
and
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\
Components\C90BFAC020D87EA46811C836AD3C507F]
After that, you will be able to change the folders normally!
Trackback this post | Subscribe to the comments via RSS Feed