WIN2000下没问题,WIN98下出问题。估计是命名方式不同,想知道怎么改
安装程序执行到下边的函数的最后一句话即
LaunchAppAndWait(szFile,szCmdLine,WAIT);
时弹出错误对话框,信息如下Error installing iKernel.exe(0x1200)
函数如下:
begin        szTgt = TARGETDIR;  
       LongPathToShortPath(szTgt);  
       
       szFile = szTgt + "\\tvm.exe";  
  //     LongPathToShortPath(szFile);
       szDestDir = szTgt + "\\Intervideo"; 
  //     LongPathToShortPath(szDestDir);
       szCmdLine = "/s /aPATH=" + szDestDir + "; /s";
//       <TARGETDIR>\exe\tvm.exe  /s /aPATH=<TARGETDIR>\exe; /s    
       LaunchAppAndWait(szFile,szCmdLine,WAIT);
       //  
       
end;