Skip to content

Wix4 Controlling when a call to an extension happens / Virtual Service Accounts #8658

Answered by bevanweiss
Trikkitt asked this question in Questions
Discussion options

You must be logged in to vote

The util:User functionality is broken up into a few different Custom Actions. So you'd need to control the scheduling of the appropriate one of those.
https://github.com/wixtoolset/wix/blob/ce73352b1fa1d4f9cded10a0ee410f2e786bd326/src/ext/Util/wixlib/UtilExtension_Platform.wxi#L136-L145

What normally happens is that ConfigureUsers (the Custom Action) is introduced into the execution schedule, it runs and looks through the .MSI tables for user things, and based on desired state and current state it determines which other Custom Actions should be called.

If you look in Orca, you could try to schedule ConfigureUsers between the InstallServices, and the StartServices.
Easiest would be to use …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Trikkitt
Comment options

@bevanweiss
Comment options

Answer selected by Trikkitt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants