Missing installed app

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
MaddogK
Level 1
Level 1
Posts: 7
Joined: Thu Apr 12, 2018 10:51 am

Missing installed app

Post by MaddogK »

Hello,
Hope someone can direct me to the appropriate docs, as I'm a total Linux and wine noobie.

After spending a couple of hours getting wine installed into Debian stretch, and review/test my settings in wine.cfg. I insert my game disk and left click on the installer to run with wine. After the installer seems to install the game (as indicated by an install progress bar) it ask me to switch to the the second disk of the game as expected, and gives me the prompt to start the game or exit the installer. I choose exit. I then open the file search dialog and locate the game launcher and again select it to run with wine, where it starts to load and shows an error box- about a serious error blah blah, and I close it.

A little confused about this I again attempt to relaunch the game and get the same error box.

I then install 'runonlinux' app and launch that hoping it'll direct me to a more informative answer why my app wont run, and it shows me a blank list where I expect the game icon to be. After perusing the runonlinux menu's I click on something in settings that shows me this:
viewtopic.php?f=8&t=30148
...so I assume wine installed the app using a 64bit config or is trying to run it that way. The game is a 32 bit app. So away I go to research what this means. Once I think I get an understanding what went wrong I decide to uninstall the game and start over, so I open the search dialog, locate the game uninstaller, and right-click and run with wine. Dialog box disappears and nothing else happens. I try again with the same result. I try to launch the game, and same thing. The wine.cfg doesn't show the game installed, nor does the wine desktop.

So now I'm stumped. I think I can find the folder the game installed to (by unhiding the virtual C: drive folder) but am unsure if I should simply delete the folder and start over. I really don't have the drivespace to let 500Mb of missing data just exist while I work around this goof.

What should I do now ?
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Missing installed app

Post by dimesio »

Yes, at this point you should delete the wineprefix and start over.

Regarding not seeing your app in winecfg, you won't unless you manually add it to the applications window, and you only need to do that if you want to change settings for one app rather than globally.

I've never heard of "runonlinux." Do you mean PlayOnLinux? That's not supported here.

You didn't mention what Wine version you're using. If it's not at least the latest stable release (3.0), upgrade.

You also didn't mention what game this is; have you checked the AppDB for known issues and workarounds? If not, you should.

You might want to read https://wiki.winehq.org/Wine_User%27s_G ... s_programs before reinstalling your game. If you still have problems after reinstalling, post terminal output.
MaddogK
Level 1
Level 1
Posts: 7
Joined: Thu Apr 12, 2018 10:51 am

Re: Missing installed app

Post by MaddogK »

Thanks for the quick reply,

Yes, it is in fact 'playonlinux'. I haven't actually done anything with it other that look thru the menu's for clues for the crashes.
I'm trying to install 'Klingon Academy' from my original disks.
I followed the wine install instructions to the letter from the winehq docs, so I'm assuming it the current stable release. I'll verify that when I get home.
I'm going to follow section 4 to remove the app when I get home, read the link you posted, and try again now that I know wine will need to be told what architecture to install/run it in.

TY for the help.
MaddogK
Level 1
Level 1
Posts: 7
Joined: Thu Apr 12, 2018 10:51 am

Re: Missing installed app

Post by MaddogK »

Wine 3.0 installed.

OK, I got this far:
I removed the existing wineprefix per 4.4 of the winehq FAQ

Code: Select all

 rm -rf .wine 
I ran this command from the terminal per this thread viewtopic.php?f=8&t=27296

Code: Select all

 WINEARCH=win32 wineboot 
I then created a new 32 bit wineprefix per 6.5.3 of the FAQ

Code: Select all

 WINEARCH=win32 WINEPREFIX= ~/wine32. winecfg 
and ran the installer

Code: Select all

 WINEPREFIX= ~/wine32. wine start /unix /media/cdrom0/setup.exe 
and it seemed to install to the correct location within the new wineprefix. Am feeling pretty good at this point so I go into the prefix, locate the KA.exe file and click on it only to see the same 'serious crash' error message. I try again with the right mouse buttons 'run with wine' option. Same crash message. Sigh. I think this is where I should apply the patch to the game and see if things improve, so I move the patchfile to within the wine32./drive C directory and run it from a newly opened terminal in that directory (after many variations of the below statement and moving the patchfile to different locations)

Code: Select all

WINEPREFIX= ~/wine32. wine start ka102us.exe 
It doesn't work so I toss 'sudo' in front of it and it now runs and gives me an error about not being able to modify the registry. Huh ??? I run this

Code: Select all

 sudo chown -R $USER:$USER .wine32 
...and run the patcher again. Now it says I'm not the owner.
LOL, I surmise the '$USER' just botched the works and I need to change it back to my login, but it's early in the a.m. and I got to get some sleep. It shouldn't be too hard to regain ownership of my directories, right ?
MaddogK
Level 1
Level 1
Posts: 7
Joined: Thu Apr 12, 2018 10:51 am

Re: Missing installed app

Post by MaddogK »

This is what I get in the terminal when I attempt to create a wineprefix for my game,

Code: Select all

 
rob@debian9-1a:~$ env WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
wine: created the configuration directory '/home/rob/.wine32'
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002
0017:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0017:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
001b:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
001b:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
001b:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0010:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0010:fixme:dwmapi:DwmIsCompositionEnabled 0x6d5d3018
001d:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0x9588c8, init_notify 0, handle 0x119fc88): stub
wine: configuration in '/home/rob/.wine32' has been updated.
rob@debian9-1a:~$ 
Is wine not completely installed ?
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Missing installed app

Post by dimesio »

Code: Select all

0010:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
You need to fix that; install winbind. You're probably just missing the 32 bit package.

