Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

Initial installation of SQL Server 2008

$
0
0

I am trying to get SQL Server 2008 set up on my macbhine. I located what I thought to be the setup.exe.          However, I get an error code - 0x80070002.

I searched a bit in this forum, and found that this error code is common.    However, I cannot follow the resolution provided, which stated

"InstallerLocation Registry Key is missing - we should create it and set it to the System32 directory" 

This is the link for the page which discusses this issue -http://blogs.technet.com/b/taraj/archive/2009/02/20/you-are-not-able-to-install-sql-server-2008-standard-on-a-vista-machine.aspx 

======================================================================

TROUBLESHOOTING/ RESOLUTION

***************************

Environment details :

OS : Vista Ultimate SP1 6001

SQLBuild : sql server 2008 as a (std edn X86)

 

ü When we click the sql server 2008 setup file we get the above error and the setup aborts.

ü Generally this error doesn't even create any in setup bootstrap folder as it is not even reaching to invoke the setup.

 

How we resolved this issue:

 

ü Verify that if these 2 registry keys exist and what their values are, if they dont exist please create them

 

Registry hive under:

    HKLM: Software\Microsoft\Windows\CurrentVersion\Installer

    Registry value name: InstallerLocation

    LPCWSTR lpSubKey = L"Software\\Microsoft\\Windows\\CurrentVersion\\Installer";

    LPCWSTR lpValueName = L"InstallerLocation";

ü The value in that key is supposed to point to system32 directory (C:\WINDOWS\system32\). If the value is there then check if msi.dll is in the location where the registry value points to.

ü If the InstallerLocation Registry Key is missing - we should create it and set it to the System32 directory.{In most of the cases we find this}

ü We should be able to install SQL Server after this on Vista.


Viewing all articles
Browse latest Browse all 7696

Trending Articles