PC Review


Reply
Thread Tools Rate Thread

command line support

 
 
Larry Waibel
Guest
Posts: n/a
 
      18th Jul 2005
I'm starting into the process of releasing components and target designs
through our internal SCM group. They want everything to be done via the
command line so batch files can be used to log the operations. Is there any
way to import a component into the database via the command line and to
generate a target build via the command line? Thanks!

 
Reply With Quote
 
 
 
 
Andy Allred [MS]
Guest
Posts: n/a
 
      18th Jul 2005
Hi Larry.
Yes, this is possible, using cmiexp.wsf which is in the Value Add folder of
the CD #1 to install the Embedded suite of tools.

Unfortunately, that script file is not very intuitive, it does have a lot of
remarks in the script though to help.

On my team, Nandini has actually started to develop some documentation
lately to walk you through the end to end process to import a component from
the command line, add it to an SLX, resolve dependencies and build it. Most
of that process will be done via an answer file.

I'll ask Nandini (or someone else on the team) to post a blog entry with
this information when she's got some spare cycles.

Thanks.

--
Embedded team blog: http://blogs.msdn.com/embedded/

This posting is provided "AS IS" with no warranties, and confers no rights.



"Larry Waibel" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm starting into the process of releasing components and target designs
> through our internal SCM group. They want everything to be done via the
> command line so batch files can be used to log the operations. Is there
> any
> way to import a component into the database via the command line and to
> generate a target build via the command line? Thanks!
>



 
Reply With Quote
 
Larry Waibel
Guest
Posts: n/a
 
      19th Jul 2005
Okay, thanks! I'll take a look at the script. How's the best way to know when
the blog entry has been posted?

In article <(E-Mail Removed)>, Andy Allred [MS] wrote:
> From: "Andy Allred [MS]" <(E-Mail Removed)>
> Subject: Re: command line support
> Date: Mon, 18 Jul 2005 12:03:08 -0700
> Newsgroups: microsoft.public.windowsxp.embedded
>
> Hi Larry.
> Yes, this is possible, using cmiexp.wsf which is in the Value Add folder of
> the CD #1 to install the Embedded suite of tools.
>
> Unfortunately, that script file is not very intuitive, it does have a lot of
> remarks in the script though to help.
>
> On my team, Nandini has actually started to develop some documentation
> lately to walk you through the end to end process to import a component from
> the command line, add it to an SLX, resolve dependencies and build it. Most
> of that process will be done via an answer file.
>
> I'll ask Nandini (or someone else on the team) to post a blog entry with
> this information when she's got some spare cycles.
>
> Thanks.
>
> --
> Embedded team blog: http://blogs.msdn.com/embedded/
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Larry Waibel" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I'm starting into the process of releasing components and target designs
> > through our internal SCM group. They want everything to be done via the
> > command line so batch files can be used to log the operations. Is there
> > any
> > way to import a component into the database via the command line and to
> > generate a target build via the command line? Thanks!
> >

>



 
Reply With Quote
 
Larry Waibel
Guest
Posts: n/a
 
      19th Jul 2005
I'm trying to use cmiexp with a response file and a command line argument.
Here's my response file (importsld.rsp):

dbo LOCAL /ri
dbi %1
dbc
exit

Here's the command line:

d:\windowsembedded\utilities\cmiexp @importsld.rsp porttalk.sld

And here's the output; it doesn't seem to like the %1 parameter?

Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

CMI Explorer version 3.14.620 (CMI revision 578)
Copyright (C) 1999-2001 Microsoft Corp. All Rights Reserved.

Platform GUID : {B784E719-C196-4DDB-B358-D9254426C38D}
Platform : (not in database)
Server : WAIBELXPD
Database : MantisSQLDB
Generation : {5836703C-51AD-4419-A8B2-0A0119E66BF8}
Open mode : ReadImport (1)
Error 9004 (0x232C) in "CmdDBImport": Syntax error
Error in command: "dbi %1" [dbi]

