Home Dashboard Directory Help
Search

Install SQL 2008 x64. Error: The INSTANCESHAREDWOWDIR command line value is not valid. by Dan1


Status: 

Closed
 as Won't Fix Help for as Won't Fix


5
0
Sign in
to vote
Type: Bug
ID: 467905
Opened: 6/17/2009 10:39:19 AM
Access Restriction: Public
1
Workaround(s)
view
4
User(s) can reproduce this bug

Description

See steps to reproduce.

For command prompt install I used the following bat file:

c:\users\public\downloads\mssql2008\setup.exe ^
-/Action=Install ^
-/INSTALLSHAREDDIR="E:\SQLshared\x64\\"^
-/INSTALLSHAREDWOWDIR="E:\SQLshared\x86\\"

I initially used the default directories.
Details
Sign in to post a comment.
Posted by UttamShah on 9/7/2011 at 11:16 AM
I downloaded a fresh ISO today on 9/7/2011 and had the same issue. The fix mentioned by fcogtz posted on 4/21/2011 worked just fine. Looks like it needs information for all 3 variables. I am posting the solution provided by fcogtz again.

This works:

setup.exe /Action=Install /INSTALLSHAREDDIR="C:\Program Files\Microsoft SQL Server" /INSTALLSHAREDWOWDIR="C:\Program Files (x86)\Microsoft SQL Server" /INSTANCEDIR="C:\Program Files\Microsoft SQL Server"


We had the INSTALLSAHREDWOWDIR even with default paths. Many installers, including Web Platform. Don't forget to specify INSTANCEDIR!
Posted by sylvryd on 7/27/2011 at 2:01 PM
The solution provided by 'VB6 upgrader to VB.Net' worked for me. Delete the registry entry and restart the install

(Installing a new SQL Server 2008 R2 install on a machine that currently has VS2008 Pro installed)

Thanks for the post!
Posted by david develop on 6/29/2011 at 4:48 AM
I'm using the solution provided from dan1 , date 06/08/2009 11:36 .
I've removed the following entries from the Registry
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-518\ Components\0D1F366D0FE0E404F8C15EE4F1C15094]
Executed again setup, two paths are ok : one for the 64 bits part, the other for the wow part.
Posted by Michee Deumeni on 6/14/2011 at 4:04 AM
i tried these solutions without good issues! on windows server 2008 r2, i installed at sqlserver 2005 express edition, and then tried to install sql 2008 using web platform installer, that failed. i had downloaded sql server 2008 r2 i still trying to install. this error appear, and i usually tried anything without result. where the setup are taking the value of INSTALLsHAREDdIR AND INSTALLSHAREDWOWDIR? THERE ARE writeable?
Posted by fcogtz on 4/21/2011 at 10:34 AM
This works:

setup.exe /Action=Install /INSTALLSHAREDDIR="C:\Program Files\Microsoft SQL Server" /INSTALLSHAREDWOWDIR="C:\Program Files (x86)\Microsoft SQL Server" /INSTANCEDIR="C:\Program Files\Microsoft SQL Server"


We had the INSTALLSAHREDWOWDIR even with default paths. Many installers, including Web Platform. Don't forget to specify INSTANCEDIR!
Posted by rob772 on 8/25/2010 at 11:55 AM
It has been over 1 year and the install script for SQL Srvr 2008 R2 Express on an Win2008 x64 target still hasn't been fixed???
Posted by Dan1 on 8/6/2009 at 11:36 AM
Unfortunately I am not able to apply your solution. Indeed I couldn’t wait 49 days with that project thus I had to ask the assistance of Microsoft Product Support Services. They discovered the bugs and here is the workaround which allowed me to install SQL Server 2008 x64:
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\ Components\0D1F366D0FE0E404F8C15EE4F1C15094]
ii.    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\ Components\C90BFAC020D87EA46811C836AD3C507F]
Thanks,
Dan
Posted by Microsoft on 8/6/2009 at 10:33 AM
e:\KatRTM\setup.exe /action=install /INSTALLSHAREDDIR="E:\SQLshared\x64" /INSTALLSHAREDWOWDIR="E:\SQLshared\x86" setup proceeds without issues

e:\KatRTM\setup.exe /action=install /INSTALLSHAREDDIR="E:\SQLshared\x64\\" /INSTALLSHAREDWOWDIR="E:\SQLshared\x86\\" setup crashes.

We have a known issue with paths ending with \ character. Could you adjust your command line to align with the version that works above?

Thanks,
Max Verun
SQL Server
Posted by Dan1 on 6/23/2009 at 11:50 PM
1. A LogSet cab file is already attached. Do you need something else?
2. The bat file has been translated correctly into one line command
3. Timestamp: I know. It was just one of the attempts to solve the problem suggested by a post in a forum.
Posted by Microsoft on 6/23/2009 at 6:01 PM
Thanks for contactign us with the issue. Coudl you attach the setup logs located in %programfiles%\Microsoft SQL Server\100\Setup Bootstrap\Log folder for us to diagnose this further?

Additional observations:

** "timestamp" is an internal parameter that should not be specified by the customers. The value is actually calculated by us in SQL Server setup.

** The command line seems malformed:


-/INSTALLSHAREDDIR="E:\SQLshared\x64\\"^
-/INSTALLSHAREDWOWDIR="E:\SQLshared\x86\\"



Thanks,
Max Verun
SQL Server
Sign in to post a workaround.
Posted by Dan1 on 8/6/2009 at 11:39 AM
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\ Components\0D1F366D0FE0E404F8C15EE4F1C15094]
ii.    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\ Components\C90BFAC020D87EA46811C836AD3C507F]
File Name Submitted By Submitted On File Size  
LogSet_s15348869_20090621_094705.cab (restricted) 6/21/2009 -