On Fri, Jun 24, 2011 at 11:32 AM, Michael Grundmann <
m.grundm...@institut-hartheim.at> wrote:
>
> > I'm wondering how we can detect version and create good settings on the
> fly.
> > Maybe by just detecting the installed directory? (if c:\Python27 exist,
> use
> > 2.7, etc).
> >
>
> maybe you could get the directory from the registry
>
> HKEY_CLASSES_ROOT\Applications\python.exe\shell\open\command
> gives : "C:\python27\python.exe" "%1" %*
>
> or from the windows installer
>
Yes, but from now it's a .bat script, so it should be very easy to get and
parse :p
Jean
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense..
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel