Program from a network share

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
xzased
Newbie
Newbie
Posts: 3
Joined: Mon Dec 15, 2008 3:19 pm

Program from a network share

Post by xzased »

Hi. Im using wine 1.0.1 on ubuntu hardy. I wan to setup an accounting program with data shared on a windows share. The problem is the exe and dll's are part of the data (the program just dumps everything on a single folder) so when I click on the exe it always says that sample.dat is not found. Is there a way I can make the progrm work from the mounted share? Thanks
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Program from a network share

Post by vitamin »

xzased wrote:Hi. Im using wine 1.0.1 on ubuntu hardy. I wan to setup an accounting program with data shared on a windows share. The problem is the exe and dll's are part of the data (the program just dumps everything on a single folder) so when I click on the exe it always says that sample.dat is not found. Is there a way I can make the progrm work from the mounted share? Thanks
Mount if with samba. Then map it that mount to a disk in winecfg. That's all you can really do.

Wine doesn't fully support UNC paths (they work in some parts but not others).
xzased
Newbie
Newbie
Posts: 3
Joined: Mon Dec 15, 2008 3:19 pm

Post by xzased »

Yeah, I mounted it using fstab and assigned a label in winecfg, but it still fails to load the files.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

xzased wrote:Yeah, I mounted it using fstab and assigned a label in winecfg, but it still fails to load the files.
How are you starting it exactly? Try with 'wine start /path/to/file.exe'.
xzased
Newbie
Newbie
Posts: 3
Joined: Mon Dec 15, 2008 3:19 pm

Post by xzased »

Thanks for the reply :)

I tried with wine /path/etc , I have also tried using wine explorer and go to the mounted drive, same results :(
map7
Level 1
Level 1
Posts: 6
Joined: Sun Feb 22, 2009 8:41 pm

Post by map7 »

I've got the same problem.

I'm trying to run handitax (an Accounting program) which is on a samba share on the network. If I copy that directory to my local machine that works, but if I try and run it off the samba share I get these errors:

Code: Select all

err:module:import_dll Library BORLNDMM.DLL (which is needed by L"D:\\hsoft\\Apps\\Ht08.exe") not found
err:module:import_dll Library CC3270MT.DLL (which is needed by L"D:\\hsoft\\Apps\\Ht08.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"D:\\hsoft\\Apps\\Ht08.exe" failed, status c0000135
I've tried running the program with the full path and also using 'wine cmd' still with no luck.

Did you ever find a solution to this problem?
James McKenzie

Program from a network share

Post by James McKenzie »

map7 wrote:
I've got the same problem.

I'm trying to run handitax (an Accounting program) which is on a samba share on the network. If I copy that directory to my local machine that works, but if I try and run it off the samba share I get these errors:

err:module:import_dll Library BORLNDMM.DLL (which is needed by L"D:\\hsoft\\Apps\\Ht08.exe") not found
err:module:import_dll Library CC3270MT.DLL (which is needed by L"D:\\hsoft\\Apps\\Ht08.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"D:\\hsoft\\Apps\\Ht08.exe" failed, status c0000135

I've tried running the program with the full path and also using 'wine cmd' still with no luck.

Did you ever find a solution to this problem?

You have to run the program from a local drive. This is not permitted
under Wine, yet.

James McKenzie
map7
Level 1
Level 1
Posts: 6
Joined: Sun Feb 22, 2009 8:41 pm

Post by map7 »

What about using an NFS share would that change things?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

map7 wrote:What about using an NFS share would that change things?
It might. Some apps ask for things that are not supported over any network FS.
James McKenzie

Program from a network share

Post by James McKenzie »

vitamin wrote:
map7 wrote:
What about using an NFS share would that change things?
It might. Some apps ask for things that are not supported over any network FS.

If you can map the drive using a soft link to a dosdevice, try it. That
may or may not work.

James McKenzie
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Program from a network share

Post by vitamin »

James McKenzie wrote:If you can map the drive using a soft link to a dosdevice, try it.
In case you missed, the second post reads:
xzased wrote:Yeah, I mounted it using fstab and assigned a label in winecfg, but it still fails to load the files.
Locked