Installing Wine on SLED 11

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
bcbotha
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2009 3:15 am

Installing Wine on SLED 11

Post by bcbotha »

Hi
I have been given the task of getting a SLED 11 machine working on my company's Novell NetWare 6.x network and able to run some of the applications that we use. 1 of the apps is installed on our servers and normally we would copy the .exe to the users desktop. I have been referred here by the Novell and the OpenSUSE forums. The application is not installed on the pc but runs the .exe. How can I get this Application to work?

Thanks
Martin Gregorie

Installing Wine on SLED 11

Post by Martin Gregorie »

On Mon, 2009-10-26 at 03:29 -0500, bcbotha wrote:
I have been given the task of getting a SLED 11 machine working on my
company's Novell NetWare 6.x network and able to run some of the
applications that we use. 1 of the apps is installed on our servers
and normally we would copy the .exe to the users desktop. I have been
referred here by the Novell and the OpenSUSE forums. The application
is not installed on the pc but runs the .exe. How can I get this
Application to work?
Does this mean that you want to continue running the application on the
user's Windows desktop? If so, is it using the server just to access
files and/or a database or is it talking to a program that's resident on
the server?

If you no longer want to run the application on the user's Windows
desktop, please explain what you what to run, where you want each
executable to run and where it is expecting to find its files and/or
database.

Martin

Thanks


bcbotha
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2009 3:15 am

Post by bcbotha »

Well the point in setting up the SLED machine is to look at migrating from Microsoft to Linux. The database of the program is on the server, I just need to find a way to run the .exe from the server. On our windows workstation we create a shotcut from the server to the individual workstations, they run the shortcut which is pointing to the server and its database.

How can I do that on a linux desktop?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

bcbotha wrote:How can I do that on a linux desktop?
Mount your server share with SAMBA (cifs file system). Note that CIFS does not support some things (file locking) that might break some apps.
bcbotha
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2009 3:15 am

Post by bcbotha »

I have found that the shortcut I add to the windows machines has a few options added to it for it to run. eg:

T:\Acucorp\Acucbl620\AcuGt\Bin\wruncbl.exe -c lawpac.cfg lawstart.cbx

T:\ is the network mapped folder that is accessible after logging on to the servers with Novell Client, this folder may also be seen on suse using the client.

the shortcut location is here:

H:\TREVOR\LawpacWindows

H:\ is another folder only seen and accessible through the client.

I have found out that the -c option states to use the config file lawpac.cfg and the shortcut must run lawstart.cbx before running wruncbl.exe.
The location of the .cfg and .cbx files are here:

T:\Acucorp\Acucbl620\Lawpac

How would I run that in SuSE linux, any ideas?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

bcbotha wrote:How would I run that in SuSE linux, any ideas?
Same way as on windows - add whatever options you need to the link.
bcbotha
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2009 3:15 am

Post by bcbotha »

How would I create a link on the desktop that when executed tells wine to run the .exe file with the options? I've tried running the .exe manually like this:
wine wruncbl.exe -c lawpac.cfg lawstart.cbx

and like this:

wine wruncbl.exe_-c_lawpac.cfg_lawstart.cbx

but I'm still battling. I'm still uncertain about mounting the mapped network drive with SAMBA! How do I do that?

thanks
bcbotha
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2009 3:15 am

Post by bcbotha »

I have just tried running the wruncbl.exe with

Code: Select all

wine cmd
then typing the .exe and the Microsoft arguments but I got this error:

Code: Select all

fixme:font:WineEngCreateFontInstance Untranslated charset 255
If anyone is able to help it would be great.
bcbotha
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2009 3:15 am

Post by bcbotha »

I surely cannot be the only person in the world to have asked this that noone will reply or help me solve the problem (if it is solvable)?

How do I run an .exe file with arguments from a mapped network drive? The program for the .exe is installed on Novell Netware servers. The only access to the mapped network drive holding the .exe is through the Novell Client (therefore the mapped drive is mounted). I do need to try use an emulator becuase there is no version of the software so far that works natively on linux, plus the software is not installed on the pc's, they merely access the database by running the .exe with options to load the config file before running the .exe.

Is there any way to do this or am I just waisting my time?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

bcbotha wrote:I'm still uncertain about mounting the mapped network drive with SAMBA! How do I do that?
Ever used google to find information? Internet has 1000000s of examples of how to do that.
bcbotha wrote:How do I run an .exe file with arguments from a mapped network drive?
Already told you:
1. Mount that drive with Samba
2. Map mounted drive in winecfg to a drive leter
3. Run it with Wine with

Code: Select all

wine 'e:\myprogram.exe' some arguments here
where "e:" is the drive you mapped your mount to in step 2.
bcbotha
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2009 3:15 am

Post by bcbotha »

Ever used google to find information?
Yes, hence
I surely cannot be the only person in the world to have asked this
due to the lack of info.

As I have said before I log on to the servers with the Novell Client which already mounts the mapped drives to your home directory. My issue is how to run the .exe on the mapped drive with the arguments to load 2 files in a different directory (on the same mapped drive) before executing the .exe.

If my google searching is really that useless then would you please help me find a site that would help me mount a mapped network drive on Novell Netware using SAMBA. The two I have found did not work.

Thanks
Gert van den Berg

Installing Wine on SLED 11

Post by Gert van den Berg »

On Thu, May 13, 2010 at 08:32, bcbotha <[email protected]> wrote:
If my google searching is really that useless then would you please help me find a site that would help me mount a mapped network drive on Novell Netware using SAMBA. The two I have found did not work.
Samba is not used for Novell...
Look at these two links, ask your distribution on how to get it running...
http://www.novell.com/products/clients/ ... rview.html
http://freshmeat.net/projects/ncpfs/

Recent version (Linux-based) might allow you to use NFS... (Just a guess...)

Gert
bcbotha
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2009 3:15 am

Post by bcbotha »

Thank you Gert. I will try out ncpfs and reply with what happens.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

bcbotha wrote:As I have said before I log on to the servers with the Novell Client which already mounts the mapped drives to your home directory.
Then skip step 1. You refusing to read instructions. Step 2. says to map that mount to a drive letter in winecfg. Have you done that?
bcbotha
Level 1
Level 1
Posts: 9
Joined: Mon Oct 26, 2009 3:15 am

Post by bcbotha »

I'm not sure if I have done it correctly or fully so if you could aid me it would be much appriciated.

What I have done is click add in the drives tab of winecfg, created a drive letter the same as the mapped drive, eg:

T: /home/Maildep/T/

But that is all I have done. Am I missing anything else? Have I done it correctly so far?

Thanks
Locked