Minimal Wine installation (i.e. without GUI supp) to run DLL

Questions about Wine on Linux
Locked
smb
Newbie
Newbie
Posts: 2
Joined: Mon Feb 09, 2015 6:09 pm

Minimal Wine installation (i.e. without GUI supp) to run DLL

Post by smb »

Hello, I'm web developer in a company that sell a software for business management, Windows based. We have a powerfull DLL that process a token string which we used as software license.

So, our customers pay a subscription and the software requests an authorization every month to our server, that generate and return another valid license. Well, we used to run this DLL in a Windows Server, but now we are trying to migrate this service to our main server side application, writed in PHP and based in an Ubuntu Server 14.04, hosted in AWS.

My need is just to run this DLL in it, a call to an executable that return a string.

Since the application is in PHP, a simple $token = exec("/usr/bin/wine executable.exe client=jonhsmith valid_until=9/03/2015 2>1 /dev/null") would be suffice.

Therefore, I don't need graphical libraries nor fonts, neither any kind of GUI support.

My question is: Is possible to install a minimal version of Wine to archive just this? If yes, how can I do it?

Thank you very much.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Minimal Wine installation (i.e. without GUI supp) to run

Post by dimesio »

http://wiki.winehq.org/FAQ#head-d4e6691 ... 913c4626ad

There are lots of other things you probably don't need (e.g., sound, scanners, printers) that you could leave out of the build.
smb
Newbie
Newbie
Posts: 2
Joined: Mon Feb 09, 2015 6:09 pm

Re: Minimal Wine installation (i.e. without GUI supp) to run

Post by smb »

Thank you dimesi,

I tried to compile without all options I don't need, but appears too much error... A friend discovered that version wine 1.6 is better to do it and we can finally compile for Ubuntu 14.04.

For who those want to know, the config command was:

Code: Select all

./configure --without-x --without-freetype
Regards,
Locked