[Bug 39698] Risen and Risen 3 installers fail to install from CD/DVD, reporting 'SetupNew\setup.cpp (143)' error code (media mounted with ' noexec')

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 7 04:05:54 CDT 2018


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

Anastasius Focht <focht at 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 at gmx.net> ---
Hello folks,

again, that's not a problem with Wine!

--- snip ---
user at computer:~$ wine /media/cdrom/Autorun.exe 
user at 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 at Windows XP Service Pack 3 (2600)
\r\nIE Version: 9.11.9600.18376"
--- snip ---

Regards

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