Everything else looks normal.
MaddogK
Level 1
Level 1
Posts: 7
Joined: Thu Apr 12, 2018 10:51 am

Re: Missing installed app

Post by MaddogK »

OK, got the winediag error fixed, and in the process tweeked the sources list and on the apt-get update some other stuff installed. Can't say what it was BUT on re-entering the env WINEARCH=win32 command ALOT of new stuff happened

Code: Select all

rob@debian9-1a:~$ env WINEARCH=win32
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
XDG_MENU_PREFIX=xfce-
LANG=en_US.utf8
DISPLAY=:0.0
COLORTERM=truecolor
XDG_VTNR=7
SSH_AUTH_SOCK=/tmp/ssh-ER7KrsQ5OtLD/agent.27520
GLADE_CATALOG_PATH=:
XDG_SESSION_ID=16
XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/rob
USER=rob
GLADE_MODULE_PATH=:
DESKTOP_SESSION=lightdm-xsession
PWD=/home/rob
HOME=/home/rob
SSH_AGENT_PID=27556
QT_ACCESSIBILITY=1
XDG_SESSION_TYPE=x11
XDG_DATA_DIRS=/usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share
XDG_SESSION_DESKTOP=lightdm-xsession
GLADE_PIXMAP_PATH=:
TERM=xterm-256color
SHELL=/bin/bash
VTE_VERSION=4601
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_CURRENT_DESKTOP=XFCE
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
SHLVL=1
XDG_SEAT=seat0
WINDOWID=41943043
GDMSESSION=lightdm-xsession
LOGNAME=rob
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
XDG_RUNTIME_DIR=/run/user/1000
XAUTHORITY=/home/rob/.Xauthority
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session2
XDG_CONFIG_DIRS=/etc/xdg
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
SESSION_MANAGER=local/debian9-1a:@/tmp/.ICE-unix/27566,unix/debian9-1a:/tmp/.ICE-unix/27566
_=/usr/bin/env
WINEARCH=win32
rob@debian9-1a:~$ WINEARCH=win32 WINEPREFIX=~/.wine32 sudo winecfg
wine: '/root/.wine' is a 64-bit installation, it cannot be used with a 32-bit wineserver.
rob@debian9-1a:~$ WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
wine: created the configuration directory '/home/rob/.wine32'
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/rob/.wine32' has been updated.
err:pulse:pulse_contextcallback Context failed: Connection refused
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
rob@debian9-1a:~$ 
I've not seen most of the above before. Is thata good thing ?

I've gotten the game installed before all this BUT the patch is failing. It's a self extracting archive that on complete triggers another exe that applies something to existing files and replaces one. I cannot get the updater to run, tho I've extracted the one file that replaces the 'ka.exe', the main game file. Still looking for the 'tips and tricks' to get this working but the winehq section showing this game doesn't give any clues how to make it work, and is unmaintained.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Missing installed app

Post by dimesio »

Code: Select all

rob@debian9-1a:~$ WINEARCH=win32 WINEPREFIX=~/.wine32 sudo winecfg
Never run Wine as sudo/root. https://wiki.winehq.org/FAQ#Should_I_ru ... as_root.3F

Code: Select all

Could not load wine-gecko. HTML rendering will be disabled.
That's a problem. Wine should have downloaded wine-gecko automatically for you on wineprefix creation. Did you get a prompt about that? You can download it manually. https://wiki.winehq.org/Gecko
MaddogK
Level 1
Level 1
Posts: 7
Joined: Thu Apr 12, 2018 10:51 am

Re: Missing installed app

Post by MaddogK »

Yes, I realized I shouldn't run wine as root, but luckily it didn't run, and I ran it as user the second time as the above dump indicated:

Code: Select all

 rob@debian9-1a:~$ WINEARCH=win32 WINEPREFIX=~/.wine32 sudo winecfg
wine: '/root/.wine' is a 64-bit installation, it cannot be used with a 32-bit wineserver.
rob@debian9-1a:~$ WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
wine: created the configuration directory '/home/rob/.wine32' 
I didn't realize running as sudo made me appear as root to the program, I thought it only gave me the root permissions. Live and learn.


As for the Gecko error I didn't notice that before, but some of the other Gecko modules gave me a prompt to confirm the installation of them. I'll try to install it manually and 'sigh' reinstall the app.
:)

Tho for clarification- do I need to have set the winearch=32 before I install gecko, or does it matter ?
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Missing installed app

Post by dimesio »

MaddogK wrote: Tho for clarification- do I need to have set the winearch=32 before I install gecko, or does it matter ?
WINEARCH only needs to be specified when creating a new wineprefix.
MaddogK
Level 1
Level 1
Posts: 7
Joined: Thu Apr 12, 2018 10:51 am

Re: Missing installed app

Post by MaddogK »

Per the gecko download page, I put the files wine_gecko-2.47-x86_64.msi and wine_gecko-2.47-x86.msi into the /usr/share/wine/gecko folder (I had to create the gecko folder) and reran winecfg, and got the same error. Deleted the wineprefix and tried it again- same error. Logged out then back in as root, deleted the wineprefix there and rebooted. Logged back in as user, moved the installed game to somewhere safe and deleted the wineprefix.

Tried again to create the wine32 prefix, same missing gecko error.
deleted the prefix, ran

Code: Select all

 WINEARCH=win64  winecfg 
Same missing gecko error.

Ran unset WINEARCH , then winecfg again, same missing gecko error.

I'm at a loss now, I'm not being prompted to install gecko anymore, nor is the gecko file I downloaded and put in the place shown on the gecko page even being used.

Now what ?

I'm pretty sure I chose the WoW64 version at install per viewtopic.php?f=2&t=26881 but am unsure how to check.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Missing installed app

Post by dimesio »

Try putting the .msi files in ~/.cache/wine.
Locked