You are not logged in.

#1 2016-10-27 01:47:59

Kurai
Member
Registered: 2016-10-27
Posts: 21

Wine does not work whenever I try to run a program.

It does install, but when I try to run a program (which I had already added to the list of programs through winecfg) the output is "wine: cannot find L"C:\\windows\\system32\\PROGRAM.exe".

I have already reinstalled twice, and it still hasn't worked. Any suggestions?

Offline

#2 2016-10-27 04:55:23

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: Wine does not work whenever I try to run a program.

It's an unusual program that would install under C:\Windows\System32\ (Wine or native Windows) You probably need to point the start command through winecfg at "C:\\Program Files\\Program Folder\\Program.exe", whatever locations those actually are, the error looks likely that the executable isn't at the specified location.

Depending on the actual program WINE may or may not work for it in any event, I've always found it somewhat hit or miss.  I tend myself towards ignoring WINE, and putting Windows programs inside a Windows VM, that way things tend to work as expected, rather than odd issues appearing.

Without knowing exactly what you're trying to install, it's very difficult to be more helpful.

Last edited by Bearded_Blunder (2016-10-27 06:01:20)


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#3 2016-10-27 08:30:16

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,740

Re: Wine does not work whenever I try to run a program.

cd && cd .wine
ls

should give you something like

dosdevices  drive_c  system.reg  userdef.reg  user.reg

After that you can find PROGRAM.EXE and see whats up with that.

Last edited by brontosaurusrex (2016-10-27 10:31:12)

Offline

#4 2016-10-27 19:02:14

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Wine does not work whenever I try to run a program.

if it's a windows program that has to be installed with an installer, then it has to be installed with wine, too.

in any case i concur that

L"C:\\windows\\system32\\PROGRAM.exe"

is not a good location, or maybe also a typo? what's that 'L' at the beginning?

Offline

#5 2016-10-27 23:25:51

photonucleon
Thursday
From: out of that impossible sky
Registered: 2015-09-29
Posts: 299

Re: Wine does not work whenever I try to run a program.

Without knowing anything about WINE at all, aren't Windows directory separators usually "\" and not "\\"?


The servant lifted off a kind of ottoman a long peacock-blue drapery, rather of the nature of a domino, on the front of which was emblazoned a large golden sun, and which was splashed here and there with flaming stars and crescents. “You’re to be dressed as Thursday, sir,” said the valet somewhat affably.

Offline

#6 2016-10-28 00:39:18

Kurai
Member
Registered: 2016-10-27
Posts: 21

Re: Wine does not work whenever I try to run a program.

Okay, I just switched wine with Playonlinux, which worked with the first program, but whenever I try to install anything new just by choosing "Open with Playonlinux" nothing comes up. When I open up the program manually, this pops up as an error:

"Error in POL_Shortcut
Binary not found: (ExampleProgram).exe
Have you installed the program to the default location?"

Any suggestions?

Offline

#7 2016-10-28 01:03:06

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: Wine does not work whenever I try to run a program.

Well I already suggested using a virtual machine to run Windows programs under Windows.
I have no experience whatsoever with Playonlinux, so from now on it's complete guesswork, I had at least some limited experience with WINE....

Kurai wrote:

whenever I try to install anything new just by choosing "Open with Playonlinux" nothing comes up.

What happens if you pass the installer as an argument to Playonlinux or WINE in a terminal?  Often that approach tells you way more than point and click.

Kurai wrote:

When I open up the program manually, this pops up as an error:

Again, is this terminal output? or a pop-up window? If the installer failed because "nothing comes up" there's a good chance the binary isn't where it's supposed to be.

It would be helpful if we knew what exactly you're trying to install and get working, the problem may be specific to that program, and may or may not be a known issue, how can we tell when we don't know what the program is?

Also switching compatibility layer mid-stream doesn't help anyone to help, one moment we're trying to troubleshoot WINE, and instead of answers to any of the questions anyone asked, we're suddenly trying, from scratch, to troubleshoot playonlinux instead... mad

Second suggestion "Find a native Linux program to do what you want"  there usually is one.


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#8 2016-10-28 02:23:39

Kurai
Member
Registered: 2016-10-27
Posts: 21

Re: Wine does not work whenever I try to run a program.

What happens if you pass the installer as an argument to Playonlinux or WINE in a terminal?  Often that approach tells you way more than point and click.

I'll check that right now.

Again, is this terminal output? or a pop-up window? If the installer failed because "nothing comes up" there's a good chance the binary isn't where it's supposed to be.

It's the next tab that comes up whenever I try to install, instead of the standard statement that says "installing program," so technically it's a popup window.

It would be helpful if we knew what exactly you're trying to install and get working, the problem may be specific to that program, and may or may not be a known issue, how can we tell when we don't know what the program is?

Discord and Steam were the two programs.

Also switching compatibility layer mid-stream doesn't help anyone to help, one moment we're trying to troubleshoot WINE, and instead of answers to any of the questions anyone asked, we're suddenly trying, from scratch, to troubleshoot playonlinux instead... mad

Sorry, I had a solution that led to more problems, and I didn't want to post so many topics within such a short amount of time.

