Problem with wine creating folders on installs

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
h2sammo
Level 2
Level 2
Posts: 32
Joined: Thu Apr 09, 2009 11:12 am

Problem with wine creating folders on installs

Post by h2sammo »

Code: Select all

 bobby@tux ~ $ wine --version
wine-1.1.29
i tried installing several games, perfect world international, jade dynasty, atlantica and installation goes through up until to a certain percentage where a window comes up with a "Failed to create C:\Program Files\Perfect World Entertainment\Perfect World International" (for example) message and when i click OK on that window, the whole progress regresses and the game is uninstalled.

i have tried version 1.1.24 with the same result. i think wine does not have authority to create those folders but i dont know why.

please help
John Drescher

Problem with wine creating folders on installs

Post by John Drescher »

i tried installing several games, perfect world international, jade dynasty, atlantica and installation goes through up until to a certain percentage where a window comes up with a "Failed to create C:\Program Files\Perfect World Entertainment\Perfect World International" (for example) message and when i click OK on that window, the whole progress regresses and the game is uninstalled.

i have tried version 1.1.24 with the same result.  i think wine does not have authority to create those folders but i dont know why.
I seriously doubt that the problem is a permissions issue. It's more
likely that some unimplemented part of wine is causing the installer
to fail. Read the FAQ and post terminal output.

John
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Problem with wine creating folders on installs

Post by vitamin »

h2sammo wrote:i tried installing several games, perfect world international, jade dynasty, atlantica and installation goes through up until to a certain percentage where a window comes up with a "Failed to create C:\Program Files\Perfect World Entertainment\Perfect World International" (for example) message
Terminal output? You haven't moved default c: location are you?
h2sammo
Level 2
Level 2
Posts: 32
Joined: Thu Apr 09, 2009 11:12 am

Post by h2sammo »

i dont see an error in the terminal output.

wine output stops at the moment it asks me where to install the game. it opens the exe file just fine, the installation runs, but when it gets to 99% it stops and uninstalls everything.

Code: Select all

 bobby@tux ~ $ wine /home/bobby/Downloads/PWI_v166_XP.part1.exe
