如何删除文件后,安装在C#中? [英] How to delete a file after installation is over in c#?

查看:135
本文介绍了如何删除文件后,安装在C#中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发使用C#.NET Framework中一个Windows应用程序。我想在安装了应用程序,一前一后的时间运行两个exe文件,以特定的顺序。



我知道我可以使用自定义操作在安装时运行exe文件,但我不知道如何在一个特定的顺序运行。



我是新的C#,所以详细的穿行者优先。


解决方案

自定义操作就可以完成同样的,你需要使用提交这个


自定义操作的选项

I am developing a windows application in .NET Framework using c#. I want to run two exe files at the time of installation of my application, one after the other, in a specific order.

I know that I can run an exe at the time of installation, by using the custom action, but I don't know how to run it in a specific order.

I am new to c#, so a detailed walk through is prefered.

解决方案

using Custom action you can perform the same, you need to use "Commit" option of custom action for this

这篇关于如何删除文件后,安装在C#中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