SQL Server 2008: The INSTANCESHAREDWOWDIR command line value was not specified.
Filed Under (SQL Server 2008) by Just An Admin on 20-05-2009
When trying to install SQL 2008 Express on one of our Windows 2008 x64 servers, i was surpirsed by this error message when specifying another install drive:
The INSTANCESHAREDWOWDIR command line value was not specified. This value must be specified when the INSTANCESHAREDDIR value is specified.
After searching the internet it seems that is a flaw in the installation process when you run setup on a server that allready contains SQL Server 2005. You can work around this by starting the setup from the command line with teh following option:
Navigate to the directory where the SQL Server 2008 install files are located and run:
setup.exe /Action=Install /INSTALLSHAREDWOWDIR=xxxxxxxxxxxx
where xxxxxxxxxx marks the spot (install directory for you SQL Server 2008) . During the install you can even alter the destination directory to any other location and NOT receive the above mentioned error.
Update: You may read up on the specific command line option at: http://support.microsoft.com/kb/955458
Incoming search terms:
- - instancesharedwowdir - The INSTANCESHAREDWOWDIR command line value was not specified This value must be specified when the INSTANCESHAREDDIR value is specified - The INSTANCESHAREDDIR COMMAND LINE VALUE WAS NOT SPECIFIED - The INSTANCESHAREDDIR command line value was not specified This value must be specified when the INSTANCESHAREDWOWDIR value is specified - The INSTANCESHAREDWOWDIR - the instancesharedwowdir command line value was not specified - The INSTALLSHAREDDIR command line value was not specified This value must be specified when the INSTALLSHAREDWOWDIR value is specified - THE INSTALLSHAREDDIR command line value was not specified


Cheers for the post it was a great help
thanx man
Спасибо дружище! Очень полезная инфа.
Ok, after searching everywhere, trying what you have above, what others had, etc… I found that not everyone was complete, or it didnt apply. This is what I found to work, however, note, this is exact, no deviation, as any click, trying to type the path, etc.. in some areas caused failures. Only after cracking my skull on concrete did i get it, and now, i have replicated it 5 plus times on other machines and it worked like a champ.
cmd prompt to directory where you have the install file, I am using SQL Exp with Advanced Services.
C\Installs\SQL Express>sqlexpradv_x64_ENU /Action=Install /INSTALLSHAREDWOWDIR=C:\Program Files (x86)\Microsoft SQL Server /INSTALLSHAREDDIR=C:\Program Files\Microsoft SQL Server
“NOTE – I left it at default, and am only changing the instance location VIA the GUI, was so much easier, and finally stinking worked. Gave up trying a different default directory.”
Now, once the darn installer gets to the place where it shows the two directories, in Express w/Advanced at least, there are two. The bottom one will be blank. Click on the … and click to the directory, when i tried typing it, etc… the darn thing blew up.
That is what worked for me, so, hope it helps others.
Hello,
Simply remove the last “\” (backslash) at the en of “Shared feature directory (x86)” like the next print-screen.
http://www.simple-tech.info/sql-server-2008-r2-there-are-validation-errors-on-this-page-click-ok-to-close-this-dialog-box-review-errors-at-the-bottom-of-the-setup-page-then-provide-valid-parameters-or-click-help-for-more-information.aspx