terça-feira, 3 de novembro de 2015

The INSTALLSHAREDDIR command line value was not specified. This value must be specified when the INSTALLSHAREDWOWDIR value is specified

Erro: The INSTALLSHAREDDIR command line value was not specified. This value must be specified when the INSTALLSHAREDWOWDIR value is specified.


Este erro ocorreu na Instalação de um SQL 2008 Express Edition With Advanced Services

Em qual Ambiente? 
R: Num servidor Windows 2012 R2 com SQL 2005 Express Edition With Advanced Services já instalado

Como resolver:
1º Desinstalar o Management Tools do SQLServer 2005 no Painel de Controlo

2º Ir ao regedit e eliminar a seguinte Chave [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-518\Components\0D1F366D0FE0E404F8C15EE4F1C15094]

3º Extrair o Exe do SQL 2008 para uma pasta

4º Executar cmd como Administrador

5º Correr o seguinte comando:

 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"


Et  voilá

Espero que tenha corrido tudo bem

Sem comentários:

Enviar um comentário

Unexpected Kernel Mode Trap while using Office 2016

I have been fighting with my computer searching for a fix for Unexpected Kernel Mode Trap when I attempt to open attachments in Outlook 2...