Skip to content

Instantly share code, notes, and snippets.

@Tocchann
Last active May 28, 2019 02:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tocchann/e30105bb09d23cad6f386057deb0484e to your computer and use it in GitHub Desktop.
Save Tocchann/e30105bb09d23cad6f386057deb0484e to your computer and use it in GitHub Desktop.
Sample deferred CustomAction
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<Binary Id="Foo.dll" SourceFile="Foo.dll" />
<CustomAction Id="CA_FooAction" BinaryKey="Foo.dll" DllEntry="CA_FooAction" Return="check" Execute="deferred" />
<SetProperty Id="CA_FooAction" Before="CA_FooAction" Sequence="execute" Value="[FooProp]" />
<InstallExecuteSequence>
<Custom Action="CA_FooAction" After="InstallValidate" />
</InstallExecuteSequence>
</Fragment>
</Wix>
@Tocchann
Copy link
Author

整形しなおし。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment