CMI Explorer - Newbie Guide

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

OK it seems to be that I have to use CMI Explorer to continue or XPe
developement (see my post about critical TD bugs).

Is there a newbie's guide to CMI Explorer to get me started, or can somone
outline the basic operation of, regarding editing SLX projects.

Thanks.
 
Mark,

I have asked MS for the CMI/CMI Explorer docs (through this NG) without any success.

Only "CMIEXP.WSF HELP" (/FULL) command will be your friend. Also, keep in mind that CMIEXP.WSF is just a script and therefore easy
to read and reverse engineer.
 
Well I started looking at the comments in the script and the help, but got
really confused. What threw me, was that to do anything, I needed to open
the project, yet the open command required the server the SQL server resided
on, and the filename. What confused me was the SLX file I was trying to open
did not reside in a database, but on my local HDD. I was hoping someone
could give me a very rough command outline to get me started. like

1/ open database DBO xxxxx
2/ do something else
and so on....

Thanks
 
Mark,

I am not sure I understand what you are saying.

The SLX is a file on your disk. It is not a database component.

You have to open the DB first, then use LOAD command to load your Config (SLX).
Then you can operate with the Config content itself (I expect more questions from you on this part but lets get to that first).

The following simple script will help you to add a new component instance to a configuration. I added some comments for you to make
it easier to read.

; Setup is the default db
DBOPEN setup
; Lower minimum visibility level - always good idea
minvis 100

; Load your SLX. Mine was - test.slx
load slxtest Test.slx

; Dump the configuration content if you want to debug it
;dump slxtest

; Define a new component instance
new newinst Instance

; I am adding Accessibility Core
newinst = 'inst:Accessibility Core'

; Show or Dump the component instance if you want to debug it
;show newcomps
;dump newcomps

; Get access to the config Instances collection
new slxins Instances
slxins = slxtest.Instances

; Show or Dump the Instances collection if you want to debug it
;show slxins
;dump slxins

; Finally add the new instance
Add slxins newinst

; Dump the configuration content if you want to debug it
; dump slxtest

BYE
 
Back
Top