好像是要用什么custom action,在哪啊?请教高手

解决方案 »

  1.   

    这是脚本代码,szPath标识你的另一个安装程序的路径,szCaption标识你的另一个安装程序执行的窗口caption。在installshield调用外部安装程序成功后,不断查询安装窗口,如果安装结束,则退回主安装
    if (Is(FILE_EXISTS, szPath= FALSE) then
         MessageBox("安装文件!", SEVERE);
         goto Next;
        endif;
        nResult = LaunchAppAndWait(szPath, "", WAIT);
        if (nResult < 0) then
         MessageBox("安装失败!", SEVERE);
        endif;    while(TRUE)
        Delay(1);
            nHwnd = FindWindow("", szCaption);
            if (nHwnd = NULL) then
            goto Next;
            endif;    
        endwhile;Next:
    ...