https://bugs.winehq.org/show_bug.cgi?id=10890
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED URL|http://www.fileshack.com/fi | |le.x/674/Arcanum+Demo | |(demo, installer might be | |different tho!) | CC| |focht@gmx.net Resolution|--- |WORKSFORME Summary|Arcanum installer fails |Arcanum installer fails to | |ask for disk 2
--- Comment #14 from Anastasius Focht focht@gmx.net --- Hello folks,
well, it could be called 'works as designed' (see Wine FAQ for multi-CD installs).
The problem you are seeing is either the result of:
1) you start the installer as first process which directly triggers the creation of a new WINEPREFIX
or
2) the installer triggers an update of an existing WINEPREFIX (due to Wine upgrade) with dosdevices drive symlink not existing yet:
In both cases the drive dosdevices symlink doesn't exist yet hence the bootstrapper installer process working directory will always be 'Z:\' based (and have 'fixed drive' property).
Msi installer last file of disk 1:
--- snip --- {entry={next=0x1abba8, prev=0x1ab9e0}, File="Arcanum.dat", Component=0x1a4828, FileName="Arcanum.dat", ShortName="Arcanum.dat", LongName=0x0(nil), FileSize=0x16ac213d, Version=0x0(nil), Language=0x0(nil), Attributes=0, Sequence=0x3e, state=msifs_missing, TargetPath="C:\Sierra\Arcanum\modules\Arcanum.dat", IsCompressed=0, hash={dwFileHashInfoSize=0, dwData={0, 0, 0, 0}}, disk_id=0x4} --- snip ---
Msi installer first file of disk 2:
--- snip --- {entry={next=0x1abc80, prev=0x1abae8}, File="arcanum2.dat12", Component=0x1a3968, FileName="arcanum2.dat", ShortName="arcanum2.dat", LongName=0x0(nil), FileSize=0x8f76af5, Version=0x0(nil), Language=0x0(nil), Attributes=0, Sequence=0x3f, state=msifs_missing, TargetPath="C:\Sierra\Arcanum\arcanum2.dat", IsCompressed=0, hash={dwFileHashInfoSize=0, dwData={0, 0, 0, 0}}, disk_id=0x5} --- snip ---
ready_media -> source_matches_volume
mi->type will be always DRIVE_FIXED because of "Z:\" based source dir (passed through msi WISE_SETUP_EXE_PATH)
-> msi_change_media() for disk 2 won't be called, resulting in:
--- snip --- 0038:err:msi:ACTION_InstallFiles Failed to copy L"Z:\home\focht\media\DISK1\Sierra\Arcanum\arcanum2.dat" to L"C:\Sierra\Arcanum\arcanum2.dat" (2) 0038:err:msi:ITERATE_Actions Execution halted, action L"InstallFiles" returned 1603 0038:err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603 --- snip ---
Either you pre-create the WINEPREFIX without using the installer as first process (drive letter is properly assigned)
- or -
use the following command which ensures the symlink exists before the actual installer process creation (working directory = media drive letter based).
--- snip --- $ wine start /unix ./setup.exe --- snip ---
At this point the installer will be asking for disk 2 (example: msi sourcedir = "E:\" based, drive type = cdrom/removable etc.)
Regards