Find the answer to your Linux question:
Results 1 to 7 of 7
Hello I have a dedicated server with centos and I want to run a executail the following form aplication.exe extension.dll file.jpeg > out.txt exactly is an application with 2 arguments: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    3

    run windows exe to centos


    Hello

    I have a dedicated server with centos and I want to run a executail the following form

    aplication.exe extension.dll file.jpeg > out.txt

    exactly is an application with 2 arguments: a dll and an image, that write the result in text file. wine seems a complicated way, I want to know if there is something very simple application to solve this problem. No X server installed and do not want, I use PuTTY for more control.

    I would like to know if there is a simple application without graphical interface, use only the console, to resolve that exe windows. executable is compiled in Delphi.

    Thanks, waiting for your suggestions.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,217
    Wine is a fantastic project, but I wouldnt use it in a production server environment.
    On the other hand there is no way of executing windows exefiles without wine or virtualization solutions.

    I see two approaches:
    1) is it possible to recompile that delphi programm as a native linux programm?
    2) maybe one can reproduce the procedures and output you require with existing tools?
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    May 2010
    Posts
    3
    thanks for the reply. May be other suggestions? or there exist a simple version of the Wine project?

    I tried to install but require server X on my server but i do not care because I work with putty.

    Thanks

  4. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,217
    There is no "wine light", sorry.
    So, if you cannot recompile this tool or replace with linux tools, only virtualization or a windows server or a complete rewrite stay as options.
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    May 2010
    Posts
    3
    If I opt for virtualization, and install and use a classic XP's resources to run this executable and follow his will generate a text file. This text file of XP virtual environment can be accessed by php scripts from my linux server? Only for read some information from him.

    Thanks.

  6. #6
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,217
    yes, files can be exchanged with a virtualized windows.
    Just as one would with a native windows install.
    That means: samba and CIFS network shares.

    It will be tricky to trigger that tool inside windows from a linux environment automatically.
    Also, you need to run the virtualization software headless, as you do not want an X server.
    Virtualization also needs some ressources, mainly RAM and IO.
    You must always face the curtain with a bow.

  7. #7
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    doesn't need to be samba or cifs necessarily, if you use vmware you can share files between guest and host without that

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •