[Bug 18231] Adobe Acrobat 7, 8 installers fail due to spooler service being disabled by default

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Mar 19 19:02:07 CDT 2012


--- Comment #26 from Anastasius Focht <focht at gmx.net> 2012-03-19 19:02:07 CDT ---

--- quote ---
I do not think the "Spooler" is starting, even with the registry work around.

WINEPREFIX=/home/todd/.wine.adobe wine reg add
"HKLM\\System\\CurrentControlSet\\Services\\Spooler" /v Start /t
--- quote ---

Because you corrupted the registry with an incomplete command.

My original snippet was this:

--- snip ---
$ wine reg add "HKLM\\System\\CurrentControlSet\\Services\\Spooler" /v Start /t
REG_DWORD /d 0003 /f
--- snip ---

The line length caused Bugzilla to wrap a part of the command line.
See the "REG_DWORD /d 0003 /f" part?
It belongs to the _same_ command line "wine reg add ..." and should not be left
out (no newline in between).

The parameter "/t" specifies type of key which expects the actual type
following (in this case "REG_DWORD").

You have to be careful when copy/paste snippets from Bugzilla to terminal.
At least some understanding what the command actually does.
Incomplete/incorrect/non understand snippets can cause harm.
For example wiping out precious default WINEPREFIX (~/.wine) with important
user data when being told to start over.

Because of the wrapped/missing part you told the registry utility to create a
key "Start" with a default type "string":

--- quote ---
from "WINEPREFIX=/home/todd/.wine.adobe wine regedit":
--- quote ---

The type of "Start" key has to be DWORD otherwise the service control manager
ignores this part.

You should have seen the following message that tells something _is_ wrong:

--- snip ---
err:service:load_reg_dword Error 1804 while reading value L"Start"
err:service:scmdatabase_load_services Error 1804 reading registry key for
service L"Spooler" - skipping
--- snip ---

How it should look like in regedit/registry export:



Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list