使用installshield制作安装程序,如何判断系统是否安装了msxml3;如果没安装,如何在安装完程序后再安装msxml3;如果有msxml3以上的版本,也不用安装。

解决方案 »

  1.   

    已经搞定了,编程实现代码如下:function CheckXMLVer()
    STRING szFileName, svPath, svVersionNumber; 
    NUMBER Result;
    begin    
    szFileName = 'msxml3.dll';
      Result = VerFindFileVersion(szFileName, svPath, svVersionNumber);
      if Result = 0 then 
      return TRUE;
      else 
      if LaunchAppAndWait("msxml3_cn.exe","",WAIT)<0 then
      MessageBox ("msxml3_cn.exe安装文件不存在,请检查安装目录!", WARNING);
      endif;  
      endif;
    end;
      

  2.   

    set xml = CreateObject("MSXML3.DOMDocument");
    if !IsObject(xml) then
    install...
    endif;
      

  3.   

    到那里下载InstallShield Express for delphi5?