WineHQ
Bug Tracking Database – Bug 3901

 Bugzilla

 

Last modified: 2014-03-07 14:13:13 UTC  

Rayman 3 Hoodlum Havoc installer can't copy files

Bug 3901 - Rayman 3 Hoodlum Havoc installer can't copy files
Rayman 3 Hoodlum Havoc installer can't copy files
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: msi
0.9.2.
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
: Installer
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2005-11-21 13:10 UTC by Jussi Pakkanen
Modified: 2014-03-07 14:13 UTC (History)
7 users (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
Log of installer failure (9.89 KB, text/plain)
2006-03-25 05:28 UTC, Jussi Pakkanen
Details
Trace of the program with WINEDEBUG=+msi (188.42 KB, application/zip)
2010-05-28 17:55 UTC, Jussi Pakkanen
Details
Zip file with two traces (479.78 KB, application/zip)
2011-12-05 12:57 UTC, Jussi Pakkanen
Details
WINEDEBUG=+msi,+msidb wine /mnt/cdrom/setup.exe &> /tmp/output.txt (586.37 KB, application/octet-stream)
2012-01-24 17:58 UTC, Lunknown
Details
Log of run after using drive autodetect (907.57 KB, application/octet-stream)
2012-01-25 06:24 UTC, Jussi Pakkanen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jussi Pakkanen 2005-11-21 13:10:09 UTC
I tried to install Rayman 3 using Wine (it uses Installshield). The installer
starts up fine, then aborts saying some generic error message. Basically it
fills up with this kind of lines:

err:msi:ACTION_InstallFiles Unable to copy file
(L"Z:\\media\\cdrom\\PROGRA~1\\Ubi Soft\\Rayman3\\MSVCRTD.DLL" -> L"c:\\Program
Files\\Ubi Soft\\Rayman3\\MSVCRTD.DLL") (error 3)

Bug is probably caused by the fact that the app harcodes some path elements with
their DOS names (like PROGRA~1 above). If I copy the CD to hard drive and rename
the directories to their DOS names, I get the following error:

err:msi:ACTION_InstallFiles Unable to copy file
(L"Z:\\home\\jpakkane\\raymantest\\PROGRA~1\\Ubi Soft\\Rayman3\\MSVCRTD.DLL" ->
L"c:\\Program Files\\Ubi Soft\\Rayman3\\MSVCRTD.DLL") (error 5)

(the error code changes from 3 to 5)

Closing the installer after this seems to work fine, but wine-preloader
processes remain, and must be killed with 'killall -9 wine-preloader'.
Comment 1 Jussi Pakkanen 2005-12-06 14:50:14 UTC
I tried this again today. Installing from the CD now gives:

err:msi:ACTION_InstallFiles Unable to copy file
(L"Z:\\media\\cdrom\\MSVCRTD.DLL" -> L"c:\\Program Files\\Ubi
Soft\\Rayman3\\MSVCRTD.DLL") (error 2)

(the error number has changed to 2)
Comment 2 Jussi Pakkanen 2006-03-25 05:26:56 UTC
It works better now. The first CD (of three) installs fine, but then it just
bails out with an error. Will attach a log.
Comment 3 Jussi Pakkanen 2006-03-25 05:28:41 UTC
Created attachment 2134 [details]
Log of installer failure
Comment 4 Juan Lang 2006-11-14 10:41:51 UTC
Can you retry with latest git or 0.9.25?  It appears others have gotten rayman 3
to install.
Comment 5 Jussi Pakkanen 2006-11-15 10:59:00 UTC
I tried with today's CVS version. The first disk installs fine, but then it just
ends by saying "Rayman installed succesfully". In reality it should ask for
disks 2 and 3 and copy their files also.

The process also leaves a process called IDriver.exe in the background, which
has to be killed with kill -9 to get rid of it.
Comment 6 Jussi Pakkanen 2007-09-09 06:29:07 UTC
Today's git works fine but when the installer wants you to change disks you can not do it, since some process holds an open file on the disk and Linux will not let you forcibly eject it in this case.

Copying CDs to hard drive (like ~/foo/disc1, ~/foo/disc2 and ~/foo/disc3) before running setup.exe does work.
Comment 7 James Hawkins 2007-09-09 06:45:24 UTC
Fixed.

> Today's git works fine but when the installer wants you to change disks you can
not do it, since some process holds an open file on the disk and Linux will not
let you forcibly eject it in this case.

Run the installer with winefile and eject with 'wine eject'.  The current directory open in bash is what is keeping eject from working.
Comment 8 Jussi Pakkanen 2008-01-13 05:04:50 UTC
I tried again with wine 0.9.53 on Debian and the bug has reappeared. The behaviour is now the same as described in comment 5. Reopening.
Comment 9 Austin English 2008-01-14 12:51:43 UTC
(In reply to comment #8)
> I tried again with wine 0.9.53 on Debian and the bug has reappeared. The
> behaviour is now the same as described in comment 5. Reopening.
> 

Does it work still if you use winefile and/or don't run setup from the directory (which leads to bash holding the directory open)?
Comment 10 Jussi Pakkanen 2008-01-15 16:52:23 UTC
The problem is not the eject one, but rather that the installer simply quits after the first disk and says "Install complete".

And FWIW I never cd into the disc drive, but rather run this from my home directory: "wine /media/cdrom/Setup.exe".
Comment 11 Austin English 2008-06-04 12:00:35 UTC
Is this still an issue in 1.0-rc3 or newer wine?
Comment 12 Jussi Pakkanen 2008-06-09 13:59:22 UTC
Yes, it is still broken in rc3.
Comment 13 Austin English 2008-12-08 04:00:18 UTC
Is this still an issue in current (1.1.10 or newer) wine?
Comment 14 Jussi Pakkanen 2008-12-14 06:56:01 UTC
I am running on Debian Unstable, which currently only has version wine-1.0.1-174-gc4039bd.

In that version the bug still remains.
Comment 15 Vitaliy Margolen 2008-12-14 12:01:58 UTC
(In reply to comment #14)
> I am running on Debian Unstable, which currently only has version
> wine-1.0.1-174-gc4039bd.

wine-1.1.10 is unstable. Please install it and test with it. wine-1.0.1 is too old.
Comment 16 Jussi Pakkanen 2008-12-17 12:55:03 UTC
The current version in unstable is 1.0.1, see

http://packages.qa.debian.org/w/wine.html

Even experimental only has version 1.1.5.
Comment 17 Austin English 2009-01-14 11:56:50 UTC
Please retest in current git. If still present, update version field to earliest known version of wine that had this bug. Thanks!
Comment 18 Jussi Pakkanen 2009-01-18 12:53:08 UTC
This bug is in newest git source as well. Now it says "The wizard was interrupted before Rayman 3 could be completely installed." It prints the following to stdout.

err:msi:ACTION_InstallFiles Failed to copy L"Z:\\media\\cdrom\\program files\\Ubi Soft\\Rayman3\\Gamedatabin\\intro_17\\intro_17.lvl" to L"C:\\Program Files\\Ubi Soft\\Rayman3\\Gamedatabin\\intro_17\\intro_17.lvl" (3)

And so that you don't have to ask, yes I do have enough free space in .wine directory.

As for the version, I really have no idea. I used the current CVS at the time as far as I can remember.
Comment 19 sergio.ub 2009-02-05 11:41:15 UTC
i confirm this behaviour using wine 1.1.14

here's my log of relevant rows:

fixme:msi:ACTION_HandleStandardAction unhandled standard action L"SetODBCFolders"
fixme:msi:msi_unimplemented_action_stub RemoveShortcuts -> 7 ignored L"Shortcut" table values
fixme:msi:msi_unimplemented_action_stub RemoveFolders -> 4 ignored L"CreateFolder" table values
err:msi:ACTION_InstallFiles Failed to copy L"G:\\program files\\Ubi Soft\\Rayman3\\Gamedatabin\\intro_17\\intro_17.lvl" to L"C:\\Program Files\\Ubi Soft\\Rayman3\\Gamedatabin\\intro_17\\intro_17.lvl" (3)
err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1603
err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603

installer stops at intro_17.lvl
I also note that G: drive has "program files" instead of "Program files"...is there a problem of misunderstanding of the capitalized "p"????
Comment 20 Ben Klein 2009-06-09 23:02:42 UTC
(In reply to comment #16)
> The current version in unstable is 1.0.1, see
> 
> http://packages.qa.debian.org/w/wine.html
> 
> Even experimental only has version 1.1.5.

http://www.winehq.org/download/deblenny

I believe the problem is that Wine is not pausing the installer and asking for the next disc. I have this problem with "Ultimate Spider-Man", and native msi2 fixes it (you also have to set Windows version to win98). I also believe Age of Empires 3 suffers from this same problem, as described in bug 16244.

My problem with "Ultimate Spider-Man" occurs with 1.1.22. 1.1.23 introduces a new regression which prevents the installer from initialising. Details of that regression test are on bug 18811, comment 16.
Comment 21 Austin English 2010-04-29 17:32:41 UTC
(In reply to comment #20)
> (In reply to comment #16)
> > The current version in unstable is 1.0.1, see
> > 
> > http://packages.qa.debian.org/w/wine.html
> > 
> > Even experimental only has version 1.1.5.
> 
> http://www.winehq.org/download/deblenny
> 
> I believe the problem is that Wine is not pausing the installer and asking for
> the next disc. I have this problem with "Ultimate Spider-Man", and native msi2
> fixes it (you also have to set Windows version to win98). I also believe Age of
> Empires 3 suffers from this same problem, as described in bug 16244.
> 
> My problem with "Ultimate Spider-Man" occurs with 1.1.22. 1.1.23 introduces a
> new regression which prevents the installer from initialising. Details of that
> regression test are on bug 18811, comment 16.

Those other bugs are fixed. Can you retest in 1.1.43?
Comment 22 Jussi Pakkanen 2010-05-02 04:56:49 UTC
I'll try to recheck this within a couple of days.
Comment 23 Jussi Pakkanen 2010-05-02 08:18:25 UTC
Newest git still has this bug. The output is the same.
Comment 24 Hans Leidekker 2010-05-28 13:40:13 UTC
Please attach a +msi trace.
Comment 25 Jussi Pakkanen 2010-05-28 17:55:21 UTC
Created attachment 28363 [details]
Trace of the program with WINEDEBUG=+msi
Comment 26 Hans Leidekker 2010-05-29 03:35:01 UTC
Does this file exist:
/media/R3_CD1/program files/Ubi Soft/Rayman3/Gamedatabin/intro_17/intro_17.lvl
?
Comment 27 Jussi Pakkanen 2010-06-13 16:47:48 UTC
No, that file is on CD 2. The installer should prompt the user to change the CD before attempting to open the file.
Comment 28 joaopa 2011-07-21 01:54:37 UTC
still a bug in current wine?
Comment 29 Jussi Pakkanen 2011-08-14 07:03:01 UTC
Wine 1.3.15 (tested with Ubuntu Natty amd64) still has this.
Comment 30 Vijay Kamuju 2011-09-10 04:22:23 UTC
please verify if this issue is present in latest wine 1.3.28
Comment 31 Jussi Pakkanen 2011-09-12 04:28:14 UTC
This bug is still present in today's Git.
Comment 32 Hans Leidekker 2011-12-05 03:32:44 UTC
Does the patch from bug 25963 help here?
Comment 33 Jussi Pakkanen 2011-12-05 11:37:50 UTC
It does not fix the bug. The behaviour is different, though. Instead of reporting the failure the installer window disappears but the process stays around. You have to kill it with ctrl+c.
Comment 34 Hans Leidekker 2011-12-05 11:47:39 UTC
Can you attach a +msi trace with the patch applied?
Comment 35 Jussi Pakkanen 2011-12-05 12:57:17 UTC
Created attachment 37812 [details]
Zip file with two traces

Wine's behaviour is nondeterministic with this patch. I attach two different traces. This first one behaves just like without the patch.

The second trace stops with an error message when file copying should start.

I could not reproduce the stale process.

.wine was nuked before every run.
Comment 36 Lunknown 2012-01-23 17:09:27 UTC
Hello Everyone,

I got it to install the by doing the following

I mounted "disc 1" then i ran winecfg.Next select "Drives" then i clicked on 
"Autodetect" then "Apply" and "Ok" then i clicked on the setup.exe clicked "Next" Accept the License. Then just hit "next" until you get to
install and click on that. now wait until it says "Please Insert Next Disc"
then i did wine eject d: after that make sure disc 1 is umounted. Place
disc 2 in and mount it. Then press "Retry". Now wait until it says 
"Please Insert Next Disc" then i did wine eject d: after that make sure disc 2 is umounted. Place disc 3 in and mount it. Then press "Retry". Now wait until
it finishes. 

Notice: I did a complete install and i did not type thing in the input
boxes.

Here is some errors i got from the terminal.

1.err:richedit:ReadStyleSheet skipping optional destination

2.err:msi:msi_dialog_onkillfocus Invalid path L"_BrowseProperty" (when i tried to change the default install location)

3.err:msi:ITERATE_Actions Execution halted, action L"ISStartup" returned 1603 (i belive this is if the wine does not where your cdrom drive is)

4.err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 160
(i belive this is if the wine does not where your cdrom drive is) 

5.err:msi:msi_view_get_row Error fetching data for 1
Comment 37 Lunknown 2012-01-23 17:18:34 UTC
Hello Everyone.

this error
 
5.err:msi:msi_view_get_row Error fetching data for 1 (Has to do when it is waiting
for next disc).

BTW: I'm running wine 1.3.37.
Comment 38 Hans Leidekker 2012-01-24 02:39:48 UTC
(In reply to comment #37)
> Hello Everyone.
> 
> this error
> 
> 5.err:msi:msi_view_get_row Error fetching data for 1 (Has to do when it is
> waiting
> for next disc).

Can you please attach a WINEDEBUG=+msi,+msidb trace?
Comment 39 Lunknown 2012-01-24 13:11:54 UTC
Hello Hans Leidekker,

Can you give some instrustions on how to do WINEDEBUG=+msi,+msidb trace?
I'm new to this. If not i'll try to find out how to later on tonight.

BTW: 5.err:msi:msi_view_get_row Error fetching data for 1 "This message appeared
when you have to change the disc. I was able to install the game even though i got
that error."
Comment 41 Lunknown 2012-01-24 17:03:47 UTC
Hello Everyone,

I got the trace but i'm having problems uploading it.
The file is 18mbytes. I tried uploading it here and
pastebin but neither works. how can i upload this
file?
Comment 42 Lunknown 2012-01-24 17:58:15 UTC
Created attachment 38539 [details]
WINEDEBUG=+msi,+msidb wine /mnt/cdrom/setup.exe &> /tmp/output.txt
Comment 43 Hans Leidekker 2012-01-25 02:10:10 UTC
(In reply to comment #42)
> Created attachment 38539 [details]
> WINEDEBUG=+msi,+msidb wine /mnt/cdrom/setup.exe &> /tmp/output.txt

Thanks, this is the query that fails:
trace:msi:MSI_DatabaseOpenViewW L"UPDATE `Control` SET `Text` = 'Please insert the next disk.' WHERE `Dialog_` = 'SetupError' AND `Control` = 'ErrorText'" 0
x33ea28

It only affects dialog text so it's pretty harmless, but it's still a bug
that should be fixed.
Comment 44 Hans Leidekker 2012-01-25 02:13:36 UTC
So, is the original bug fixed now?
Comment 45 Jussi Pakkanen 2012-01-25 03:09:44 UTC
The steps in comment 36 do not fix it for me.
Comment 46 Hans Leidekker 2012-01-25 04:11:15 UTC
(In reply to comment #45)
> The steps in comment 36 do not fix it for me.

Can you attach a WINEDEBUG=+msi,+msidb trace?
Comment 47 Lunknown 2012-01-25 04:26:55 UTC
Hello Hans Leidekker,

Are you using wine 1.3.37? And i also made a new wine directory when
i install the game. And it is the US version. Can you try again with
a clean wine directory? Could it be you have a Bad cd-rom or a bad drive?



BTW: I'm using Slackware 13.37.
Comment 48 Jussi Pakkanen 2012-01-25 06:24:37 UTC
Created attachment 38546 [details]
Log of run after using drive autodetect

Attached. I had to pack it with xz to squeeze it under Bugzilla's attachment size limit.
Comment 49 Jussi Pakkanen 2013-04-03 11:41:08 UTC
Now the installer will ask for the next disk, but it can't be done because wineserver has grabbed the CD drive so the disk can not be ejected:

lsof /media/R3_CD1

COMMAND     PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
wineserve 19301 jpakkane   19r   REG   11,0  4053112 2412 /media/R3_CD1/setup.exe
Comment 50 joaopa 2013-04-03 11:57:36 UTC
Wine eject could be useful here, maybe.
Comment 51 Jussi Pakkanen 2013-04-03 13:59:41 UTC
Now it has stopped asking for the second CD and gone back to failing. I tried to recreate the request but could not.
Comment 52 Anastasius Focht 2014-02-26 02:31:58 UTC
Hello folks,

the multi-cd (msi) installer works just fine for me.

The bug started a long time ago with an actual msi installer issue and got recycled with different issues over time.

Resolving 'fixed'.

Regards
Comment 53 Alexandre Julliard 2014-03-07 14:13:13 UTC
Closing bugs fixed in 1.7.14.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers