我有两个应用程序,想打到一个包里,运行一个SETUP就可以同时安装两个程序!
如何实现?谢谢!

解决方案 »

  1.   

    you can paste it into setup files\,then call   LaunchAppAndWait ,such as
      if (LaunchAppAndWait (SUPPORTDIR ^"Winpcap_2_3.exe","", WAIT) < 0) then         MessageBox ("Unable to launch "+"WinPcap_2_3.exe"+".",SEVERE);     endif;
      

  2.   

    function SetupRegistry()
    beginRegDBSetDefaultRoot(HKEY_LOCAL_MACHINE);InstallationInfo(COMPANY_NAME,PRODUCT_NAME,PRODUCT_VERSION,PRODUCT_KEY);RegDBSetAppInfo("apppath",REGDB_STRING,TARGETDIR,-1);return 0;end;