install shield 2010 Basic MSI安装包调用dll

1.新建Basic MSI项目
2.Behavior and Logic->Custom Action and Sequence->右边面板CustomActions->Custom Action Wizard
->下一步->填写Action Name、Comment(可不填)->Type 选择Call a function in a standard dynamic-link library。(这里有多种选择,有JScript、VBScript等)->配置函数名、参数、返回值信息->Browse 选择.dll文件->下一步 直到确定。
3.在Squences中可以右键Insert新建的Action了。
另外在User Interface的Dialogs中右边面板All Dialogs选择一个dialog展开,选择Behavior右边面板,选择一个Control右边表格Event可以加入DoAction,Argument可以选择你的Action
原文地址:https://www.cnblogs.com/freemindblog/p/5783271.html