How to determine if an application is running in Wine environ ment?

Raghavan Gurumurthy raghavan.gurumurthy at
Thu Jun 10 19:36:12 CDT 2004

The purpose of my question was to make sure that wherever we are doing
changes to the product code to work-around limitations in Wine, we are doing
so only when running on Wine. And, before you (or anyone else) send further
flame mail, note that we are submitting fixes to Wine as and when we run
into them and have a solution. 

We are not trying to limit the product in anyway on Linux - if any, we are
trying to make sure that the end-user experience for our product when
running on Linux is as painless and seamless as possible.

So, stop being so paranoid!

== Raghavan 

-----Original Message-----
From: Joshua Walker [mailto:halkun2002 at] 
Sent: Thursday, June 10, 2004 5:13 PM
To: wine-devel at
Subject: Re: How to determine if an application is running in Wine

Hold on...
Let's pretend that a particular software manufacturer decides that running
thier software under wine is no in the best intrest of the company. Or
better yet, decides that if the program isn't running under a true Microsoft
windows It will you that running program XYZ under Wine is illigal (Due to
click-wrap licence agreement). Can you safely remove that key so that
"menie" programs like that don't know where they are.

Remeber DR-DOS and Win3.1?

--- Bill Medland <billmedland at> wrote:
> On June 9, 2004 10:07 am, Raghavan Gurumurthy wrote:
> > BlankIf i want to do some special handling inside
> my Windows executable
> > when running in Wine environment, what is the best
> way to do this?
> >
> > Thanks,
> Unless things have changed, I think the normal suggestion is to look 
> for the HKLM/Software/Wine registry key
> --
> Bill Medland
> mailto:billmedland at

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the wine-devel mailing list