In article <(E-Mail Removed)>, Andy Allred [MS] wrote:
> From: "Andy Allred [MS]" <(E-Mail Removed)>
> Subject: Re: command line support
> Date: Mon, 18 Jul 2005 12:03:08 -0700
> Newsgroups: microsoft.public.windowsxp.embedded
>
> Hi Larry.
> Yes, this is possible, using cmiexp.wsf which is in the Value Add folder of
> the CD #1 to install the Embedded suite of tools.
>
> Unfortunately, that script file is not very intuitive, it does have a lot of
> remarks in the script though to help.
>
> On my team, Nandini has actually started to develop some documentation
> lately to walk you through the end to end process to import a component from
> the command line, add it to an SLX, resolve dependencies and build it. Most
> of that process will be done via an answer file.
>
> I'll ask Nandini (or someone else on the team) to post a blog entry with
> this information when she's got some spare cycles.
>
> Thanks.
>
> --
> Embedded team blog: http://blogs.msdn.com/embedded/
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Larry Waibel" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I'm starting into the process of releasing components and target designs
> > through our internal SCM group. They want everything to be done via the
> > command line so batch files can be used to log the operations. Is there
> > any
> > way to import a component into the database via the command line and to
> > generate a target build via the command line? Thanks!
> >

>



 
Reply With Quote
 
Andy Allred [MS]
Guest
Posts: n/a
 
      19th Jul 2005
http://blogs.msdn.com/embedded/archi...18/440181.aspx

-andy
--
Embedded team blog: http://blogs.msdn.com/embedded/

This posting is provided "AS IS" with no warranties, and confers no rights.



"Larry Waibel" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm trying to use cmiexp with a response file and a command line argument.
> Here's my response file (importsld.rsp):
>
> dbo LOCAL /ri
> dbi %1
> dbc
> exit
>
> Here's the command line:
>
> d:\windowsembedded\utilities\cmiexp @importsld.rsp porttalk.sld
>
> And here's the output; it doesn't seem to like the %1 parameter?
>
> Microsoft (R) Windows Script Host Version 5.6
> Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
>
> CMI Explorer version 3.14.620 (CMI revision 578)
> Copyright (C) 1999-2001 Microsoft Corp. All Rights Reserved.
>
> Platform GUID : {B784E719-C196-4DDB-B358-D9254426C38D}
> Platform : (not in database)
> Server : WAIBELXPD
> Database : MantisSQLDB
> Generation : {5836703C-51AD-4419-A8B2-0A0119E66BF8}
> Open mode : ReadImport (1)
> Error 9004 (0x232C) in "CmdDBImport": Syntax error
> Error in command: "dbi %1" [dbi]
>
> In article <(E-Mail Removed)>, Andy Allred [MS]
> wrote:
>> From: "Andy Allred [MS]" <(E-Mail Removed)>
>> Subject: Re: command line support
>> Date: Mon, 18 Jul 2005 12:03:08 -0700
>> Newsgroups: microsoft.public.windowsxp.embedded
>>
>> Hi Larry.
>> Yes, this is possible, using cmiexp.wsf which is in the Value Add folder
>> of
>> the CD #1 to install the Embedded suite of tools.
>>
>> Unfortunately, that script file is not very intuitive, it does have a lot
>> of
>> remarks in the script though to help.
>>
>> On my team, Nandini has actually started to develop some documentation
>> lately to walk you through the end to end process to import a component
>> from
>> the command line, add it to an SLX, resolve dependencies and build it.
>> Most
>> of that process will be done via an answer file.
>>
>> I'll ask Nandini (or someone else on the team) to post a blog entry with
>> this information when she's got some spare cycles.
>>
>> Thanks.
>>
>> --
>> Embedded team blog: http://blogs.msdn.com/embedded/
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>> "Larry Waibel" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > I'm starting into the process of releasing components and target
>> > designs
>> > through our internal SCM group. They want everything to be done via
>> > the
>> > command line so batch files can be used to log the operations. Is
>> > there
>> > any
>> > way to import a component into the database via the command line and to
>> > generate a target build via the command line? Thanks!
>> >

>>

>
>



 
Reply With Quote
 
Larry Waibel
Guest
Posts: n/a
 
      19th Jul 2005
Thanks for the location; read it but still doesn't answer my %1 syntax error
problem.

