Re: Component reuse

From: KM (konstmor_at_nospam_yahoo.com)
Date: 11/05/04


Date: Thu, 4 Nov 2004 21:09:21 -0800

Rejeesh,

Pretty interesting article. I wish I would have seen it when I started digging into the CMI :-)
Anyway, thanks for the link.

Regarding CMI.. Yes, it is undocumented :-(
Some CMI scripts I posted in this NG so you may want to search.
Also, the XPeTools package (www.xpefiles.com) may help you to explore CMI as well.

Regards,
    KM

> Thanks for the help..
>
> There is not much documnentation available for CMI component. But I found an
> article at http://www.windowsfordevices.com/articles/AT2652672892.html
>
> Regards,
> Rejeesh
>
> "KM" <konstmor@nospam_yahoo.com> wrote in message
> news:upg59HfwEHA.4004@tk2msftngp13.phx.gbl...
> > Just a bit more info to save you some time....
> >
> > Look at the ICMI interface (CMI class).
> > These are the methods you would really need for automating a new component
> import from within your "setup" applicaiton:
> > - OpenDB(ServerName, cmiDBReadImport)
> > - ImportCarrier(SLDPaths) (to import SLD files). Also
> CheckCarrier(SLDPaths) will help you to check the SLDs first.
> > - CloseDB()
> >
> > For the events, DCMIEvents disp interface of CMI class, you may be
> interested to set your own handler for the
> > OnImportRepository(SrcRoot, DstRoot, SrcPath, RepositoryVSGUID,
> RepositoryDisplayName) and OnImportObject(SLDPath, TotalObjects,
> > ObjectsCompleted, ObjectType, ObjectDisplayName).
> >
> > --
> > Regards,
> > KM, BSquare Corp.
> >
> >
> > > Thanks for info.
> > > Interesting I will have to look at this when I get some time, since I
> really needed this.
> > >
> > > Regards,
> > > Slobodan
> > >
> > >
> > > "KM" <konstmor@nospam_yahoo.com> wrote in message
> news:ehxvtEewEHA.2676@TK2MSFTNGP12.phx.gbl...
> > > > There are some thing you may do to automate the component distribution
> process to make it easy to install on a separate machine.
> > > >
> > > > CMI object model allow you to make self installing packages. That
> means you will just have run the exe and it will install
> > > > everything to the database and repository automatically (pretty much
> the same as MS QFE packages do).
> > > > You don't really need the weupdate.exe in your package.
> > > >
> > > > You can even think of a backup and rollback process for the setup.
> > > >
> > > > One theoretically simple way (not to dig much into the CMI itself)
> would be to create a script to be used with CMIExplorer to
> > > > install new SLDs in to the Mantis DB.
> > > >
> > > > --
> > > > Regards,
> > > > KM, BSquare Corp.
> > > >
> > > > PS. I wish MS makes CMI public.
> > > >
> > > > > Hi,
> > > > >
> > > > > > What all things need to be done to distribute custom components?
> > > > >
> > > > > There are no special things that you can do.
> > > > > Copy files that constrain your components and subfolders. Or zip
> them. User will have to import components manually from CDBM.
> > > > >
> > > > > You can't make QFE like MS? I asked if we can use weupdate.exe but
> unfortunately it is forbidden.(They did not think about it
> > so
> > > > > far)
> > > > >
> > > > > Please you should also ask for this feature:
> > > > >
> http://msdn.microsoft.com/embedded/community/community/feedback/feedxp/default.aspx
> > > > >
> > > > > Regards,
> > > > > Slobodan
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: Component reuse
    ... There is not much documnentation available for CMI component. ... Regards, ... > ObjectsCompleted, ObjectType, ObjectDisplayName). ... process to make it easy to install on a separate machine. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Target Designer Automation Interface
    ... CMI has nice features that can be certainly used, but like you said it is ... If you need only to support few different hardware components in your images ... Regards, ... > But I would like to know if some kind of automated tasks are available. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Component reuse
    ... Regards, ... digging into the CMI :-) ... >> process to make it easy to install on a separate machine. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Component reuse
    ... Regards, ... > There are some thing you may do to automate the component distribution process to make it easy to install on a separate machine. ... > CMI object model allow you to make self installing packages. ... > everything to the database and repository automatically (pretty much the same as MS QFE packages do). ...
    (microsoft.public.windowsxp.embedded)
  • Re: Component reuse
    ... Regards, ... > There is not much documnentation available for CMI component. ... >> ObjectsCompleted, ObjectType, ObjectDisplayName). ... > process to make it easy to install on a separate machine. ...
    (microsoft.public.windowsxp.embedded)