简体   繁体   English

如何在C#安装项目中完成设置时自动启动我的应用程序

[英]How to automatically start my application when my setup is done in C# setup project

I want that my application start after my setup is finished. 我想在我的设置完成后启动我的应用程序。 I try to launch a cmd file in the custom actions but the VS setup project doesn't want to take the cmd file, this is an invalid custom action file. 我尝试在自定义操作中启动cmd文件,但VS安装项目不想获取cmd文件,这是一个无效的自定义操作文件。

I know that I can write an installer class, but is there an easy way to do this simple action? 我知道我可以写一个安装程序类,但有一个简单的方法来做这个简单的操作吗?

检查以下主题它非常有用: codeproject

可以建议使用innosetup或nsis代替吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 C#设置项目输出自动以管理权限开始 - C# setup project output automatically start with administrative rights 我的应用程序正确上传了文件,但其设置没有,c# - my application uploads file correctly but its setup does not,c# C#:如何解决安装项目中的文本框错误? - C# : How can I resolve my textboxe error in a Setup Project? 设置后,如何设置要在我的c#.net项目中使用的源文件的路径? - How to set a path for the source file to be used in my c# .net project after the setup? 如何在Visual Studio中将安装文件附加到C#应用程序的安装项目中 - how to attach a setup file to a setup project for a C# application in visual studio 确定丢失的文件后自动重新安装应用程序-安装项目C#Visual Studio 2015 - Automatically reinstall application after identify missing files-setup project c# visual studio 2015 如何为我的程序正确设置类设计(C#.Net) - How to properly setup class design for my program (C# .Net) 使用安装项目安装后,C#Winforms应用程序无法启动 - C# Winforms application fails to start up after installing it using Setup Project 如何在我的安装项目中包括点混淆输出? - How to include dotfuscated output in my setup project? 如何在我的安装项目中包括vlc安装? - How to include a vlc installation in my setup project?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM