speed reading the docs
register pkcs11[
^] you need to call an exported function ?
you need to write a
custom action[
^]
Of the Custom Action types[
^] Type18 is probably the easiest to implement what you want to do - though i don't know (and it's not documented) if the command line string can use
MSI formatted string notation[
^] (because you'll want to know the location of your installed DLL - #filekey )
for the love of cheese, handle uninstall and rollback (
Condition syntax[
^] in your
InstallExecuteSequence[
^] entries (plural) )
No idea how wix exposes these items, but given it's written by the MSI dev team, it probably does it well