Nevermind, all commands just lead to the base program, so it's all in the interface.

Last edited by Kurai (2016-10-28 02:25:29)

Offline

#9 2016-10-28 02:57:42

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: Wine does not work whenever I try to run a program.

Have you looked at the Debian wiki regarding steam?
And here for discord?

You might be able to ditch WINE/Playonlinux, for steam certainly, for discord, um, I'm less sure, but at least it's uninstallable again if it doesn't work.

I use neither myself, but I'm sure others here will, and may be able to offer better guidance.

Looking at the app db at WINEHQ looks like you'll be struggling with discord under WINE.

Last edited by Bearded_Blunder (2016-10-28 03:07:37)


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#10 2016-10-28 03:09:39

Kurai
Member
Registered: 2016-10-27
Posts: 21

Re: Wine does not work whenever I try to run a program.

Bearded_Blunder wrote:

Have you looked at the Debian wiki regarding steam?
And here for discord?

You might be able to ditch WINE/Playonlinux, for steam certainly, for discord, um, I'm less sure, but at least it's uninstallable again if it doesn't work.

I use neither myself, but I'm sure others here will, and may be able to offer better guidance.

Looking at the app db at WINEHQ looks like you'll be struggling with discord under WINE.

The one issue I have with Linux-based steam is that some of my favorite games for it that I would consider playing on the go are Windows-exclusive, such as Azure Striker Gunvolt. That's why I need the Windows release of Steam. Thanks for the Discord suggestion, though.

Offline

#11 2016-10-28 03:15:25

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: Wine does not work whenever I try to run a program.

Judging by the long list of steam issues at WINEHQ, and given games tend to perform less than wonderfully inside a VM, which is your other option for Windows steam under Linux.  May I respectfully suggest if the Linux steam won't do, this may be a situation that calls for setting up a dual-boot with Windows?


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#12 2016-10-28 16:18:06

Kurai
Member
Registered: 2016-10-27
Posts: 21

Re: Wine does not work whenever I try to run a program.

Okay, got steam working, and got the output for the Discord setup error:

Unhandled exception: assertion failed in 32-bit code (0xb7498e2c).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:b7498e2c ESP:0032cc24 EBP:0032ce88 EFLAGS:00000202(   - --  I   - - - )
 EAX:00000000 EBX:00001b04 ECX:00001b04 EDX:00000006
 ESI:00000070 EDI:b75db000
Stack dump:
0x0032cc24:  b75db000 0032ccc4 b749a4b3 00000006
0x0032cc34:  0032cc44 00000000 70782d72 30303020
0x0032cc44:  00000020 00000000 00000000 00000000
0x0032cc54:  00000000 00000000 00000000 00000000
0x0032cc64:  00000000 00000000 00000000 00000000
0x0032cc74:  00000000 00000000 00000000 00000000
Backtrace:
=>0 0xb7498e2c gsignal+0x3c() in libc.so.6 (0x0032ce88)
  1 0xb749a4b3 abort+0x142() in libc.so.6 (0x0032ce88)
  2 0xb74d7528 in libc.so.6 (+0x6c527) (0x0032ce88)
  3 0xb7553040 __fortify_fail+0x3f() in libc.so.6 (0xb7599bd6)
  4 0xb7552ffa __stack_chk_fail+0x19() in libc.so.6 (0x0032d138)
  5 0x7eb6e5c4 in advapi32 (+0x3e5c3) (0x0032d138)
  6 0x7eb58eb1 in advapi32 (+0x28eb0) (0x0032d138)
  7 0x004f0043 in discordsetup (+0xf0042) (0x003b003b)
0xb7498e2c gsignal+0x3c in libc.so.6: xchgl	%edi,%ebx
Modules:
Module	Address			Debug info	Name (66 modules)
PE	  400000- 3405000	Export          discordsetup
ELF	7b800000-7ba55000	Deferred        kernel32<elf>
  \-PE	7b810000-7ba55000	\               kernel32
ELF	7bc00000-7bcd6000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bcd6000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7de93000-7deb0000	Deferred        libgcc_s.so.1
ELF	7def6000-7df2b000	Deferred        uxtheme<elf>
  \-PE	7df00000-7df2b000	\               uxtheme
ELF	7df2b000-7df32000	Deferred        libxfixes.so.3
ELF	7df32000-7df3e000	Deferred        libxcursor.so.1
ELF	7df3e000-7df51000	Deferred        libxi.so.6
ELF	7df51000-7df55000	Deferred        libxcomposite.so.1
ELF	7df55000-7df61000	Deferred        libxrandr.so.2
ELF	7df61000-7df6d000	Deferred        libxrender.so.1
ELF	7df6d000-7df74000	Deferred        libxxf86vm.so.1
ELF	7df74000-7df78000	Deferred        libxinerama.so.1
ELF	7df78000-7df7e000	Deferred        libxdmcp.so.6
ELF	7df7e000-7df82000	Deferred        libxau.so.6
ELF	7df82000-7dfa8000	Deferred        libxcb.so.1
ELF	7dfa8000-7e0fa000	Deferred        libx11.so.6
ELF	7e0fa000-7e10f000	Deferred        libxext.so.6
ELF	7e123000-7e1b0000	Deferred        winex11<elf>
  \-PE	7e130000-7e1b0000	\               winex11
