Changing settings of existing component from component designer

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

Guest

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
 
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/d...n-us/xpehelp/html/weconprototypecomponent.asp

or

http://msdn.microsoft.com/library/d.../html/weurfcdcomponentpropertiesdialogbox.asp

HTH,
Brad
 
Brad Combs:

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