O'Reilly logo

WiX: A Developer's Guide to Windows Installer XML by Nick Ramirez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Custom actions

Knowing what the standard actions do and when prepares you for what's next: making your own actions, called custom actions, and scheduling them appropriately.

Any custom action that changes the system, whether it be changing files, setting up databases, or adjusting user rights, should happen during the deferred stage of the Execute sequence. Otherwise, you're free to place them where you like during either the UI or Execute sequence.

Custom actions are declared with the CustomAction element. Use its Execute attribute to define how it should run and its Return attribute to tell how its return status should be treated. For example, this would declare a custom action called MyAction that runs during the deferred stage and is checked ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required