Is this suppose to be this hard

Questions about Wine on Linux
Locked
StephanM
Newbie
Newbie
Posts: 4
Joined: Thu Jun 05, 2014 10:18 am

Is this suppose to be this hard

Post by StephanM »

In windows I have an application that
I create an Icon
set the target c:\directory\program.exe /paramter file.awc
set the start in c:\directory

how do I do this in wine?

i had read that I need to do a CD first
in terminal I type
wine cd //start in directory //target directory//program.EXE //parameter file.awc
this generates wine: cannot find L"C:\\windows\\system32\\cd.exe"

if I change it to
cd //start in directory wine //target directory//program.EXE //parameter file.awc
it changes to the start in directory and then nothing.

What am i doing wrong? :?:
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Is this suppose to be this hard

Post by dimesio »

in terminal I type
wine cd //start in directory //target directory//program.EXE //parameter file.awc
this generates wine: cannot find L"C:\\windows\\system32\\cd.exe"
http://wiki.winehq.org/FAQ#run_from_terminal
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Is this suppose to be this hard

Post by dimesio »

StephanM wrote:In windows I have an application that
I create an Icon
set the target c:\directory\program.exe /paramter file.awc
set the start in c:\directory

how do I do this in wine?
Winemenubuilder should do it for you when you run the app's installer, assuming the app has an installer that does that in Windows. If it doesn't, you have to create the menu items and desktop links yourself, but you don't do it in Wine, you do it in your desktop manager. How to do that varies by desktop environment; in KDE, I just use the menu editor.
StephanM
Newbie
Newbie
Posts: 4
Joined: Thu Jun 05, 2014 10:18 am

Re: Is this suppose to be this hard

Post by StephanM »

http://wiki.winehq.org/FAQ#run_from_terminal[/quote]

After reviewing the above link I am still no closer to creating a launcher for my application. Following there direction I performed the CD directory which worked as planned.
I then executed wine start /d"\\target directory\\program.EXE \\parameter file.awc"
the result was fixme:exec:SHELL_execute flags ignored: 0x00000100 and the "wine command prompt" came up.
in the wine command prompt i entered "\target dir\\program.EXE \\parameter file.awc"
the reults are that it is unable to open any file located in the target directory or it's current directory.

I don't really want to run this in terminal mode I just want to figure out how to make a launcher icon that will work.
StephanM
Newbie
Newbie
Posts: 4
Joined: Thu Jun 05, 2014 10:18 am

Re: Is this suppose to be this hard

Post by StephanM »

dimesio wrote:
StephanM wrote:In windows I have an application that
I create an Icon
set the target c:\directory\program.exe /paramter file.awc
set the start in c:\directory

how do I do this in wine?
Winemenubuilder should do it for you when you run the app's installer, assuming the app has an installer that does that in Windows. If it doesn't, you have to create the menu items and desktop links yourself, but you don't do it in Wine, you do it in your desktop manager. How to do that varies by desktop environment; in KDE, I just use the menu editor.

I am in GNOME-3 and there is only one line for the command.
StephanM
Newbie
Newbie
Posts: 4
Joined: Thu Jun 05, 2014 10:18 am

Re: Is this suppose to be this hard

Post by StephanM »

dimesio wrote:
StephanM wrote:In windows I have an application that
I create an Icon
set the target c:\directory\program.exe /paramter file.awc
set the start in c:\directory

how do I do this in wine?
Winemenubuilder should do it for you when you run the app's installer, assuming the app has an installer that does that in Windows. If it doesn't, you have to create the menu items and desktop links yourself, but you don't do it in Wine, you do it in your desktop manager. How to do that varies by desktop environment; in KDE, I just use the menu editor.

This application has no installer!
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Is this suppose to be this hard

Post by dimesio »

StephanM wrote: I am in GNOME-3 and there is only one line for the command.
The KDE menu editor has a field to set the working directory. If Gnome doesn't have something similar, you will have to write a script to change the directory then execute the program, and point your link to that.
Locked