WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: WMIC extension creation  (Read 2027 times)

Offline KHarvey

  • Full Member
  • ***
  • Posts: 102
WMIC extension creation
« on: January 29, 2012, 01:45:51 PM »
If possible I would like to have a wmic extension created.  This will allow TinyCore to connect to a Windows WMI to run queries.
I found one that already works under TinyCore (4.2) and it is GPLv2 (at least that is what the website that I read said).  It was created for Zenoss:
http://dev.zenoss.org/svn/trunk/inst/externallibs/wmi-1.3.13.tar.bz2

I found that I had to install autogen.tcz and autoconf.tcz before I could run the make.  It may require Python and compiletc to be installed first, but I have not tested that as of yet.
But installation was pretty simple:
tar xvf wmi-1.3.13.tar.bz2
export ZENHOME=~/wmi-zenoss/wmi-1.3.13
make

It takes a while to build, but once it is complete it appears to run without issue. 

I apologize, I have not quite learned how to package my own extensions as of yet.