In article <(E-Mail Removed)>, Andy Allred [MS] wrote:
> From: "Andy Allred [MS]" <(E-Mail Removed)>
> Subject: Re: command line support
> Date: Mon, 18 Jul 2005 18:41:38 -0700
> Newsgroups: microsoft.public.windowsxp.embedded
>
> http://blogs.msdn.com/embedded/archi...18/440181.aspx
>
> -andy
> --
> Embedded team blog: http://blogs.msdn.com/embedded/
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Larry Waibel" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I'm trying to use cmiexp with a response file and a command line argument.
> > Here's my response file (importsld.rsp):
> >
> > dbo LOCAL /ri
> > dbi %1
> > dbc
> > exit
> >
> > Here's the command line:
> >
> > d:\windowsembedded\utilities\cmiexp @importsld.rsp porttalk.sld
> >
> > And here's the output; it doesn't seem to like the %1 parameter?
> >
> > Microsoft (R) Windows Script Host Version 5.6
> > Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
> >
> > CMI Explorer version 3.14.620 (CMI revision 578)
> > Copyright (C) 1999-2001 Microsoft Corp. All Rights Reserved.
> >
> > Platform GUID : {B784E719-C196-4DDB-B358-D9254426C38D}
> > Platform : (not in database)
> > Server : WAIBELXPD
> > Database : MantisSQLDB
> > Generation : {5836703C-51AD-4419-A8B2-0A0119E66BF8}
> > Open mode : ReadImport (1)
> > Error 9004 (0x232C) in "CmdDBImport": Syntax error
> > Error in command: "dbi %1" [dbi]
> >
> > In article <(E-Mail Removed)>, Andy Allred [MS]
> > wrote:
> >> From: "Andy Allred [MS]" <(E-Mail Removed)>
> >> Subject: Re: command line support
> >> Date: Mon, 18 Jul 2005 12:03:08 -0700
> >> Newsgroups: microsoft.public.windowsxp.embedded
> >>
> >> Hi Larry.
> >> Yes, this is possible, using cmiexp.wsf which is in the Value Add folder
> >> of
> >> the CD #1 to install the Embedded suite of tools.
> >>
> >> Unfortunately, that script file is not very intuitive, it does have a lot
> >> of
> >> remarks in the script though to help.
> >>
> >> On my team, Nandini has actually started to develop some documentation
> >> lately to walk you through the end to end process to import a component
> >> from
> >> the command line, add it to an SLX, resolve dependencies and build it.
> >> Most
> >> of that process will be done via an answer file.
> >>
> >> I'll ask Nandini (or someone else on the team) to post a blog entry with
> >> this information when she's got some spare cycles.
> >>
> >> Thanks.
> >>
> >> --
> >> Embedded team blog: http://blogs.msdn.com/embedded/
> >>
> >> This posting is provided "AS IS" with no warranties, and confers no
> >> rights.
> >>
> >> "Larry Waibel" <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >> > I'm starting into the process of releasing components and target
> >> > designs
> >> > through our internal SCM group. They want everything to be done via
> >> > the
> >> > command line so batch files can be used to log the operations. Is
> >> > there
> >> > any
> >> > way to import a component into the database via the command line and to
> >> > generate a target build via the command line? Thanks!
> >> >
> >>

> >
> >

>



 
Reply With Quote
 
Andy Allred [MS]
Guest
Posts: n/a
 
      19th Jul 2005
Paste your answer file here.
-andy

--
Embedded team blog: http://blogs.msdn.com/embedded/

This posting is provided "AS IS" with no warranties, and confers no rights.



