Hello,
I am trying to run a program, unfortunately it calls takeown.exe and it fails. Takeown is not needed though. How would I add a stub takeown command to my wine directory?
Thanks
wine directory doesn't have takeown command
Re: wine directory doesn't have takeown command
@eri0oeri0o wrote:Hello,
I am trying to run a program, unfortunately it calls takeown.exe and it fails. Takeown is not needed though. How would I add a stub takeown command to my wine directory?
Thanks
Being a bit stupid I would create a dummy executable file with AutoIt...
Which is easy: just create an empty script and compile it to a .exe executable file.
I'm sure there's an easier way - but it's just what I know well...
Bob
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: wine directory doesn't have takeown command
Mind providing more information about what program that is? Maybe it makes sense to add a dummy takeown into wine, when that resolves the issue.
Can you compile wine from sources? If so, I could give you a patch to test.
Can you compile wine from sources? If so, I could give you a patch to test.
Re: wine directory doesn't have takeown command
The program is Adventure Game Studio. The takeown.exe command is called when building a game for Linux from the Adventure Game Studio.
Re: wine directory doesn't have takeown command
Hey, I still didn't solve the issue.
Yes I can build Wine from source.
The software is Adventure Game Studio (which is open source but Windows only). The problem happens when you build your game for Linux. The code works in Windows.
Yes I can build Wine from source.
The software is Adventure Game Studio (which is open source but Windows only). The problem happens when you build your game for Linux. The code works in Windows.
Re: wine directory doesn't have takeown command
Much simpler solution just symlink takeown.exe to the ping.exe (which is a dummy executable under Wine):eri0o wrote:Hey, I still didn't solve the issue.
... blah, blah
Code: Select all
cd "${WINEPREFIX:-${HOME%/}/.wine}/drive_c/windows/system32"
ln -s "ping.exe" "takeown.exe"