problem with windows program in linux in virtual machine...

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
barnabyr
Level 1
Level 1
Posts: 5
Joined: Mon Jul 06, 2009 3:17 am

problem with windows program in linux in virtual machine...

Post by barnabyr »

Hi,
I'm a complete linux newbie, let alone wine, easy-peasy and netbooks.
Having said that, I'm looking at buying the eee pc 701 sd and putting easy-peasy on it.
However the reason I need a netbook is to run a cricket scoring program that is only available in windows.
I didn't want to fork out for the netbook until I knew the cricket software will run, so I tried the following:
1. installed vmware on my home pc
2. installed easy-peasy in the virtual machine
3. then installed wine, again in the vm
I then tried to install the cricket program but it wouldn't install, let alone run.
I get an error message that says error in "setodbcfolders". Am I right in thinking this is because it's running in a virtual machine?
I know it's a little perverse to install vmware to run linux, to then run wine, to run a windows program but like I say, this program must be able to run on whatever netbook I buy.
Can anybody help me please? Maybe by trying out the software for me or by giving some advice on how to get the software installed?
Here's a link to the cricket software:
http://www.pitchpad.com/PitchPadPavilion.exe
Thanks very much,
Barnaby
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

Try overriding the ODBC drivers with winetricks:
http://wiki.winehq.org/winetricks
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: problem with windows program in linux in virtual machine

Post by dimesio »

barnabyr wrote: I get an error message that says error in "setodbcfolders". Am I right in thinking this is because it's running in a virtual machine?
No. It does the same thing for me in a regular openSUSE 11.1 install.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

problem with windows program in linux in virtual machine...

Post by austin987 »

On Mon, Jul 6, 2009 at 11:22 AM, dimesio<[email protected]> wrote:
barnabyr wrote:
I get an error message that says error in "setodbcfolders". Am I right in thinking this is because it's running in a virtual machine?
No. It does the same thing for me in a regular openSUSE 11.1 install.
Please file a bug.

--
-Austin
barnabyr
Level 1
Level 1
Posts: 5
Joined: Mon Jul 06, 2009 3:17 am

erm...

Post by barnabyr »

I know I'm revealing myself as a dunce but how do I report a bug...?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: erm...

Post by dimesio »

barnabyr wrote:I know I'm revealing myself as a dunce but how do I report a bug...?
I filed one. http://bugs.winehq.org/show_bug.cgi?id=19230
Jim Hall

problem with windows program in linux in virtual machine...

Post by Jim Hall »

Quote from the download page:
"FOR WINDOWS Vista you MUST select the option EVERYONE (i.e. NOT Just Me)
when prompted during installation AND the User of PitchPad MUST have
ADMINISTRATOR privileges on the PC (otherwise Vista will prevent certain
activities from running) FOR WINDOWS XP YOU MAY NEED TO INSTALL .NET VERSION
2.0 OR HIGHER (available below)"


I couldn't find this in the AppDB, so you are the first for this program.

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
barnabyr
Level 1
Level 1
Posts: 5
Joined: Mon Jul 06, 2009 3:17 am

thank you

Post by barnabyr »

Thanks very much for doing a bug report for me.
I have scoured other posts and some people have recommended using winetricks. How would I install this. I have looked at the instructions and sadly it doesn't make sense to me a linux newb. Could someone talk me through it with step by step instructions, please?
Am I right in assuming that when people talk about a prompt it's the same as the terminal?
Thanks again,
Barnaby
Gert van den Berg

problem with windows program in linux in virtual machine...

Post by Gert van den Berg »

On Thu, Jul 9, 2009 at 10:08, barnabyr<[email protected]> wrote:
Thanks very much for doing a bug report for me.
I have scoured other posts and some people have recommended using winetricks. How would I install this. I have looked at the instructions and sadly it doesn't make sense to me a linux newb. Could someone talk me through it with step by step instructions, please?
The winetricks wiki page has most of the instructions... (Someone
else can post more detailed instructions if they want...)
Am I right in assuming that when people talk about a prompt it's the same as the terminal?
Short answer: Yes

Long answer: The terminal is a program that runs text mode
applications (a shell by default / in this case) and allows you to
interact with it. The shell displays a prompt, which is where you type
the commands. (The shell is actually quite powerful and can be
scripted as well, see something like this if you are interested:
http://partmaps.org/era/unix/shell.html (An ancient Bourne shell
tutorial)). If you are using Linux, your default shell would probably
be bash, which has some nice features to make life easier (Try tab
after you started typing a filename / command name...)

(Other terminals than gnome-terminal / konsole / xterm in Linux: Press
Ctrl-Alt-F1 (F2, etc should work as well, X usually run on
Ctrl-Alt-F7) on most distributions to get a text-mode terminal)

Gert
walt

problem with windows program in linux in virtual machine...

Post by walt »

On 07/09/2009 01:08 AM, barnabyr wrote:
I have scoured other posts and some people have recommended using winetricks. How would I install this. I have looked at the instructions and sadly it doesn't make sense to me a linux newb. Could someone talk me through it with step by step instructions, please?
Am I right in assuming that when people talk about a prompt it's the same as the terminal?
winetricks is just a "shell script", which doesn't need installation.
Just download and save the file somewhere convenient (e.g. your home
directory) and type this at a command prompt (i.e. in a terminal):
$ sh winetricks (don't type the $, that's what you will see in the
terminal window to indicate that you may type a command.)

Once you see the winetricks window you will need to install .NET 2
(look for "dotnet20") and the jet database engine "jet40".

Now, I never did get the PitchPad installer to work, so I resorted to
trickery: I installed the program in Windows and just copied the
entire C:\Program Files\PitchPad directory to my linux machine.

That directory goes in your ~/.wine/drive_c/Program Files/ directory,
where you can then run it by typing
$ wine PitchPadP.exe

If you can get that far you can add a desktop icon for it later, but
first things first. The program does work but looks a bit odd. I
have no freaking idea whether the program works correctly because
cricket is a straaaange game ;o)

If you get stuck somewhere (most likely) let us know.
barnabyr
Level 1
Level 1
Posts: 5
Joined: Mon Jul 06, 2009 3:17 am

wow! Thanks

Post by barnabyr »

Thanks very much for your post on this.
I have got the program in place, following your instructions but there seems to be a problem. The pitchpad screen pops up temporarily but then a warning boxpops up with the heading Microsoft .NET framework.
When I installed the dotnet20 from winetricks there was quite a lot of error messages shown in the terminal. Could the .net have installed incorrectly and if so how can I fix it?
Thanks again,
Barnaby
barnabyr
Level 1
Level 1
Posts: 5
Joined: Mon Jul 06, 2009 3:17 am

is it .net?

Post by barnabyr »

Hi I have done more searching on the site and found the .net entry in the app database here:
http://appdb.winehq.org/objectManager.p ... ngId=41922

How do I do what it says under the comments "You must to copy from Windows XP file l_intl.nls and set Windows version to 2000."
Where do I get the nls file and where do I put it?
Also how do I set the windows version to 2000?
Sorry if this is very obvious, I'm still feeling my way...
Thanks,
Barnaby
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: is it .net?

Post by dimesio »

barnabyr wrote:Hi I have done more searching on the site and found the .net entry in the app database here:
http://appdb.winehq.org/objectManager.p ... ngId=41922

How do I do what it says under the comments "You must to copy from Windows XP file l_intl.nls and set Windows version to 2000."
Where do I get the nls file and where do I put it?
The AppDB entry you linked to has the answer to this question under Method 2: Manual Installation.
Also how do I set the windows version to 2000?
Run winecfg. The Windows version is on the Applications tab.
Locked