"Larry Waibel" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks for the location; read it but still doesn't answer my %1 syntax
> error
> problem.
>
> In article <(E-Mail Removed)>, Andy Allred [MS]
> wrote:
>> From: "Andy Allred [MS]" <(E-Mail Removed)>
>> Subject: Re: command line support
>> Date: Mon, 18 Jul 2005 18:41:38 -0700
>> Newsgroups: microsoft.public.windowsxp.embedded
>>
>> http://blogs.msdn.com/embedded/archi...18/440181.aspx
>>
>> -andy
>> --
>> Embedded team blog: http://blogs.msdn.com/embedded/
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>> "Larry Waibel" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > I'm trying to use cmiexp with a response file and a command line
>> > argument.
>> > Here's my response file (importsld.rsp):
>> >
>> > dbo LOCAL /ri
>> > dbi %1
>> > dbc
>> > exit
>> >
>> > Here's the command line:
>> >
>> > d:\windowsembedded\utilities\cmiexp @importsld.rsp porttalk.sld
>> >
>> > And here's the output; it doesn't seem to like the %1 parameter?
>> >
>> > Microsoft (R) Windows Script Host Version 5.6
>> > Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
>> >
>> > CMI Explorer version 3.14.620 (CMI revision 578)
>> > Copyright (C) 1999-2001 Microsoft Corp. All Rights Reserved.
>> >
>> > Platform GUID : {B784E719-C196-4DDB-B358-D9254426C38D}
>> > Platform : (not in database)
>> > Server : WAIBELXPD
>> > Database : MantisSQLDB
>> > Generation : {5836703C-51AD-4419-A8B2-0A0119E66BF8}
>> > Open mode : ReadImport (1)
>> > Error 9004 (0x232C) in "CmdDBImport": Syntax error
>> > Error in command: "dbi %1" [dbi]
>> >
>> > In article <(E-Mail Removed)>, Andy Allred [MS]
>> > wrote:
>> >> From: "Andy Allred [MS]" <(E-Mail Removed)>
>> >> Subject: Re: command line support
>> >> Date: Mon, 18 Jul 2005 12:03:08 -0700
>> >> Newsgroups: microsoft.public.windowsxp.embedded
>> >>
>> >> Hi Larry.
>> >> Yes, this is possible, using cmiexp.wsf which is in the Value Add
>> >> folder
>> >> of
>> >> the CD #1 to install the Embedded suite of tools.
>> >>
>> >> Unfortunately, that script file is not very intuitive, it does have a
>> >> lot
>> >> of
>> >> remarks in the script though to help.
>> >>
>> >> On my team, Nandini has actually started to develop some documentation
>> >> lately to walk you through the end to end process to import a
>> >> component
>> >> from
>> >> the command line, add it to an SLX, resolve dependencies and build it.
>> >> Most
>> >> of that process will be done via an answer file.
>> >>
>> >> I'll ask Nandini (or someone else on the team) to post a blog entry
>> >> with
>> >> this information when she's got some spare cycles.
>> >>
>> >> Thanks.
>> >>
>> >> --
>> >> Embedded team blog: http://blogs.msdn.com/embedded/
>> >>
>> >> This posting is provided "AS IS" with no warranties, and confers no
>> >> rights.
>> >>
>> >> "Larry Waibel" <(E-Mail Removed)> wrote in message
>> >> news:(E-Mail Removed)...
>> >> > I'm starting into the process of releasing components and target
>> >> > designs
>> >> > through our internal SCM group. They want everything to be done via
>> >> > the
>> >> > command line so batch files can be used to log the operations. Is
>> >> > there
>> >> > any
>> >> > way to import a component into the database via the command line and
>> >> > to
>> >> > generate a target build via the command line? Thanks!
>> >> >
>> >>
>> >
>> >

>>

>
>



 
Reply With Quote
 
Larry Waibel
Guest
Posts: n/a
 
      19th Jul 2005
I'm not sure what you were telling me to do? What 'answer file' are you
referring to and where is 'here'? Thanks!

In article <(E-Mail Removed)>, Andy Allred [MS] wrote:
> From: "Andy Allred [MS]" <(E-Mail Removed)>
> Subject: Re: command line support
> Date: Tue, 19 Jul 2005 08:26:15 -0700
> Newsgroups: microsoft.public.windowsxp.embedded
>
> Paste your answer file here.
> -andy
>
> --
> Embedded team blog: http://blogs.msdn.com/embedded/
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>



 
Reply With Quote
 
Andy Allred [MS]
Guest
Posts: n/a
 
      20th Jul 2005
Oops, nevermind I see your earlier mail with the response file info i was
looking for.<grin>

I forwarded the info on for someone to look at and should respond to this
thread with more info.

Thanks Larry.
Andy

--
Embedded team blog: http://blogs.msdn.com/embedded/

This posting is provided "AS IS" with no warranties, and confers no rights.



