PC Review


Reply
Thread Tools Rate Thread

Changing settings of existing component from component designer

 
 
=?Utf-8?B?VGhpanMgZnJvbSBGaWNv?=
Guest
Posts: n/a
 
      21st Jun 2005
Is it possible to change te settings of an existing component which is added
as a dependency in an other component.

This is what i would like to do.

Make a component that has all the user account I want and the correct
autologon settings.
Until now I used a sefmade macro component to group "User Acount" and "Auto
Admin Logon" in a single component. When I add the macro to my configuration
the auto resolve will add thses component to my configuration for me.
BUT, i still have to set all the properties of these conmponents(username
password...). I want to use the macro component in several configurations and
to avoid some fillin error I want the selfmade components to contain all the
generic settings.

Is this at all possible.

Thijs
 
Reply With Quote
 
 
 
 
Brad Combs
Guest
Posts: n/a
 
      21st Jun 2005
Hello Thijs,

I think instead of making a Macro component you want to create prototype
components. Start by making a new component in Component Designer.On the
main Component Properties page under Prototype choose browse. For your
particular component choose the User Account component. Once the prototype
is set to User Account next you can add your custom settings by clicking
"Advanced" on the main properties page. This will bring up the "Advanced
Properties" dialog. Click Add, choose String as the format, set the name to
cmiUserName, and set the value to the desired username. Add another for
cmiUserPassword and cmiUserGroup (UserGroup is an integer with 1 being
administrators and 3 being the default).

Save this component and import it to your database. Now add this component
to your runtime and the settings will be included automatically. You can
also now create a Macro that brings in your custom prototyped component.

You can also do the same for the automatic logon. Create a prototype
component and add "Automatic Logon" to the prototype category. For settings
available on any component (such as where we got cmiUserName from the
earlier example) just add the component in Target Designer, highlight the
component and click "Advanced" in the right details pane.

For more information on prototype components take a look at:

http://msdn.microsoft.com/library/de...ecomponent.asp

or

http://msdn.microsoft.com/library/de...sdialogbox.asp

HTH,
Brad


"Thijs from Fico" <(E-Mail Removed)> wrote in message
news:B857EEA9-C309-4B78-A4DB-(E-Mail Removed)...
> Is it possible to change te settings of an existing component which is
> added
> as a dependency in an other component.
>
> This is what i would like to do.
>
> Make a component that has all the user account I want and the correct
> autologon settings.
> Until now I used a sefmade macro component to group "User Acount" and
> "Auto
> Admin Logon" in a single component. When I add the macro to my
> configuration
> the auto resolve will add thses component to my configuration for me.
> BUT, i still have to set all the properties of these conmponents(username
> password...). I want to use the macro component in several configurations
> and
> to avoid some fillin error I want the selfmade components to contain all
> the
> generic settings.
>
> Is this at all possible.
>
> Thijs



 
Reply With Quote
 
Kevin W
Guest
Posts: n/a
 
      22nd Jun 2005
Brad Combs:

Thank you for the information. The prototype feature simplified my
step by step documentation to build XPE.

 
Reply With Quote
 
=?Utf-8?B?VGhpanMgZnJvbSBGaWNv?=
Guest
Posts: n/a
 
      28th Jul 2005
Thanks Brad, I only got the the time to continue my XPE project.

Thijs


 
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
Component Designer Rodrigo Defende Windows XP Embedded 1 1st Jun 2009 03:46 PM
Component Designer Loris Groppo Microsoft Dot NET Framework Forms 1 26th Sep 2007 02:28 PM
Is there a way to save component's registry settings from Target Designer or MSDE? aalekseyev@gmail.com Windows XP Embedded 3 8th Mar 2006 06:50 PM
Component Creation by "Component Designer" =?Utf-8?B?U3VoYWls?= Windows XP Embedded 0 27th Apr 2005 11:02 AM
Component Designer like DataSet Designer? Mark Olbert Microsoft Dot NET Framework Forms 0 18th May 2004 06:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:19 AM.