[Bug 29661] wineboot unable to create win32 prefix under certain conditions

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Dec 21 02:58:50 CST 2014


https://bugs.winehq.org/show_bug.cgi?id=29661

Sebastian Lackner <sebastian at fds-team.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sebastian at fds-team.de

--- Comment #7 from Sebastian Lackner <sebastian at fds-team.de> ---
For everyone interested how to workaround this issue, here the solution used by
Pipelight (simplified a bit):

--- snip ---

if [ ! -f "$WINEPREFIX/system.reg" ]; then

  if [ -d "$WINEPREFIX" ]; then
    # Directory exists, but without system.reg -
    # wine will assume wrong platform, so create dummy system.reg
    echo -en "WINE REGISTRY Version 2\n\n#arch=$WINEARCH\n" >
"$WINEPREFIX/system.reg"
  fi

  "$WINE" wineboot.exe
fi

--- snip ---

-- 
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