https://bugs.winehq.org/show_bug.cgi?id=31939
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer Status|NEW |RESOLVED Resolution|--- |INVALID Summary|QuickBooks Pro 8 setup |QuickBooks Pro 8 |exits silently |(Accountant Edition 2008 | |US) setup exits silently | |(installer expects to be | |started from correct | |working directory)
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
I found a distributed backup - thanks to some people still seeding old stuff.
In short: There is nothing to fix here. Ken didn't change to proper working directory prior running the installer with "<cd-drive>:\foo.exe" path syntax.
Test: I (fuse) mounted the ISO image at 'd:' to replicate the setup.
Working directory = $HOME (to prove the point)
--- snip --- $ ll .wine/dosdevices/ total 16 lrwxrwxrwx. 1 focht focht 10 May 10 2015 c: -> ../drive_c lrwxrwxrwx. 1 focht focht 16 Nov 12 16:53 d: -> /home/focht/iso/ lrwxrwxrwx. 1 focht focht 8 Nov 12 16:53 e:: -> /dev/sr0 lrwxrwxrwx. 1 focht focht 1 Jun 24 00:11 z: -> /
$ pwd /home/focht
$ WINEDEBUG=+tid,+seh,+relay,+server wine "d:\setup.exe" >>log.txt 2>&1 ... 0009: create_file( access=80000000, attributes=00000040, sharing=00000005, create=1, options=00000060, attrs=00000000, objattr={rootdir=0000,sd={},name=L""}, filename="/home/focht/.wine/dosdevices/d:/setup.exe" ) 0009: create_file() = 0 { handle=0018 } ... 0009: load_dll( mapping=001c, base=00400000, name=001158f8, size=643072, dbg_offset=0, dbg_size=0, filename=L"D:\setup.exe" ) 0009: load_dll() = 0 ... 0009:Call KERNEL32.GetCommandLineA() ret=00401237 0009:Ret KERNEL32.GetCommandLineA() retval=00133080 ret=00401237 ... 0009:Call KERNEL32.FindFirstFileA(004a08e8 ".\Qbooks\setup.exe",0033fc58) ret=0040102e 0009:Ret KERNEL32.FindFirstFileA() retval=ffffffff ret=0040102e ... 0009:Call KERNEL32.ExitProcess(00000000) ret=0040179d --- snip ---
This of course can't work if the working directory is not properly set since the installer makes assumptions with relative paths.
Changing to the mount point before running 'wine d:\setup.exe' lets the installer show the user interface. Full installation succeeds in clean WINEPREFIX.
Tidbit: All those 'winetricks' recipes referenced in initial report are not needed anymore - they rather pollute WINEPREFIX nowadays (installer bundles MDAC 2.8 and .NET 2.0 on it's own and installs if necessary).
$ wine --version wine-1.7.54-302-g5cf9539
Regards