使用VS.NET 2003的安装项目做的安装文件,如何实现在安装结束后自动运行软件?

解决方案 »

  1.   

    用什么?installshared可以有设置。
      

  2.   

    VS.NET 2003自己的安装项目不能做到吗
      

  3.   

    System.Diagnostics.Process.Start("ping.exe",txtInput.Text );可以启动一个exe文件,你可以在程序里面设置这条语句!!!,该语句运行ping应用程序!!!
      

  4.   

    具体我没有做过 不过我在某个C#写的木马程序中看见过 好像就在csdn资料区 你可以去找找
      

  5.   

    不要用.net里的那个打包程序,用installshieldX吧。还可以把.net framework打到安装包里,如果机器上没有装.net framework的话不用单独安装了,和你的程序一起就可以把支持包装上,你在script里写上装完运行就行了。
      

  6.   

    Here is a description of using setup project by VS .NET 2003:
    At first, as usual create a setup project to your project(s), then in your solution explorer, choose you setup project, ok, click the panel which is named Custom Action Editor, now you can see four tree point under Custom Action: Install,Commit,Rollback,Unstall. yes, that is right, right click the tree point of Install, choose Add Custom Action, then choose "Primary output from (your project name) (Active)", Do it to other points. that's ok! Build it, it's just you wanted
      

  7.   

    .net的安装和部署项目可以设置开始之前和结束之后运行的应用程序