rt: 现在做的安装包没什么问题,现在要实现在安装成功后直接运行该程序,网上查了下还是有点不明白,尝试了下 不成功 
参考:http://blog.csdn.net/luheng2006/archive/2010/03/29/5429771.aspx
请高手指点下如果要写代码,麻烦也给提供下  先谢过了function MyFunction(hMSI)   
    // To Do:  Declare local variables.
STRING szTitle;
    STRING   szMsg1, szMsg2,szOpt1,szOpt2;
    BOOL     bvOpt1, bvOpt2;
    STRING szApplicationPath,szApplicationCmdLine,szCmdLine;
begin      
    if (MAINTENANCE) then return 0;endif;//如果不是安装状态,比如修改/卸载状态的时候,则不执行。
    szTitle = "安装完成";//对话框的标题
    szMsg1  = "%P 安装已经完成.\n" +
              "请根据需要选择下面的选项.";//%P为软件产品名称
//如果要单独在这里设置产品名称,在之前使用如下两句
//    szProductName = "某某软件";
//    SdProductName (szProductName);    szMsg2  = "点击‘完成’按钮完成%P安装.";
        szOpt1 = "阅读自述文件";//如果这里为空,则表示只有一个选项
    szOpt2 = "运行程序";
    SdFinish (szTitle, szMsg1, szMsg2, szOpt1, szOpt2, bvOpt1, bvOpt2);
    if (bvOpt1) then        LaunchApp ('notepad.exe',TARGETDIR ^ "\\readme.txt");//LaunchApp 用来运行某外部程序
    endif;
  
    if (bvOpt2) then
           LaunchApp (TARGETDIR ^ "\\AASmart.Financier.exe","");
    endif;
end;