[cw-discuss] Running an uninstalled app from command line
Frank S. Bernhardt
frank at bcsi.ca
Wed Nov 8 11:42:47 CST 2006
Under 4.2 of CX Pro I could run a shell script:
#! /bin/sh
cd "/home/frank/mnt/THEODIN/pbs113"
"/opt/cxoffice/bin/wine" --workdir "." "./pbs.bat"
And it ran just beautifully.
Since I've upgraded to CX 5.3 Pro this no longer works. Scanning all the
docs and the list and trying everything suggested I'm getting the
impression that the only way for this to work is to first install the
app into a bottle.
This however, is not possible as the app is on another server (in this
case a SUSE 10.1 SAMBA server) that is accessed by other windows PC's
and I'm doing this in order to be able the support the users. This will
not be used for production.
In troubleshooting this I've tried:
[frank at merlin ~]$ "/opt/cxoffice/bin/wine" --workdir
"/home/frank/mnt/THEODIN/pbs113" pbs.bat
Using the default (dotwine) bottle.
WCMD Version 0.17
(I get the below prompt then manuall type pbs)
Y:\mnt\THEODIN\pbs113>pbs
(I get a cursor return but low and behold the application runs! I exit
the app and get)
Y:\mnt\THEODIN\pbs113>exit
[frank at merlin ~]$
and the application comes up, but if you'll notice I had to manually
type in pbs. It doesn't matter what directory I'm in when I manually
type the command. It's as if wine is just ignoring the command I've type.
Adding --cx-app it says it can't find pbs.bat in the bottle and using
start causes wine to puke.
Is this do-able under 5.3 or do I need to re-install 4.2?
Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: frank.vcf
Type: text/x-vcard
Size: 266 bytes
Desc: not available
Url : http://crossover.codeweavers.com/pipermail/discuss/attachments/20061108/7c09538d/frank.vcf
More information about the discuss
mailing list