PC Review Forums Newsgroups Windows XP Windows XP Embedded CMI Scripting

Reply

CMI Scripting

 
Thread Tools Rate Thread
Old 22-04-2004, 07:46 PM   #1
Johannes Stratmann
Guest
 
Posts: n/a
Default CMI Scripting


I want to write a script to add components to my .sld file. There I use the
following commands:

dbopen mydb
Load V mySLD
new R
R = 'res : FBA DLL/COM Registration'
add V.components(1).Resources R

this works so far, but how can I acces the properties that are listed with
an asterisk, f.e. *FilePath ?
ok:
R.DisplayName = 'FBA DLL/COM Registration'

not ok:
R.FilePath= "somewhere"
R.*FilePath= "somewhere"


another questions: are there any tools that simply importing Installshield
or other Installscripts into ComponentDesigner ?


  Reply With Quote
Old 22-04-2004, 08:13 PM   #2
Johannes Stratmann
Guest
 
Posts: n/a
Default Re: CMI Scripting

found an answer by myself:
R.properties("FilePath") = "xyz"

running for the next trap...

"Johannes Stratmann" <-zz-jstratmann@t-online.de> schrieb im Newsbeitrag
news:%23nD8$GJKEHA.268@TK2MSFTNGP11.phx.gbl...
> I want to write a script to add components to my .sld file. There I use

the
> following commands:
>
> dbopen mydb
> Load V mySLD
> new R
> R = 'res : FBA DLL/COM Registration'
> add V.components(1).Resources R
>
> this works so far, but how can I acces the properties that are listed with
> an asterisk, f.e. *FilePath ?
> ok:
> R.DisplayName = 'FBA DLL/COM Registration'
>
> not ok:
> R.FilePath= "somewhere"
> R.*FilePath= "somewhere"
>
>
> another questions: are there any tools that simply importing Installshield
> or other Installscripts into ComponentDesigner ?
>
>



  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off