ELF	7e1fc000-7e225000	Deferred        libexpat.so.1
ELF	7e225000-7e268000	Deferred        libfontconfig.so.1
ELF	7e268000-7e295000	Deferred        libpng12.so.0
ELF	7e295000-7e347000	Deferred        libfreetype.so.6
ELF	7e347000-7e36e000	Deferred        mpr<elf>
  \-PE	7e350000-7e36e000	\               mpr
ELF	7e36e000-7e38b000	Deferred        libz.so.1
ELF	7e38b000-7e401000	Deferred        wininet<elf>
  \-PE	7e390000-7e401000	\               wininet
ELF	7e401000-7e49c000	Deferred        urlmon<elf>
  \-PE	7e410000-7e49c000	\               urlmon
ELF	7e49c000-7e5c6000	Deferred        oleaut32<elf>
  \-PE	7e4b0000-7e5c6000	\               oleaut32
ELF	7e5c6000-7e641000	Deferred        rpcrt4<elf>
  \-PE	7e5d0000-7e641000	\               rpcrt4
ELF	7e641000-7e76f000	Deferred        ole32<elf>
  \-PE	7e660000-7e76f000	\               ole32
ELF	7e76f000-7e869000	Deferred        comctl32<elf>
  \-PE	7e780000-7e869000	\               comctl32
ELF	7e869000-7e8df000	Deferred        shlwapi<elf>
  \-PE	7e880000-7e8df000	\               shlwapi
ELF	7e8df000-7eb08000	Deferred        shell32<elf>
  \-PE	7e8f0000-7eb08000	\               shell32
ELF	7eb08000-7eb21000	Deferred        version<elf>
  \-PE	7eb10000-7eb21000	\               version
ELF	7eb21000-7eb8f000	Dwarf           advapi32<elf>
  \-PE	7eb30000-7eb8f000	\               advapi32
ELF	7eb8f000-7eca9000	Deferred        gdi32<elf>
  \-PE	7eba0000-7eca9000	\               gdi32
ELF	7eca9000-7edf7000	Deferred        user32<elf>
  \-PE	7ecc0000-7edf7000	\               user32
ELF	7ef80000-7ef8d000	Deferred        libnss_files.so.2
ELF	7ef8d000-7ef99000	Deferred        libnss_nis.so.2
ELF	7ef99000-7efb2000	Deferred        libnsl.so.1
ELF	7efb2000-7efbb000	Deferred        libnss_compat.so.2
ELF	7efbb000-7f000000	Deferred        libm.so.6
ELF	b7466000-b746b000	Deferred        libdl.so.2
ELF	b746b000-b75df000	Dwarf           libc.so.6
ELF	b75e0000-b75fb000	Deferred        libpthread.so.0
ELF	b760f000-b77c4000	Dwarf           libwine.so.1
ELF	b77c6000-b77e7000	Deferred        ld-linux.so.2
ELF	b77e7000-b77e8000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\DiscordSetup.exe
	00000009    0 <==
0000000e services.exe
	0000001f    0
	0000001e    0
	00000019    0
	00000018    0
	00000016    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001d    0
	0000001a    0
	00000017    0
	00000013    0
0000001b plugplay.exe
	00000021    0
	00000020    0
	0000001c    0
00000022 explorer.exe
	00000024    0
	00000023    0
System information:
    Wine build: wine-1.6.2
    Platform: i386
    Host system: Linux
    Host version: 3.16.0-4-686-pae

Last edited by Kurai (2016-10-28 16:18:33)

Offline

#13 2016-10-28 16:53:41

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Wine does not work whenever I try to run a program.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#14 2017-01-18 02:13:25

KrunchTime
Member
Registered: 2015-09-29
Posts: 857

Re: Wine does not work whenever I try to run a program.

photonucleon wrote:

Without knowing anything about WINE at all, aren't Windows directory separators usually "\" and not "\\"?

The double backslashes are required when pointing to a program run under Wine; e.g. Openbox menu entries.

wine "C:\\Program Files\\TreePadXSU\\treepadxenterprise.exe"

Offline

#15 2017-01-18 08:21:55

photonucleon
Thursday
From: out of that impossible sky
Registered: 2015-09-29
Posts: 299

Re: Wine does not work whenever I try to run a program.

KrunchTime wrote:
photonucleon wrote:

Without knowing anything about WINE at all, aren't Windows directory separators usually "\" and not "\\"?

The double backslashes are required when pointing to a program run under Wine; e.g. Openbox menu entries.

wine "C:\\Program Files\\TreePadXSU\\treepadxenterprise.exe"

Ah, yes, that makes sense.


The servant lifted off a kind of ottoman a long peacock-blue drapery, rather of the nature of a domino, on the front of which was emblazoned a large golden sun, and which was splashed here and there with flaming stars and crescents. “You’re to be dressed as Thursday, sir,” said the valet somewhat affably.

Offline

Board footer

Powered by FluxBB