http://bugs.winehq.org/show_bug.cgi?id=16317
Summary: Unhandled exception unimplemented function setupapi.dll.SetupPromptForDiskA Product: Wine Version: 1.1.9 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: setupapi AssignedTo: wine-bugs@winehq.org ReportedBy: legine@gmx.net
Hi there,
I tried to install "A Vampire Story". It uses Nullsoft Software Install System v2.03.
I have the Error: Unhandled exception: unimplemented function Setupapi.dll.SetupPromptForDiskA called in 32-bit code (0x7edfc788).
See Attachment for Commandline Output.
I will report if I know more.
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #1 from Peter Kovacs legine@gmx.net 2008-12-03 13:39:57 --- Created an attachment (id=17625) --> (http://bugs.winehq.org/attachment.cgi?id=17625) Error output on cli
http://bugs.winehq.org/show_bug.cgi?id=16317
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #2 from Austin English austinenglish@gmail.com 2008-12-03 15:36:37 --- Ricardo sent a patch: http://www.winehq.org/pipermail/wine-patches/2008-December/065464.html
http://bugs.winehq.org/show_bug.cgi?id=16317
ricardo filipe ricardo_barbano@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ricardo_barbano@hotmail.com
--- Comment #3 from ricardo filipe ricardo_barbano@hotmail.com 2008-12-05 09:46:16 --- that patch was flawed so it wasn't accepted, only now i had time to remake it. http://www.winehq.org/pipermail/wine-patches/2008-December/065536.html
try it because it might get on git only on monday. and tell me if it helps :)
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #4 from ricardo filipe ricardo_barbano@hotmail.com 2008-12-05 11:10:30 --- it seems i still got it in time for 1.1.10 . care to test please?
http://bugs.winehq.org/show_bug.cgi?id=16317
jonathan strander mblackwell1024@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mblackwell1024@gmail.com
--- Comment #5 from jonathan strander mblackwell1024@gmail.com 2008-12-05 23:18:20 --- According to apt-cache I'm using 1.1.10~winehq0~ubuntu~8.10-0ubuntu1 and am still receiving the same error as reported.
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #6 from jonathan strander mblackwell1024@gmail.com 2008-12-05 23:22:13 --- Sorry, I misread the report, I in fact get an infinite loop of:
fixme:setupapi:SetupPromptForDiskA (nil) "Setup - Files Needed" "Disk 2" "@\xa1\xf6}" "Disk2.cab" (null) 776 0x7df6a0a8 260 (nil): stub
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #7 from ricardo filipe ricardo_barbano@hotmail.com 2008-12-06 06:25:52 --- (In reply to comment #6)
Sorry, I misread the report, I in fact get an infinite loop of:
fixme:setupapi:SetupPromptForDiskA (nil) "Setup - Files Needed" "Disk 2" "@\xa1\xf6}" "Disk2.cab" (null) 776 0x7df6a0a8 260 (nil): stub
i'm supposing you have more than 1 disk for install, when that message shows up if you go to another terminal and mount the disk2 doesn't the install continue?
http://bugs.winehq.org/show_bug.cgi?id=16317
Markus Napp 412@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |412@gmx.net
--- Comment #8 from Markus Napp 412@gmx.net 2008-12-06 07:04:20 --- I can confirm this new loop asking for Disk2.cab. I have that on Wine 1.1.10 too. There are no additional discs though. All the data is stored in a folder "data" on the installation disc as files Data1.cab - DataX.cab. It should simply point to the next file and read that.
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #9 from ricardo filipe ricardo_barbano@hotmail.com 2008-12-06 07:27:04 --- (In reply to comment #8)
I can confirm this new loop asking for Disk2.cab. I have that on Wine 1.1.10 too. There are no additional discs though. All the data is stored in a folder "data" on the installation disc as files Data1.cab - DataX.cab. It should simply point to the next file and read that.
so the file it needs is not even called Disk2.cab but Data2.cab? :| that's weird... it's a dvd it shouldn't even prompt for another disk... no other messages before the loop?
i think i'd have to implement this if it were to debug it ... and download the game which is 3 Gb and i'm on a slow connection :\ so it will take some time till i can test something further.
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #10 from Markus N. 412@gmx.net 2008-12-06 07:46:08 --- (In reply to comment #9)
(In reply to comment #8)
I can confirm this new loop asking for Disk2.cab. I have that on Wine 1.1.10 too. There are no additional discs though. All the data is stored in a folder "data" on the installation disc as files Data1.cab - DataX.cab. It should simply point to the next file and read that.
so the file it needs is not even called Disk2.cab but Data2.cab? :| that's weird... it's a dvd it shouldn't even prompt for another disk... no other messages before the loop?
i think i'd have to implement this if it were to debug it ... and download the game which is 3 Gb and i'm on a slow connection :\ so it will take some time till i can test something further.
Sorry my bad. The files are of course called Disk1.cab - Disk23.cab. And then there are dozens of other .cab files with the language and movie data.
I get no other error messages before that loop the file being extracted is apparently "actors\mona\animations\MON_GW1_LeanIdle.bam" (201,503 bytes) so one of the animation scripts. I don't know why it breaks at that point because it copied two hundred megabytes of stuff before without problem.
http://bugs.winehq.org/show_bug.cgi?id=16317
André Twupack atwupack@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #11 from André Twupack atwupack@aol.com 2008-12-14 06:55:06 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=16317
Markus N. 412@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|412@gmx.net |
http://bugs.winehq.org/show_bug.cgi?id=16317
Peter Kovacs legine@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #12 from Peter Kovacs legine@gmx.net 2008-12-19 13:46:32 --- sorry the late answer.
I tested it now with wine 1.1.10 And it installs fine now. Valiant efford! :-D
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #13 from jonathan strander mblackwell1024@gmail.com 2008-12-19 20:53:32 --- While extracting the file actors\mona\animations\MON_GWI_LeanIdle.bam I still get the aforementioned infinite loop error. Everything goes fine until that file.
I'm using the package version: 1.1.10~winehq0~ubuntu~8.10-0ubuntu1
http://bugs.winehq.org/show_bug.cgi?id=16317
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2008-12-20 09:05:59 --- Closing bugs fixed in 1.1.11.
http://bugs.winehq.org/show_bug.cgi?id=16317
Markus N. 412@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |412@gmx.net
--- Comment #15 from Markus N. 412@gmx.net 2009-01-01 17:27:53 --- I just tried that with 1.1.11 from the repository (I don't use the trunk packages) and I still get that read error as Johan mentioned in post #6.
Changing the windows version doesn't solve this problem. I can get the installer to start but when it starts copying it shows:
err:module:import_dll Library SETUPAPI.dll (which is needed by L"C:\windows\temp\nsi502.tmp\CABSetup.dll") not found
The copy process is then cancelled but the installer finishes up and shows "Installation successful" but without having copied the main game data files.
I didn't install any additional .dlls that's why I get this message presumably. Using the built-in option doesn't help and only gives me that infinite loop.
At least on my machine this is clearly NOT fixed.
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #16 from ricardo filipe ricardo_barbano@hotmail.com 2009-01-01 19:19:04 --- anyone knows if the demo has the same problem? i'll try to test this, but it will take a while to get the full game... if the demo had the same problem it would be easier to get.
also, markus please only report here with the builtin dll.
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #17 from ricardo filipe ricardo_barbano@hotmail.com 2009-01-01 19:53:05 --- ok a friend of mine will borrow me the game, i'll try to test this tomorrow and see if i can do anything about it.
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #18 from ricardo filipe ricardo_barbano@hotmail.com 2009-01-02 11:23:22 --- Created an attachment (id=18398) --> (http://bugs.winehq.org/attachment.cgi?id=18398) fix setupPromptForDisk
ok i've tried it and i had the infinite loop. for me installation is fixed with this patch. please install 1.1.12 and use the attached patch on it, report back please.
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #19 from Austin English austinenglish@gmail.com 2009-01-02 14:53:33 --- (In reply to comment #18)
Created an attachment (id=18398)
--> (http://bugs.winehq.org/attachment.cgi?id=18398) [details]
fix setupPromptForDisk
ok i've tried it and i had the infinite loop. for me installation is fixed with this patch. please install 1.1.12 and use the attached patch on it, report back please.
This bug is fixed, you should open a new one for any other problems.
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #20 from Markus N. 412@gmx.net 2009-01-03 08:42:00 ---
This bug is fixed, you should open a new one for any other problems.
This bug was NOT fixed or else there wouldn't be a second patch for the problem. That infinite loop is the original bug description. I don't know who marked it fixed but it clearly wasn't tested since people (like me) still have problems with that.
I won't install source files for Wine on my machine for several reasons but I will test as soon as I can.
http://bugs.winehq.org/show_bug.cgi?id=16317
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED |
--- Comment #21 from Jeff Zaroyko jeffz@jeffz.name 2009-01-03 09:50:40 --- reopening - the patch that went in wasn't quite right.
http://bugs.winehq.org/show_bug.cgi?id=16317
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
--- Comment #22 from Vincent Povirk madewokherd@gmail.com 2009-01-14 20:30:22 --- (In reply to comment #18)
Created an attachment (id=18398)
--> (http://bugs.winehq.org/attachment.cgi?id=18398) [details]
fix setupPromptForDisk
The patch looks wrong to me. From MSDN documentation, this function should only return values ranging from 0-4. If it really returns ERROR_CALL_NOT_IMPLEMENTED on Windows, write a test for that. Otherwise, it's probably better to implement enough of this function to make this program happy and write tests.
What does the console output look like now that there is a stub?
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #23 from ricardo filipe ricardo_barbano@hotmail.com 2009-01-15 05:33:33 --- hi vincent. with the old value the path to the file has some weird syntax... returning ERROR_CALL_NOT_IMPLEMENTED somehow makes the path to the file correct "Z:\folder\file.cab" or something like that. i'm not sure why, but i do intend on making tests for this function and implementing some of it. if you want we can talk about it on irc. riclas
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #24 from jonathan strander mblackwell1024@gmail.com 2009-01-19 21:08:46 --- This bug is resolved for me in the latest Wine.
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #25 from ricardo filipe ricardo_barbano@hotmail.com 2009-01-20 06:41:30 --- it's not completely resolved. for some people there is no problem but on others the stub is bad, so don't close this for now.
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #26 from Markus N. 412@gmx.net 2009-01-20 07:04:21 --- I just tried installing again with WinXP and Win2K mode for the Setup.exe both times I get the same results
$ wine Setup.exe fixme:setupapi:SetupPromptForDiskA (nil) "Setup - Files Needed" "Disk 2" "D:\data\" "Disk2.cab" (null) 776 0x7deb6fa8 260 (nil): stub fixme:shell:DllCanUnloadNow stub fixme:shell:DllCanUnloadNow stub fixme:setupapi:SetupPromptForDiskA (nil) "Setup - Files Needed" "mov 2" "D:\data\" "mov2.cab" (null) 776 0x7deb6fa8 260 (nil): stub fixme:setupapi:SetupPromptForDiskA (nil) "Setup - Files Needed" "mov 3" "" "mov3.cab" (null) 776 0x7deb6fa8 260 (nil): stub fixme:setupapi:SetupPromptForDiskA (nil) "Setup - Files Needed" "mov 4" "" "mov4.cab" (null) 776 0x7deb6fa8 260 (nil): stub fixme:setupapi:SetupPromptForDiskA (nil) "Setup - Files Needed" "mov 5" "" "mov5.cab" (null) 776 0x7deb6fa8 260 (nil): stub fixme:setupapi:SetupPromptForDiskA (nil) "Setup - Files Needed" "mov 6" "" "mov6.cab" (null) 776 0x7deb6fa8 260 (nil): stub fixme:shell:DllCanUnloadNow stub fixme:shell:DllCanUnloadNow stub
The installer then breaks with "This package is not supported by your Operating System" but jumps to the "Finish / Show Readme" part of the installer and can be exited normally. Since I don't know which files aren't copied (or not) I can't verify if the game is installed correctly. Certainly looks like it is. Since I can't run it either I have no way of verifying the installation. Could compare it to a windows install but atm I can't swap hard-disks.
http://bugs.winehq.org/show_bug.cgi?id=16317
--- Comment #27 from ricardo filipe ricardo_barbano@hotmail.com 2009-05-07 07:21:07 --- hi, i must have forgot to post here, but these have been implemented by me some time ago and are in wine's main tree. i have installed "A Vampire Story" successfully, although there is another bug, which has already been reported. so this can be closed.
http://bugs.winehq.org/show_bug.cgi?id=16317
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #28 from Austin English austinenglish@gmail.com 2009-05-07 11:37:41 --- Fixed.
http://bugs.winehq.org/show_bug.cgi?id=16317
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #29 from Alexandre Julliard julliard@winehq.org 2009-05-08 12:48:51 --- Closing bugs fixed in 1.1.21.