[Bug 6194] BITS Service fails to install

Wine Bugs wine-bugs at winehq.org
Fri May 11 15:59:34 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=6194





------- Additional Comments From focht at gmx.net  2007-11-05 15:59 -------
Hello,

AFAIK wine has currently no ability to host dlls as services (what svchost.exe
does on windows).
BITS service is implemented as dll service (dump qmgr.dll exports and you will see).

For the installation... no need for the all dirty play.
You only need the .wine/drive_c -> .wine/harddiskvolume1 / dosdevices hack.

When it puts up the "pack not found" message box, go to setup temp folder, e.g.
"c:\<somerandomname>"
>From the subdir "sp1qfe" copy all dlls into system32 directory.

Run "bitsinst /setupservice" and it will create all necessary service registry
entries.
(look at "<somerandomname>\update\update_SP1QFE.inf" what infos are needed).

For the other entries (OLE servers and svchost), regsvr32 the copied dlls
(except xpob2res.dll which is a message/resource dll)
Additionally you need
HKLM\Software\Microsoft\Windows NT\CurrentVersion\SvcHost
- REG_MULTI_SZ value named "BITSgroup", value = "BITS"

Copy svchost.exe from windows to wine system32
Start the service (using some tool "net start", "sc.ex" whatever) with "<tool>
start bits bits"
Notice the second service arg "bits" this is actually necessary because svchosts
service main thread proc helpers check service argv against service name
(without arg it crashes).

Other crashes are obviously wine shortcomings/bugs...

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the wine-bugs mailing list