https://bugs.winehq.org/show_bug.cgi?id=39698
Bug ID: 39698 Summary: winde don't install from CD/DVD Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: gipfelsturm111@gmx.net Distribution: ---
wine don't install programs from CD or DVD. I have testet it with the game Risen and Risen 3. I have copy the DVD on my HDD and have startet from the HDD and it work.
I have mounted the dvd on kde 5 and start with wine "D:\setup.exe". The installe start and show an undefined error on kde.
Example:
SetupNew\setup.cpp (143)
PAPP: PVENDOR: PGUID: $ @Windows XP Service Pack 3 (2600) IE Version: 9.0.8112.16421
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #1 from gipfelsturm111@gmx.net --- wine version is 1.8-~c1
https://bugs.winehq.org/show_bug.cgi?id=39698
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.8-rc1 Summary|winde don't install from |wine doesn't install |CD/DVD |programs from CD/DVD Severity|blocker |normal
--- Comment #2 from Rosanne DiMesio dimesio@earthlink.net --- Attach terminal output as a plain text file. http://wiki.winehq.org/FAQ#get_log
What distro are you on, and are you using a distro package or did you compile Wine yourself?
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #3 from gipfelsturm111@gmx.net --- log.txt empty. The Messages show on a Window on KDE. I use debian testing and I not compile wine self.
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #4 from Austin English austinenglish@gmail.com --- Could you run ProtectionID on setup.exe and post the report here?
It's available at http://pid.gamecopyworld.com/
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #5 from gipfelsturm111@gmx.net --- same problem on wine 1.8~rc2. here is the output of ProtectionID
Scanning -> D:\setup.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 398600 (061508h) Byte(s) | Machine: 0x14C (I386) Compilation TimeStamp : 0x482518DA -> Sat 10th May 2008 03:39:06 (GMT) [TimeStamp] 0x482518DA -> Sat 10th May 2008 03:39:06 (GMT) | PE Header | - | Offset: 0x00000110 | VA: 0x00400110 | - -> File Appears to be Digitally Signed @ Offset 060000h, size : 01508h / 05384 byte(s) [File Heuristics] -> Flag #1 : 00000000000000001000000000000100 (0x00008004) [Entrypoint Section Entropy] : 6.60 (section #0) ".text " | Size : 0x47052 (290898) byte(s) [DllCharacteristics] -> Flag : (0x0000) -> NONE [SectionCount] 4 (0x4) | ImageSize 0x62000 (401408) byte(s) [VersionInfo] Company Name : Acresso Software Inc. [VersionInfo] Product Name : InstallShield [VersionInfo] Product Version : 15.0 [VersionInfo] File Description : Setup.exe [VersionInfo] File Version : 15.0.498 [VersionInfo] Original FileName : Setup.exe [VersionInfo] Internal Name : Setup [VersionInfo] Legal Copyrights : Copyright (C) 2008 Acresso Software Inc. and/or InstallShield Co. Inc. All Rights Reserved. [CdKeySerial] found "Evaluation version" @ VA: 0x00053C1F / Offset: 0x00053C1F [CompilerDetect] -> Visual C++ 6.0 [!] File appears to have no protection or is using an unknown protection - Scan Took : 0.338 Second(s) [000000152h (338) tick(s)] [503 of 577 scan(s) done]
https://bugs.winehq.org/show_bug.cgi?id=39698
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer Status|UNCONFIRMED |NEEDINFO CC| |focht@gmx.net Summary|wine doesn't install |Risen and Risen 3 |programs from CD/DVD |installers fail to install | |from CD/DVD, reporting | |'SetupNew\setup.cpp (143)' | |error code Ever confirmed|0 |1
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
please avoid generic summaries - keep it precise as possible.
This doesn't look like a DRM issue so you might have done something wrong on your host. There can be many reasons and we don't have a magic glass ball.
You must provide more detail, i.e. describe all steps/commands exactly as they were done on terminal (inputs + outputs/user visible things).
For example many CD/DVD installers *expect* the be run from the correct *working directory* and fail with more or less strange errors if not. This might not be the case here but I mention it here to illustrate my point.
Also "The installer start and show an undefined error on kde." is not precise enough. Did the installer already show some dialog at all? Did you interact with it until the error message? Which buttons clicked .. and so on. See my point?
Regards
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #7 from gipfelsturm111@gmx.net --- yes it is only the same error. Other setup.exe run. I have test it with windows xp installation CD and it run.
https://bugs.winehq.org/show_bug.cgi?id=39698
georg_mueller@safe-mail.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |georg_mueller@safe-mail.net
--- Comment #8 from georg_mueller@safe-mail.net --- I ran in the same issue with Tom Clancy's H.A.W.X.
Wine wine-1.8-rc4 Distro: Debian Jessie x64
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello Georg,
--- quote --- I ran in the same issue with Tom Clancy's H.A.W.X. --- quote ---
I found a distributed backup of this game but I'm unable to reproduce this. Mounted the ISO and started the installer 'setup.exe' from the mount point - installs fine.
So how to reproduce? Please provide exact instructions for terminal use, i.e. 'cd to folder x' (mount point), 'run command Y', 'click installer button(s) A,B,C' etc.
Regards
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #10 from georg_mueller@safe-mail.net --- $ mount /media/cdrom mount: /dev/sr0 is write-protected, mounting read-only $ cd /media/cdrom/ $ wine setup.exe
$ md5sum setup.exe 00e1b118ee11358c795959d84abf3605 setup.exe
I hope, this helps.
https://bugs.winehq.org/show_bug.cgi?id=39698
Jens Reyer jre.winesim@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jre.winesim@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #11 from Jens Reyer jre.winesim@gmail.com --- @gipfelsturm: I assume you are using the debian.org packages (given that the winehq.org packages were only available since 2 days when you reported your bug. Can you try the winehq.org packages (see http://wiki.winehq.org/Debian)?
@georg_mueller (in case you experience the exact same issue): Are you using the Debian packages from debian.org or winehq.org? Debian Jessie (debian.org) doesn't have wine-1.8. It's also not yet in jessie-backport.
On Debian we have the same bug reported: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806206. But also not much info there, yet.
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #12 from georg_mueller@safe-mail.net --- Created attachment 53173 --> https://bugs.winehq.org/attachment.cgi?id=53173 Console output while running HAWX setup.exe
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #13 from georg_mueller@safe-mail.net --- I built a i386 Wine 1.8-rc4 on my own, because Debian has only (IMHO) outdated Wine packages. As mentioned in my H.A.W.X. test data report at appdb.winehq.org, the installer works well with wine 1.6.
$apt-cache depends wine-1.8 wine-1.8:i386
I had added my dvd as an normal path (e.g. D:\ ) as some comments describes above, but nothing changes I tried: $ wine D:\setup.exe and $ cd /media/cdrom/ $ wine setup.exe
https://bugs.winehq.org/show_bug.cgi?id=39698
mgilbert@debian.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mgilbert@debian.org
--- Comment #14 from mgilbert@debian.org --- Your console output says:
err:virtual:map_file_into_view failed to set 00000005 protection on file map, noexec filesystem?
Does your CD mount have the noexec option set?
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #15 from georg_mueller@safe-mail.net --- No, this option isn't set.
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #16 from mgilbert@debian.org --- The output of mount can differ from fstab, so what does it actually say?
By the way, Debian packages of 1.8 have been for the last two months, so give that a try instead of your from source build.
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #17 from georg_mueller@safe-mail.net --- (In reply to mgilbert from comment #16)
The output of mount can differ from fstab, so what does it actually say?
By the way, Debian packages of 1.8 have been for the last two months, so give that a try instead of your from source build.
Wine 1.8 is only available for testing, not for stable. I'm using wine 1.9.1 and mount with exec:
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
Now, the installer runs without any problems, but I didn't test the whole game.
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #18 from Jens Reyer jre.winesim@gmail.com --- (In reply to georg_mueller from comment #17)
Wine 1.8 is only available for testing, not for stable. I'm using wine 1.9.1 and mount with exec:
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
Now, the installer runs without any problems, but I didn't test the whole game.
How exactly did you build the 1.8~rc4? Did you compile from vanilla source, are you using the debian.org packaging with updated source, or something else?
Similar question for 1.9.1: Did you build your own, and if yes how? Or do you use ready packages, if yes which?
(In reply to georg_mueller from comment #13)
$apt-cache depends wine-1.8 wine-1.8:i386
This seems to NOT be the debian.org packaging. So I'm starting to think that a) this was no debian.org packaging issue and b) it is fixed in the 1.9.1 (or earlier) wine source, or the environment on Debian was broken and is fixed now.
However, I'd really like to hear an answer to my questions.
btw: wine 1.8 will soon be available in jessie-backports. I was waiting for a build-dependency to arrive in backports.
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #19 from georg_mueller@safe-mail.net --- I'm using a clean chroot Jessie i386 environment, running
./configure make checkinstall --install=no
That's the receipe for building Wine 1.8 and 1.9.
With wine 1.6, which are inside the official Debian repo, and my original fstab, I didn't run in the setup.cpp issue.
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #20 from mgilbert@debian.org --- commit 4792cf31c changed the logic around your problematic mmap call in map_file_into_view.
Try building with that commit reverted, which should get you back to wine 1.6 behavior in that routine.
https://bugs.winehq.org/show_bug.cgi?id=39698
Aaron Franke arnfranke@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arnfranke@yahoo.com
--- Comment #21 from Aaron Franke arnfranke@yahoo.com --- Is this still an issue in Wine 2.6?
https://bugs.winehq.org/show_bug.cgi?id=39698
testing.tigerwolf@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |testing.tigerwolf@mail.com
--- Comment #22 from testing.tigerwolf@mail.com --- (In reply to Aaron Franke from comment #21)
Is this still an issue in Wine 2.6?
Same issue still occurs with Tom Clancy's H.A.W.X, with wine-2.10
See attachments
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #23 from testing.tigerwolf@mail.com --- Created attachment 58408 --> https://bugs.winehq.org/attachment.cgi?id=58408 execution log
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #24 from testing.tigerwolf@mail.com --- Created attachment 58409 --> https://bugs.winehq.org/attachment.cgi?id=58409 error window
https://bugs.winehq.org/show_bug.cgi?id=39698
Andrey andrey.gursky@e-mail.ua changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.gursky@e-mail.ua
https://bugs.winehq.org/show_bug.cgi?id=39698
--- Comment #25 from testing.tigerwolf@mail.com --- still remains in wine 3.15. Same log
https://bugs.winehq.org/show_bug.cgi?id=39698
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Risen and Risen 3 |Risen and Risen 3 |installers fail to install |installers fail to install |from CD/DVD, reporting |from CD/DVD, reporting |'SetupNew\setup.cpp (143)' |'SetupNew\setup.cpp (143)' |error code |error code (media mounted | |with 'noexec') Resolution|--- |INVALID Status|NEEDINFO |RESOLVED
--- Comment #26 from Anastasius Focht focht@gmx.net --- Hello folks,
again, that's not a problem with Wine!
--- snip --- user@computer:~$ wine /media/cdrom/Autorun.exe user@computer:~$ fixme:ole:CoInitializeSecurity (0x33fa40,-1,(nil),(nil),6,2,(nil),8192,(nil)) - stub! err:virtual:map_file_into_view failed to set 00000005 protection on file map, noexec filesystem? err:virtual:NtMapViewOfSection map_file_into_view 0x340000 1000 000000000 failed err:virtual:map_file_into_view failed to set 00000005 protection on file map, noexec filesystem? err:virtual:NtMapViewOfSection map_file_into_view 0x340000 1000 000000000 failed --- snip ---
You should fix your distro media mounting/auto-mounter setup.
exec:
--- snip --- $ mount ... RISEN.iso on xxx type iso9660 (ro,relatime,norock,check=r,map=n,blocksize=2048)
$ ls -lsa total 1835597 2 dr-xr-xr-x. 1 root root 2048 Sep 9 2009 . 4 drwxrwxr-x. 3 focht focht 4096 Sep 7 10:52 .. 3 -r-xr-xr-x. 1 root root 2813 Sep 8 2009 autorun.inf 2 dr-xr-xr-x. 1 root root 2048 Sep 9 2009 autostarter 214 -r-xr-xr-x. 1 root root 218376 Sep 3 2009 AutoStarter.exe 553 -r-xr-xr-x. 1 root root 565807 Sep 3 2009 data1.cab 17 -r-xr-xr-x. 1 root root 16987 Sep 3 2009 data1.hdr 910502 -r-xr-xr-x. 1 root root 932354048 Sep 3 2009 data2.cab 921736 -r-xr-xr-x. 1 root root 943856992 Sep 3 2009 data3.cab 2 dr-xr-xr-x. 1 root root 2048 Sep 9 2009 executables 2 dr-xr-xr-x. 1 root root 2048 Sep 9 2009 fonts 548 -r-xr-xr-x. 1 root root 560904 Sep 3 2009 ISSetup.dll 5 -r-xr-xr-x. 1 root root 4270 Sep 3 2009 layout.bin 2 dr-xr-xr-x. 1 root root 2048 Sep 9 2009 redist 318 -r-xr-xr-x. 1 root root 324872 Sep 3 2009 _Setup.dll 390 -r-xr-xr-x. 1 root root 398600 Sep 3 2009 setup.exe 1 -r-xr-xr-x. 1 root root 475 Sep 3 2009 setup.ini 249 -r-xr-xr-x. 1 root root 254525 Sep 3 2009 setup.inx 1050 -r-xr-xr-x. 1 root root 1074376 Jul 30 2009 setup.isn
$ wine ./setup.exe
<works> --- snip ---
Making it 'noexec':
--- snip --- $ sudo mount -o noexec,remount xxx
$ mount ... RISEN.iso on xxx type iso9660 (ro,noexec,relatime,norock,check=r,map=n,blocksize=2048)
$ WINEDEBUG=+msgbox wine ./setup.exe 0009:err:virtual:map_file_into_view failed to set PROT_EXEC on file map, noexec filesystem? 0009:err:virtual:virtual_map_section mapping 0x360000 1000 000000000 failed 0009:err:virtual:map_file_into_view failed to set PROT_EXEC on file map, noexec filesystem? 0009:err:virtual:virtual_map_section mapping 0x360000 1000 000000000 failed 0009:trace:msgbox:MSGBOX_OnInit L">SetupNew\setup.cpp (143)\r\nPAPP:\r\nPVENDOR:\r\nPGUID:\r\n$\r\n@Windows XP Service Pack 3 (2600) \r\nIE Version: 9.11.9600.18376" --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=39698
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Status|RESOLVED |CLOSED
--- Comment #27 from André H. nerv@dawncrow.de --- closing invalid