wine.inf: add registry info for lanmanserver service

Daniel Jelinski djelinski1 at gmail.com
Thu Nov 22 16:05:24 CST 2012


SQL Server 2005 installer checks registry for lanmanserver service
entries. If they are absent, the installation fails (bug 31981). With
the service (mis)configured as in the attached patch, the installer
progresses further.
-------------- next part --------------
From 6361de7341771939cba6138d569724e369dc5068 Mon Sep 17 00:00:00 2001
From: Daniel Jelinski <djelinski1 at gmail.com>
Date: Thu, 1 Nov 2012 22:00:56 +0100
Subject: wine.inf: add registry info for lanmanserver service

---
 tools/wine.inf.in |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/tools/wine.inf.in b/tools/wine.inf.in
index 03a748a..01c75f2 100644
--- a/tools/wine.inf.in
+++ b/tools/wine.inf.in
@@ -125,6 +125,7 @@ AddService=StiSvc,0,StiService
 AddService=TermService,0,TerminalServices
 AddService=PlugPlay,0,PlugPlayService
 AddService=FontCache3.0.0.0,0,FontCacheService
+AddService=lanmanserver,0,ServerService
 
 [DefaultInstall.NT.Services]
 AddService=BITS,0,BITSService
@@ -135,6 +136,7 @@ AddService=StiSvc,0,StiService
 AddService=TermService,0,TerminalServices
 AddService=PlugPlay,0,PlugPlayService
 AddService=FontCache3.0.0.0,0,FontCacheService
+AddService=lanmanserver,0,ServerService
 
 [DefaultInstall.ntamd64.Services]
 AddService=BITS,0,BITSService
@@ -145,6 +147,7 @@ AddService=StiSvc,0,StiService
 AddService=TermService,0,TerminalServices
 AddService=PlugPlay,0,PlugPlayService
 AddService=FontCache3.0.0.0,0,FontCacheService
+AddService=lanmanserver,0,ServerService
 
 [Strings]
 MciExtStr="Software\Microsoft\Windows NT\CurrentVersion\MCI Extensions"
@@ -3006,6 +3009,19 @@ ServiceType=16
 StartType=3
 ErrorControl=1
 
+[ServerService]
+AddReg=ServerServiceKeys
+Description="Server"
+DisplayName="Lanman Server"
+ServiceBinary="%11%\svchost.exe -k netsvcs"
+ServiceType=32
+StartType=4
+ErrorControl=1
+
+[ServerServiceKeys]
+HKR,Parameters,"ServiceDll",,"%11%\srvsvc.dll"
+;; HKLM,%CurrentVersionNT%\SvcHost,"netsvcs",0x00010008,"lanmanserver"
+
 [Services]
 HKLM,%CurrentVersion%\RunServices,"winemenubuilder",2,"%11%\winemenubuilder.exe -a -r"
 HKLM,"System\CurrentControlSet\Services\VxD\MSTCP",,16
-- 
1.7.5.4


More information about the wine-patches mailing list