Tina Basinger wrote:
> I have a user node specified in my Wix code and it is set to create 
> the user specified.  It is creating a local user account.  From what I 
> know, the account is created during the ConfigureUsers custom action.  
> When ConfigureUsers is done, can I use the new user that was created 
> in a custom action that runs right after ConfigureUsers? Or is there 
> some final step that gets done on the user after ConfigureUsers finishes.

The WiX CAs follow a model where one immediate CA reads the tables and 
component states to determine what to do and then schedules deferred CAs 
to do the actual work. In this case, ConfigureUsers doesn't create the 
users; it schedules CreateUserRollback, CreateUser, and RemoveUser 
deferred CAs. Those CAs are scheduled on the fly, so they don't show up 
in your InstallExecuteSequence tables at build time.

> I am attempting to do just what I described above - let ConfigureUsers 
> create the user, and then run another custom action that updates the 
> user's description.  However, I'm getting an error in my second custom 
> action that is acting like the user doesn't exist when it runs.

Is your CA deferred?

-- 
sig://boB
http://bobs.org



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to