LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help With Wine 1.4 (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-wine-1-4-a-937692/)

riyazwrd 04-02-2012 10:05 AM

Help With Wine 1.4
 
Hello All,
I am A newbie to linux, and have a very limited knowlegde of linux. The org. i work uses windows Xp for its operations. now i am asked to change the os to linux. but there is a problem. We have got an application which is built on .net 1.1 and it has to be working with linux. so i was trying backtrack linux with wine installed on it. now i installed the .net framework 1.1 it installed w/o any issues. then i installed the program it also was installed. but when i open the application it does not open. in te log file of the application it says cannot find process. some error something to do with system.diagnostics.process.performancecountersLib
can anyone with the know how guide me with step by step detailed info on how to solve this issue and get the application working. it would be of great help.

Thanks.

TB0ne 04-02-2012 10:27 AM

Quote:

Originally Posted by riyazwrd (Post 4642697)
Hello All,
I am A newbie to linux, and have a very limited knowlegde of linux. The org. i work uses windows Xp for its operations. now i am asked to change the os to linux. but there is a problem. We have got an application which is built on .net 1.1 and it has to be working with linux. so i was trying backtrack linux with wine installed on it. now i installed the .net framework 1.1 it installed w/o any issues. then i installed the program it also was installed. but when i open the application it does not open. in te log file of the application it says cannot find process. some error something to do with system.diagnostics.process.performancecountersLib
can anyone with the know how guide me with step by step detailed info on how to solve this issue and get the application working. it would be of great help.

Thanks.

No, we can't....since you don't tell us WHAT application you're talking about, or even give us an exact error message. If this is an application written in-house by your company, have them port it over to Linux using MONO. Also, Backtrack wouldn't be a good choice to use for a Linux distro to replace Windows XP...try something more user-friendly like Mint, Fedora, or Ubuntu. Wine is available on all of them.

DavidMcCann 04-02-2012 11:01 AM

1. Backtrack is basically a security and forensic tool If you are converting your computers to Linux, you need something more suited to everyday use. The ones recommended by TBone are more suited to home users. For business, I'd recommend Mepis or Saline. The two I use are perhaps even better, but not for beginners.

2. As TBone said, if possible, getting the program ported to Linux is the best choice. But if you can't do that, you may have to try several versions of Wine. Over the years, I've tried the one Windows program I need with 14 versions of Wine, of which just 6 worked.

3. The exact error messages are vital if anyone is going to be able to help. A visit to this site may prove useful, as well:
http://www.winehq.org/help/

riyazwrd 04-03-2012 01:31 AM

Help with wine
 
Thanks TBone and David for your replys.
I will try the distros you have suggested. The application is a .net 1.1 based application developed by a company called wipro Health care I.T. it is a Hospital Info System. the exact message is as follows.


when i try to open the application i get the error megssage saying

" one or more dependencies were not found"

in the LOG file the error displayed is .

"could not find process" "system.diagnostics.process.performancecounterLib"

the error is got to do with the performance counters in windows. as they are not available with wine the error message is displayed.

I have done some research. i have found something like the HKEY_Peroformance_Data Hack for the registry for wine, but i have no idea how to apply it.

here is the info.

http://bugs.winehq.org/show_bug.cgi?id=5322

