Override fixme stub for netsh

Questions about Wine on Linux
Locked
apocs
Newbie
Newbie
Posts: 1
Joined: Thu Apr 17, 2014 1:20 am

Override fixme stub for netsh

Post by apocs »

I have a troublesome application I am attempting to get running in Wine. It fails the installation unless it can successfully get the appropriate response from netsh when attempting to set firewall rules. I have reported the issue to the developers, however, in the mean time I am looking for a workaround.

It will either be looking for a successful return code, or the Ok. response from the netsh command. I figured it would be easy to fake this. I built a simple application to output "Ok.\n\r" and return 1 as a test.

However, all I ever get back from wine is a blank and a fixme message : fixme:netsh:wmain stub: L"netsh.exe"

I intend to download the wine source and attempt to patch this myself to at least fake a successful response for such a situation. However I am unfamiliar with cross compiling and associated challenges I've not dealt with before.

Is there any other way to bypass a fixme stub message like that and have it run the application in question?
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Override fixme stub for netsh

Post by dimesio »

Set it to native in winecfg.
Locked