"Larry Waibel" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm not sure what you were telling me to do? What 'answer file' are you
> referring to and where is 'here'? Thanks!
>
> In article <(E-Mail Removed)>, Andy Allred [MS] wrote:
>> From: "Andy Allred [MS]" <(E-Mail Removed)>
>> Subject: Re: command line support
>> Date: Tue, 19 Jul 2005 08:26:15 -0700
>> Newsgroups: microsoft.public.windowsxp.embedded
>>
>> Paste your answer file here.
>> -andy
>>
>> --
>> Embedded team blog: http://blogs.msdn.com/embedded/
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>

>
>



 
Reply With Quote
 
KM
Guest
Posts: n/a
 
      23rd Jul 2005
Larry,

This is not CMIExplorer problem. You just forgot that cmiexp is WSH script :-)

Run the following command:
cscript.exe CMIEXP.WSF //B //Nologo "@importsld.rsp porttalk.sld"
And it should do it.

(if you have the default handler for WSF set up in registry you won't need the header of the command above).

Regards,
KM

> I'm trying to use cmiexp with a response file and a command line argument.
> Here's my response file (importsld.rsp):
>
> dbo LOCAL /ri
> dbi %1
> dbc
> exit
>
> Here's the command line:
>
> d:\windowsembedded\utilities\cmiexp @importsld.rsp porttalk.sld
>
> And here's the output; it doesn't seem to like the %1 parameter?
>
> Microsoft (R) Windows Script Host Version 5.6
> Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
>
> CMI Explorer version 3.14.620 (CMI revision 578)
> Copyright (C) 1999-2001 Microsoft Corp. All Rights Reserved.
>
> Platform GUID : {B784E719-C196-4DDB-B358-D9254426C38D}
> Platform : (not in database)
> Server : WAIBELXPD
> Database : MantisSQLDB
> Generation : {5836703C-51AD-4419-A8B2-0A0119E66BF8}
> Open mode : ReadImport (1)
> Error 9004 (0x232C) in "CmdDBImport": Syntax error
> Error in command: "dbi %1" [dbi]
>
> In article <(E-Mail Removed)>, Andy Allred [MS] wrote:
>> From: "Andy Allred [MS]" <(E-Mail Removed)>
>> Subject: Re: command line support
>> Date: Mon, 18 Jul 2005 12:03:08 -0700
>> Newsgroups: microsoft.public.windowsxp.embedded
>>
>> Hi Larry.
>> Yes, this is possible, using cmiexp.wsf which is in the Value Add folder of
>> the CD #1 to install the Embedded suite of tools.
>>
>> Unfortunately, that script file is not very intuitive, it does have a lot of
>> remarks in the script though to help.
>>
>> On my team, Nandini has actually started to develop some documentation
>> lately to walk you through the end to end process to import a component from
>> the command line, add it to an SLX, resolve dependencies and build it. Most
>> of that process will be done via an answer file.
>>
>> I'll ask Nandini (or someone else on the team) to post a blog entry with
>> this information when she's got some spare cycles.
>>
>> Thanks.
>>
>> --
>> Embedded team blog: http://blogs.msdn.com/embedded/
>>
>> This posting is provided "AS IS" with no warranties, and confers no rights.
>>
>> "Larry Waibel" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > I'm starting into the process of releasing components and target designs
>> > through our internal SCM group. They want everything to be done via the
>> > command line so batch files can be used to log the operations. Is there
>> > any
>> > way to import a component into the database via the command line and to
>> > generate a target build via the command line? Thanks!
>> >

>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Win XP Command Line ZIP Support Michael Flanakin Windows XP Security 2 6th Aug 2004 12:03 AM
Control Panel Command Line Support Mathias Dietler Windows XP Embedded 2 24th Oct 2003 02:22 PM
Command line error D2016 : '/RTC1' and '/clr:initialappdomain' command-line options are incompatible Lars Grøtteland Microsoft Dot NET Framework 1 15th Oct 2003 09:35 AM
Command line error D2016 : '/RTC1' and '/clr:initialappdomain' command-line options are incompatible Lars Grøtteland Microsoft VC .NET 1 15th Oct 2003 09:35 AM
motive support client command line interface AJ Windows XP General 2 7th Oct 2003 12:38 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:56 PM.