--- Comment #20 from Hans Leidekker <hans <at> it.vu.nl> 2007-10-01 11:07:57 ---
Created an attachment (id=8333)
--> (http://bugs.winehq.org/attachment.cgi?id=8333)
HKEY_PERFORMANCE_DATA hack

This patch adds some fake data beneath the HKEY_PERFORMANCE_DATA
registry branch: performance object 230 (Process) and 238 (Processor),
which pslist is looking for.

Please help.

John VV 04-03-2012 02:00 AM

On Linux a Microsoft .net program ,wrote in Microsoft c# needs " mono "
the opensource .net

however it only "sort of / kind of / maybe works "
and not well at that

if you MUST use a .net program and can NOT rebuild the source code
then run it on a Microsoft OS
The RECOMMENDED is Windows 7


the best supported mono is on suse
BUY suse 11 +1 ( yes $$$$ )
or install openSUSE 12.1


however there is NO way to know if this unnamed c# program will even run on MONO

or if it will even run in wine with Microsoft ".net" framework installed


consider using Windows 7 for this program


as to the " HKEY" issue

have you ever hacked the Microsoft Windows System Registry using "regedit"

there is a wine version in wine
launch regedit from wine

riyazwrd 04-03-2012 02:15 AM

Thanks john for the reply.
For the record there is no HKEY_Performance_data Registry Hive in Wine registry not the said one is available in the windows registry.
Running windows is not an option as i am already doing it. but my company wants to go in for linux to avoid more license purchases and the trick and monstorous deceit of microsoft license terms.
I am also looking in to ReactOS , but sadly it is still in alpha stage and i have no idea when it will be in the stable stage.
I have tried mono but i dont think it works. and the application i want to run is called WIPRO HIS. it is a Hosptial Info System.

John VV 04-03-2012 02:39 AM

then get the very old 1.1 ".net framework" to run in wine
the program is looking for that

winehq lists 1 and 1.1 as "gold"
that might solve the
Quote:

" one or more dependencies were not found"

but the BEST solution is
use something that is NOT built on proprietary Microsoft software

TobiSGD 04-03-2012 06:14 AM

Quote:

Originally Posted by riyazwrd (Post 4643323)
Running windows is not an option as i am already doing it.

So you are actually migrating your companies systems without having done research if that even will work? If you were my employee you wouldn't be my employee anymore.
But anyways, you have exactly three options:
1. Find a similar native application for Linux and migrate to that (preferred way).
2. Ask the developers if they have a Linux version/can make one.
3. Use Windows.

I would not recommend to run any application that is critical for your company with Wine, there can every time be bugs and may be even unnoticed quirks. This is especially true for applications that manage health data which may be vital to some persons, don't do that.

riyazwrd 04-03-2012 08:35 AM

Thanks to all you guys for the efforts to help me out. as for the research is concerned, what do you think i am doing here. i am trying to run the application and not started to migrate or even given a reply to the administration of my company that if it is possible. if my admin had an attitude like yours to just jump to conclusion without even knowing what the employee is trying to do, i would have quit myself. .net framework has already been installed. do you know that if a program is dependent on .net framework it will not install if framework is not present. i dont know if i am not clear. i need your help in applying the Hkey_performance_data hack to the wine. thats all for now. help me if you can.i have done enough research on this but the problem is as i said i am a complete newbie to linux world and dont know how things work around here.

TobiSGD 04-03-2012 09:11 AM

So if you are still in the research phase, why is running Windows not an option? If you find out that your program will not work with Wine than you have to use Windows (or Mono, I would rather concentrate on that than on Wine).
Quote:

i am a complete newbie to linux world and dont know how things work around here.
Sorry that I have to say that, but in that case you are obviously the wrong person to research and plan a migration to Linux.
Also, as I have stated before, Wine is a moving target, what may work today may possibly not work after the next update. Do not use Wine for anything that may be important for your company, it can seriously backfire on you.
I would still recommend to have a look at these considerations, in that order:
1. Is the developer of that application may be able to deliver a Linux version?
2. Is there any alternative that is native to Linux you can migrate to?
3. Is that application probably working with Mono?
4. Now would be the time to think about that: Is it possible to migrate that service to Linux? If it is only possible with Wine, do you really want to depend on a software layer that is known to change and have regressions with your system critical software?

To the link you gave us for that registry hack: All those issues were fixed with version 1.3.30, so you don't need anything of that and it seems to be unrelated to your problem.
Some questions: Have you used winetricks to install the .NET framework and the service pack, as recommended? Have you set the library mscoree.dll to use the inbuilt override within winecfg, as suggested by the site for .NET V1.1 on the WineAppDB, as suggested?

DavidMcCann 04-03-2012 11:38 AM

Sometimes it just happens that what seems a good idea to the inexpert turns out to just too much trouble! You may have to explain this very gently to your boss.

As Tobi and I have said, Wine changes from version to version and frequently programs that were working stop working. It's really more suitable for games players than critical applications. If WIPRO HIS cannot be obtained for Linux, then the only safe thing to do is to run it under Windows.

You don't have to have every computer in the place running the same OS. It's common to have Linux on servers and Windows on the office computers to save retraining people. Google have no computers running Windows, but they do have Macs as well as Linux machines. Even if you have to keep some computers on Windows, you can still save by converting others.


All times are GMT -5. The time now is 09:10 PM.