fixme:shell:SHAutoComplete SHAutoComplete stub
fixme:shdocvw:PersistStreamInit_InitNew (0x1612a0)
fixme:urlmon:URLMoniker_BindToObject use running object table
fixme:system:SetProcessDPIAware stub!
fixme:dwmapi:DwmIsCompositionEnabled 0x327f58
fixme:iphlpapi:NotifyAddrChange (Handle 0x212e918, overlapped 0x212e920): stub
fixme:iphlpapi:GetAdaptersAddresses no support for IPv6 addresses
0[173828]: IMM32: InitKeyboardLayout, aKeyboardLayout=04090409, sCodePage=1252, sIMEProperty=00090000
fixme:shdocvw:ClOleCommandTarget_QueryStatus (0x161340)->((null) 1 0x328520 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x161340)->((null) 25 2 0x328534 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x161340)->((null) 26 2 0x328534 (nil))
fixme:mshtml:OleControl_OnAmbientPropertyChange offline connection is not supported
fixme:mshtml:OleObject_SetClientSite silent == true
fixme:shdocvw:ClientSite_GetContainer (0x161340)->(0x328570)
fixme:mshtml:set_moniker silent == true
fixme:mshtml:set_moniker offline == true
fixme:shdocvw:ClOleCommandTarget_Exec (0x161340)->({000214d1-0000-0000-c000-000000000046} 37 0 0x3285fc (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x161340)->({000214d1-0000-0000-c000-000000000046} 84 0 (nil) 0x328624)
fixme:mshtml:PersistStreamInit_InitNew (0x162730)
fixme:shdocvw:OleObject_Close (0x1612a0)->(1)
fixme:mshtml:HlinkTarget_SetBrowseContext (0x162730)->((nil))
fixme:shdocvw:OleInPlaceObject_UIDeactivate (0x1612a0)
fixme:shdocvw:OleInPlaceObject_InPlaceDeactivate (0x1612a0)
fixme:shdocvw:PersistStreamInit_InitNew (0x1612a0)
fixme:urlmon:URLMoniker_BindToObject use running object table
fixme:shdocvw:ClOleCommandTarget_QueryStatus (0x161340)->((null) 1 0x328520 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x161340)->((null) 25 2 0x328534 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x161340)->((null) 26 2 0x328534 (nil))
fixme:mshtml:OleControl_OnAmbientPropertyChange offline connection is not supported
fixme:mshtml:OleObject_SetClientSite silent == true
fixme:shdocvw:ClientSite_GetContainer (0x161340)->(0x328570)
fixme:mshtml:set_moniker silent == true
fixme:mshtml:set_moniker offline == true
fixme:shdocvw:ClOleCommandTarget_Exec (0x161340)->({000214d1-0000-0000-c000-000000000046} 37 0 0x3285fc (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x161340)->({000214d1-0000-0000-c000-000000000046} 84 0 (nil) 0x328624)
fixme:mshtml:PersistStreamInit_InitNew (0x2368da8)
fixme:shdocvw:OleObject_Close (0x1612a0)->(1)
fixme:mshtml:HlinkTarget_SetBrowseContext (0x2368da8)->((nil))
fixme:shdocvw:OleInPlaceObject_UIDeactivate (0x1612a0)
fixme:shdocvw:OleInPlaceObject_InPlaceDeactivate (0x1612a0)
fixme:shdocvw:PersistStreamInit_InitNew (0x2390238)
fixme:urlmon:URLMoniker_BindToObject use running object table
fixme:shdocvw:ClOleCommandTarget_QueryStatus (0x23902d8)->((null) 1 0x327858 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x23902d8)->((null) 25 2 0x32786c (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x23902d8)->((null) 26 2 0x32786c (nil))
fixme:mshtml:OleControl_OnAmbientPropertyChange offline connection is not supported
fixme:mshtml:OleObject_SetClientSite silent == true
fixme:shdocvw:ClientSite_GetContainer (0x23902d8)->(0x3278a8)
fixme:mshtml:set_moniker silent == true
fixme:mshtml:set_moniker offline == true
fixme:shdocvw:ClOleCommandTarget_Exec (0x23902d8)->({000214d1-0000-0000-c000-000000000046} 37 0 0x327934 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x23902d8)->({000214d1-0000-0000-c000-000000000046} 84 0 (nil) 0x32795c)
fixme:mshtml:PersistStreamInit_InitNew (0x2397cc0)
fixme:shdocvw:OleObject_Close (0x2390238)->(1)
fixme:mshtml:HlinkTarget_SetBrowseContext (0x2397cc0)->((nil))
fixme:shdocvw:OleInPlaceObject_UIDeactivate (0x2390238)
fixme:shdocvw:OleInPlaceObject_InPlaceDeactivate (0x2390238)
fixme:resource:GetGuiResources (0xffffffff,0): stub
fixme:exec:SHELL_execute flags ignored: 0x00000180 
h2sammo
Level 2
Level 2
Posts: 32
Joined: Thu Apr 09, 2009 11:12 am

Re: Problem with wine creating folders on installs

Post by h2sammo »

vitamin wrote:
h2sammo wrote:i tried installing several games, perfect world international, jade dynasty, atlantica and installation goes through up until to a certain percentage where a window comes up with a "Failed to create C:\Program Files\Perfect World Entertainment\Perfect World International" (for example) message
Terminal output? You haven't moved default c: location are you?
how would i know if i moved default c: location?
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

If you're unable to answer the question, then you probably haven't. :)
h2sammo
Level 2
Level 2
Posts: 32
Joined: Thu Apr 09, 2009 11:12 am

Post by h2sammo »

so can anyone help me troubleshoot this?
wine seems to be useless on my system as no installation reaches completion.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

h2sammo wrote:no installation reaches completion.
Try wine-1.1.30, it has few installer bugs fixed.
h2sammo
Level 2
Level 2
Posts: 32
Joined: Thu Apr 09, 2009 11:12 am

Post by h2sammo »

have 1.1.30 installed now, same result. is there anyone i could PM who has a bit more experience with helping me?

thx
James McKenzie

Problem with wine creating folders on installs

Post by James McKenzie »

h2sammo wrote:
have 1.1.30 installed now, same result. is there anyone i could PM who has a bit more experience with helping me?

thx

I would like a little more background on what is happening here.

You state that Wine is unable to build folders in your user .wine folder?

Did you EVER run Wine as root? If you did, you messed up the
permissions to that folder and Wine, when run as a regular user will not
be able to create folders, ever. The solution is to remove the .wine
folder and start over again. This is one reason that we do not
recommend running Wine as root.

James McKenzie
h2sammo
Level 2
Level 2
Posts: 32
Joined: Thu Apr 09, 2009 11:12 am

Post by h2sammo »

so i should rm the .wine folder, uninstall wine, then reinstall wine?

thank you for reply.
h2sammo
Level 2
Level 2
Posts: 32
Joined: Thu Apr 09, 2009 11:12 am

Post by h2sammo »

ok i did what i described in my previous post.

i rm -r the .wine folder, then uninstalled wine, then reinstalled wine

i then closed off the root term and opened a user term and ran the installation .exe file with the wine command from the user terminal.

installation went to 99% then failed to create the folder as it happened before.

this is the terminal output:

Code: Select all

 bobby@tux ~ $ wine /home/bobby/Downloads/PWI_v166_XP.part1.exe                                                                             wine: created the configuration directory '/home/bobby/.wine'                                                                              ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
fixme:mixer:ALSA_MixerInit No master control found on Camera, disabling mixer
fixme:system:SetProcessDPIAware stub!
fixme:dwmapi:DwmIsCompositionEnabled 0x33cef4
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:advapi:SetNamedSecurityInfoW L"C:\\windows\\system32\\gecko\\1.0.0\\wine_g                                                           ecko\\components\\xpti.dat" 1 536870916 (nil) (nil) 0x1d97bc (nil)
fixme:iphlpapi:NotifyAddrChange (Handle 0x631e918, overlapped 0x631e920): stub
fixme:iphlpapi:GetAdaptersAddresses no support for IPv6 addresses
fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented
fixme:advapi:SetNamedSecurityInfoW L"C:\\windows\\system32\\gecko\\1.0.0\\wine_g                                                           ecko\\components\\compreg.dat" 1 536870916 (nil) (nil) 0x1e4cf74 (nil)
fixme:shell:DllCanUnloadNow stub
wine: configuration in '/home/bobby/.wine' has been updated.
fixme:shell:SHAutoComplete SHAutoComplete stub
fixme:shdocvw:PersistStreamInit_InitNew (0x15e210)
fixme:urlmon:URLMoniker_BindToObject use running object table
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
fixme:mixer:ALSA_MixerInit No master control found on Camera, disabling mixer
fixme:system:SetProcessDPIAware stub!
fixme:dwmapi:DwmIsCompositionEnabled 0x327f58
fixme:iphlpapi:NotifyAddrChange (Handle 0x212e918, overlapped 0x212e920): stub
fixme:iphlpapi:GetAdaptersAddresses no support for IPv6 addresses
0[170a10]: IMM32: InitKeyboardLayout, aKeyboardLayout=04090409, sCodePage=1252,                                                            sIMEProperty=00090000
fixme:shdocvw:ClOleCommandTarget_QueryStatus (0x15e2b0)->((null) 1 0x328520 (nil                                                           ))
fixme:shdocvw:ClOleCommandTarget_Exec (0x15e2b0)->((null) 25 2 0x328534 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x15e2b0)->((null) 26 2 0x328534 (nil))
fixme:mshtml:OleControl_OnAmbientPropertyChange offline connection is not suppor                                                           ted
fixme:mshtml:OleObject_SetClientSite silent == true
fixme:shdocvw:ClientSite_GetContainer (0x15e2b0)->(0x328570)
fixme:mshtml:set_moniker silent == true
fixme:mshtml:set_moniker offline == true
fixme:shdocvw:ClOleCommandTarget_Exec (0x15e2b0)->({000214d1-0000-0000-c000-0000                                                           00000046} 37 0 0x3285fc (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x15e2b0)->({000214d1-0000-0000-c000-0000                                                           00000046} 84 0 (nil) 0x328624)
fixme:mshtml:PersistStreamInit_InitNew (0x15ffc0)
fixme:shdocvw:OleObject_Close (0x15e210)->(1)
fixme:mshtml:HlinkTarget_SetBrowseContext (0x15ffc0)->((nil))
fixme:shdocvw:OleInPlaceObject_UIDeactivate (0x15e210)
fixme:shdocvw:OleInPlaceObject_InPlaceDeactivate (0x15e210)
fixme:shdocvw:PersistStreamInit_InitNew (0x2355080)
fixme:urlmon:URLMoniker_BindToObject use running object table
fixme:shdocvw:ClOleCommandTarget_QueryStatus (0x2355120)->((null) 1 0x328520 (ni                                                           l))
fixme:shdocvw:ClOleCommandTarget_Exec (0x2355120)->((null) 25 2 0x328534 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x2355120)->((null) 26 2 0x328534 (nil))
fixme:mshtml:OleControl_OnAmbientPropertyChange offline connection is not suppor                                                           ted
fixme:mshtml:OleObject_SetClientSite silent == true
fixme:shdocvw:ClientSite_GetContainer (0x2355120)->(0x328570)
fixme:mshtml:set_moniker silent == true
fixme:mshtml:set_moniker offline == true
fixme:shdocvw:ClOleCommandTarget_Exec (0x2355120)->({000214d1-0000-0000-c000-000                                                           000000046} 37 0 0x3285fc (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x2355120)->({000214d1-0000-0000-c000-000                                                           000000046} 84 0 (nil) 0x328624)
fixme:mshtml:PersistStreamInit_InitNew (0x15f450)
fixme:shdocvw:OleObject_Close (0x2355080)->(1)
fixme:mshtml:HlinkTarget_SetBrowseContext (0x15f450)->((nil))
fixme:shdocvw:OleInPlaceObject_UIDeactivate (0x2355080)
fixme:shdocvw:OleInPlaceObject_InPlaceDeactivate (0x2355080)
fixme:shdocvw:PersistStreamInit_InitNew (0x15e9f8)
fixme:urlmon:URLMoniker_BindToObject use running object table
fixme:shdocvw:ClOleCommandTarget_QueryStatus (0x15ea98)->((null) 1 0x327858 (nil                                                           ))
fixme:shdocvw:ClOleCommandTarget_Exec (0x15ea98)->((null) 25 2 0x32786c (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x15ea98)->((null) 26 2 0x32786c (nil))
fixme:mshtml:OleControl_OnAmbientPropertyChange offline connection is not suppor                                                           ted
fixme:mshtml:OleObject_SetClientSite silent == true
fixme:shdocvw:ClientSite_GetContainer (0x15ea98)->(0x3278a8)
fixme:mshtml:set_moniker silent == true
fixme:mshtml:set_moniker offline == true
fixme:shdocvw:ClOleCommandTarget_Exec (0x15ea98)->({000214d1-0000-0000-c000-0000                                                           00000046} 37 0 0x327934 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0x15ea98)->({000214d1-0000-0000-c000-0000                                                           00000046} 84 0 (nil) 0x32795c)
fixme:mshtml:PersistStreamInit_InitNew (0x2390290)
fixme:shdocvw:OleObject_Close (0x15e9f8)->(1)
fixme:mshtml:HlinkTarget_SetBrowseContext (0x2390290)->((nil))
fixme:shdocvw:OleInPlaceObject_UIDeactivate (0x15e9f8)
fixme:shdocvw:OleInPlaceObject_InPlaceDeactivate (0x15e9f8)
fixme:resource:GetGuiResources (0xffffffff,0): stub
fixme:exec:SHELL_execute flags ignored: 0x00000180
pls advise
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

h2sammo wrote:installation went to 99% then failed to create the folder as it happened before.
Please open a bug report in Wine's bugzilla. Attach this terminal output (as a plain text file).
h2sammo
Level 2
Level 2
Posts: 32
Joined: Thu Apr 09, 2009 11:12 am

Post by h2sammo »

here is my bug post for future viewers:


http://bugs.winehq.org/show_bug.cgi?id=20357
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Post by jeffz »

h2sammo wrote:here is my bug post for future viewers:


http://bugs.winehq.org/show_bug.cgi?id=20357
When you work out if there is a demo that reproduces the problem and provide a download link maybe someone will look at it. Pasting that log certainly makes it more annoying.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

I havent fully tested it cuz it hasn't really affected me (its easy to work around) .. but I know sometime around.. ~1.1.26ish or so that it no longer creates the wineprefixes for me right either, unless I just leave it at the default ~/.wine ... then it works fine. I just keep a blank clean ~/.wine to make copies of it to use with whatever $WINEPREFIX environment variable setting I want.... even doing a wineboot -u doesn't seem to make everything for me. They make it such a pain to report any bugs... I've never reported any I've found. Guess they can't make it too easy to report bugs or regressions, they'd get overwhelmed.. I seem to find some almost every day :-P
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

jeffz wrote:Pasting that log certainly makes it more annoying.
People definitively blind and can't read. If they miss all the warnings that say DO NOT PASTE LOGS!!!.
OP gl with your bug, might take ages for someone to look through that crap.
h2sammo
Level 2
Level 2
Posts: 32
Joined: Thu Apr 09, 2009 11:12 am

Post by h2sammo »

i have attached the error as a text file and gave a link for one of the games which gives me problems.
h2sammo
Level 2
Level 2
Posts: 32
Joined: Thu Apr 09, 2009 11:12 am

Post by h2sammo »

doh123 wrote:I havent fully tested it cuz it hasn't really affected me (its easy to work around) .. but I know sometime around.. ~1.1.26ish or so that it no longer creates the wineprefixes for me right either, unless I just leave it at the default ~/.wine ... then it works fine. I just keep a blank clean ~/.wine to make copies of it to use with whatever $WINEPREFIX environment variable setting I want.... even doing a wineboot -u doesn't seem to make everything for me. They make it such a pain to report any bugs... I've never reported any I've found. Guess they can't make it too easy to report bugs or regressions, they'd get overwhelmed.. I seem to find some almost every day :-P
how is it easy to work around? why dont you explain it to me so i can work around it as well?
h2sammo
Level 2
Level 2
Posts: 32
Joined: Thu Apr 09, 2009 11:12 am

Post by h2sammo »

i still have this problem with version 1.2_rc2
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

its really odd your having the problem still since so many people play those games in Wine. Leads me to believe its not a Wine problem but something with your machine... not really sure what to tell you to try.
h2sammo
Level 2
Level 2
Posts: 32
Joined: Thu Apr 09, 2009 11:12 am

Post by h2sammo »

i have done:

Code: Select all

WINEDEBUG=file wine install.exe &> wine.log
here is the log:
http://pastebin.com/TPuUrWVL

does anyone see anything useful?
h2sammo
Level 2
Level 2
Posts: 32
Joined: Thu Apr 09, 2009 11:12 am

Post by h2sammo »

i realized it now creates the first folder "Perfect World Entertainment" but
not the next one inside it, "Perfect World International"
James McKenzie

Problem with wine creating folders on installs

Post by James McKenzie »

h2sammo wrote:
i realized it now creates the first folder "Perfect World Entertainment" but
not the next one inside it, "Perfect World International"

Unix has problems with spaces in directories. This may be the case. Is
there a method to install into a different directory?

James McKenzie
motub
Level 2
Level 2
Posts: 39
Joined: Sat Jun 05, 2010 7:54 pm

Re: Problem with wine creating folders on installs

Post by motub »

James McKenzie wrote:h2sammo wrote:
i realized it now creates the first folder "Perfect World Entertainment" but
not the next one inside it, "Perfect World International"

Unix has problems with spaces in directories. This may be the case. Is
there a method to install into a different directory?

James McKenzie
I don't so much agree. I've installed both Fallout 3 (Bethesda Softworks\\Fallout 3), Icewind Dale both 1 and 2 (Black Isle\\Icewind Dale and Black Isle\\Icewind Dale II), as well as The Sims 3 (Electronic Arts\\The Sims 3) and had no issues with either the fact that the folder names had spaces, or the fact that folders with spaces in their names were nested inside folders with spaces in their names, although in the distant past the nested folders would have had problems being created.

However, I don't ever install to Program Files, so if that's the issue-- especially if h2sammo has set the default Windows version to Vista or Win 7 or something with UAC-- then trying another install location than C:\Program Files is probably a good idea.

I would more wonder though, if there might not be "hidden" "invalid" characters in a Asian or other non-Latin language somewhere that the install is falling over-- I've had this happen to me in Windows more than once and it could be that Wine has inherited that bad behaviour. Wouldn't expect that from Jade Empire-- isn't that a Bioware game?-- but the other two I'm not familiar with, and tbh, you never know.

But in any event, as a temporary workaround I would suggest that since you know what the folders are meant to be called, h2sammo, why not just create them ahead of time in C:\Program Files and see if you can install the games to the pre-created folders. That would probably give us more information as to where the problem exactly lies.

If that works out, I might even then uninstall the game, and then reinstall to a new location. If you don't have other partitions that you could use, then create a "Games" folder in your /home folder and create a new drive in winecfg pointing to "/home/Games"; if you call that "drive" D:\ for example, then see if the game will create the folders D:\Perfect World Entertainment\Perfect World International.

If that works, we have yet more information, and you have (hopefully) at least one, possibly two install methods that allow you to actually play the games you've been working on so long now :D .

Holly
Locked