我做了一个WEB安装部署程序,用的是VS自带的部署工具,我里面还判断了有一个控件有没有装,没有装的话,运行另一个进程去装,
Process MyProcess=new Process(); 
MyProcess.StartInfo.FileName=this.Context.Parameters["targetdir"]+"\\NetAdvantageAspNET51.msi";
MyProcess.StartInfo.WindowStyle=ProcessWindowStyle.Normal;
MyProcess.Start();
MyProcess.WaitForExit(); 
MyProcess.Close();
这样是可以检测到那个NetAdvantageAspNET51.msi,并且自动进行安装,可是后来跳出来一个提示框,说:
Error 1500.Another installation is in progress.You must complete that installation beegore continuing this one.
它的意思是另一个安装程序在运行,我的想法是想把那个控件的安装程序打进那个安装包里面,我该如何做呢,请高手解决问题?

解决方案 »

  1.   

    有知道怎么回事的朋友吗?快点帮个忙啊,没有办法调用其他的安装程序啊,是怎么回事啊
    出错信息是这个:
    Error 1500.Another installation is in progress.You must complete that installation beegore continuing this one.
      

  2.   

    有没有高手解决啊,我是在自定以操作里面的安装加了两个我自己写的安装类,一个是检测控件有没有装的,另一个是安装数据库的,里面都有一个进程,一个是
    Process MyProcess=new Process(); 
    MyProcess.StartInfo.FileName=this.Context.Parameters["targetdir"]+"\\NetAdvantageAspNET51.msi";
    MyProcess.StartInfo.WindowStyle=ProcessWindowStyle.Normal;
    MyProcess.Start();
    MyProcess.WaitForExit(); 
    MyProcess.Close();另一个是用osql.exe的,也是一个进程,首先执行的是上面一个进程,可是在安装那个控件的时候就会弹出提示:Error 1500.Another installation is in progress.You must complete that installation before continuing this one.是怎么回事啊,是不是不能用2个进程啊,望高手解决啊,关键是没有分数了,只要能够解决,下次一定补上,在线等啊 
      

  3.   

    有没有朋友帮忙啊,另外还有一个帖子,只要解决,马上给分,分不够,再加,只要能够解决
    http://community.csdn.net/Expert/TopicView.asp?id=5258732