Add a record to the CustomAction table for the Launch custom action. Enter the custom action's name in the Action column of the CustomAction table. Enter the total numeric type for Launch, 65, into the Type column of the Custom action table. The Source column of the CustomAction table specifies a key into the record of the Binary Table that contains the binary data for the DLL. Enter Tutorial.dll into the Source column of the CustomAction table. The entry point specified in the Target field of the CustomAction table must match that exported from the DLL. Enter LaunchTutorial into the Target column of the CustomAction table.
Action | Type | Source | Target |
---|---|---|---|
Launch | 65 | Tutorial.dll | LaunchTutorial |
Add the Tutorial.dll you created from Tutorial.cpp as a binary stream to the Binary table.
Name | Data |
---|---|
Tutorial.dll | {binary data added for DLL} |
Continue to Adding a Control Event at the End of the Installation to Run Launch.
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.