大网数据广告活动
安装更新与部署

Adding Launch to the CustomAction and Binary Tables

· 52CE 我爱测

Add a record to the CustomAction table for the Launch custom action.

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.

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.

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.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。