Another Noob

Questions about Wine on Linux
Locked
mzup
Newbie
Newbie
Posts: 2
Joined: Wed May 22, 2013 10:01 am

Another Noob

Post by mzup »

I have Linux mint 15 and have Wine installed. I am trying to figure out how to map a network drive to install an app that needs a specific drive letter to run. I see in Wine where to do the mapping but when I browse is doesn't allow me to change to the network location to select the share. I assume I would have to type a unc path, but being windows minded, what I type is not accepted. How would I map say the letter H to a location on a windows server called \\appserver\apps?

thanks
User avatar
dimesio
Moderator
Moderator
Posts: 13209
Joined: Tue Mar 25, 2008 10:30 pm

Re: Another Noob

Post by dimesio »

mzup
Newbie
Newbie
Posts: 2
Joined: Wed May 22, 2013 10:01 am

Re: Another Noob

Post by mzup »

I read that. I don't understand it. That is why I was giving what I need and was hoping to get it written out so I can understand it better.
User avatar
dimesio
Moderator
Moderator
Posts: 13209
Joined: Tue Mar 25, 2008 10:30 pm

Re: Another Noob

Post by dimesio »

Did you mount the network drive in Samba? You need to.
nachanon
Level 2
Level 2
Posts: 14
Joined: Fri Jul 08, 2011 5:21 am

Re: Another Noob

Post by nachanon »

OK. The thing is WINE didn't support UNC path for accessing remote Windows shares.
To access them, you'd need to use "Samba" program to mount them as a local "Network Drive" first.

To install Samba program and mount a network drive on linux mint:
http://community.linuxmint.com/tutorial/view/1208

Then, use WINE to access them as if it's a local file. (No UNC path, remember?)


For example, you want to install a program named "jcrea350.exe" from a network folder
called \\window\backup:

First, install Samba.

1. As root, create a mount point, for the network drive:

Code: Select all

mkdir /media/smbshare
2. Then (still as root), assign that mount point to a UNC path, thus creating a network drive

Code: Select all

mount -t cifs '\\window\backup' /media/smbshare
3. After I successfully created a linux-based network drive, I could execute "jcrea350.exe" in /media/smbshare now (as normal user)

Code: Select all

cd /media/smbshare
wine jcrea350.exe
Hope it makes senses.
nachanon
Level 2
Level 2
Posts: 14
Joined: Fri Jul 08, 2011 5:21 am

Re: Another Noob

Post by nachanon »

Oh, I forgot another thing: If you really need your program to run from a specific drive letter,
skip step #3, and use winecfg to map /media/smbshare to your desired wine drive letter.
Then, open winefile, navigate that drive, and run your program.
Locked