On Mon, Sep 29, 2008 at 3:39 PM, Mark Wagner <[EMAIL PROTECTED]> wrote: > What's the best way for an application to detect that it's running under Wine? > > As part of the installation process, under Windows our program does a > full-disk search of all local hard drives, but ignoring network drives > and removable media. Under Wine, this doesn't work too well, as > there's not a one-to-one mapping between disks and drive letters, and > there's usually at least one way to access the entire *nix filesystem. > If someone's got a few network drives mounted, the installer could > spend hours searching them. > > -- > Mark Wagner > > >
Easiest way is probably searching for wine specific registry keys.