Export (0) Print
Expand All

Authoring the CustomAction Table

Enter records for the five sample custom actions created in the previous section to the CustomAction Table. For more information on how to populate the CustomAction table for this type of custom action see Custom Action Type 1.

CustomAction Table

ActionTypeSourceTarget
ProcessAccounts1Process.dllProcessUserAccounts
UninstallAccounts1Process.dllUninstallUserAccounts
CreateAccount11265Create.dllCreateUserAccount
RemoveAccount11265Remove.dllRemoveUserAccount
RollbackAccount9473Remove.dllRemoveUserAccount

 

The C++ source code for the dynamic-link libraries are provided in the Windows Installer SDK. Use Process.cpp to create the file Process.dll. Use Create.cpp to create the file Create.dll. Use Remove.cpp to create Remove.dll. Add these dynamic-link library files to the Binary table.

Binary Table

NameData
Process.dll{binary data}
Create.dll{binary data}
Remove.dll{binary data}

 

Continue to Adding a Custom CustomUserAccounts Table.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft