设置运行时运行批处理文件 [英] Run batch file when set up is running
本文介绍了设置运行时运行批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果在部署项目安装完成后运行批处理文件,如何在vs2008(构建它之后)中创建我的安装项目?如果我将创建的msi文件提供给用户,他们双击它,运行安装,完成后运行批处理文件?谢谢!
解决方案
如果要在自定义项目中添加自定义操作,可以查看下面的文章。
Visual Studio安装项目中的自定义操作 [< a href =http://www.codeproject.com/Articles/335516/Custom-Action-in-Visual-Studio-setup-projectstarget =_ blanktitle =New Window> ^ ]
How do I make my setup project in vs2008 (after I build it) to run a batch file after the install of the deployed project completes? As in, if I give the created msi file to a user, they double click it, run through the install, and after it's done, runs a batch file? Thanks!
解决方案
You can check the article below if you want to add custom actions to your setup project.
Custom Action in Visual Studio setup projects[^]
这篇关于设置运行时运行批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文