Problem calling executable with document as argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I'm performing some tests with Wine, since we have only one Windows
server in our network, used for specific purposes.

One of the services which I intend to migrate to Linux/Wine is called
"SIAFI Gerencial", which runs EDM Client to update a local database
from a remote database.

Here's the deal. I've copied all EDM files to my desktop to perform the testing.

If I run the application the following way:

wine EDMCONSW.EXE

it runs fine. However, executing it this way requires me to select
manually the connection file , which is CONNECT.EXT, in an
Explorer-like interface .

If I run it exactly the way it is in my Windows box, which is:

wine EDMCONSW.EXE CONNECT.EXT
(using the filename as argument, exactly as in Windows box)

I get an error "wine: cannot determine executable type" for CONNECT.EXT .

It seems that Wine is attempting to run CONNECT.EXT, which I passed as
an argument, as another executable file, however, it's a document file
which EDMCONSW.EXE has to call.

Other alternatives attempted:
- use wine to run a batch file which calls "EDMCONSW.EXE CONNECT.EXT"
(which works OK in the windows box, the result was the same error, for
atualiza.bat  (it does not seem to recognize batch files as
executables.
- compile the .bat file using bat2exe, and attempting to run it "wine
atualiza.exe" , in the windows box it was OK, but in the linux box
wine returnet the same error "wine: cannot determine executable type"
for atualiza.exe.

how can I pass the CONNECT.EXT file (yes, it is in all upper case) as
an argument for EDMCONSW.EXE on wine?

In the proposed production server, manually selecting the file
CONNECT.EXT each time the program is run is not being considered as an
option, as I have to cron this execution to be performed automatically
every night without my direct intervention. The program is not
critical and does not run full time, it only connects to the remote
database to sync the data, in a proccess which takes approximately 10
minutes, then it closes itself.

Distro is Mandriva 10.2 and Wine installation was made through urpmi,
config file is standard, and "drive_c" is in my ~/.wine folder .

Any help would be appreciated (I've searched Google and WineHQ for a
solution and have found nothing useful for my problem).

Thanks in advance,

Ubiratã Muniz (Bira)

_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux