Visual Studio 2017 C#安装程序项目未安装我的应用程序 [英] Visual Studio 2017 C# installer project is not installing my app

查看:657
本文介绍了Visual Studio 2017 C#安装程序项目未安装我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了麻烦,希望能为您提供帮助,我已经使用c#开发了一个应用程序,现在该进行部署了,我最近在解决方案中安装了该插件以创建一个安装程序项目,因此我按照以下步骤进行操作创建安装程序,然后编译项目,直到那时一切都很好,插件创建了一个安装程序,因此我运行安装程序并使用默认文件夹来安装应用程序,但是当我检查默认文件夹时安装,该文件夹不存在,我也尝试过自己放置文件夹路径,结果与以前相同,是否还有其他人遇到与我相同的问题? 你们中的某些人可以给我一个链接,在其中我可以看到有关如何使用c#创建安装程序的完整指南吗?

I have been having troubles with this, hope you can help, I have developed an app using c#, now it's time to deploy, I have recently installed the plugin to create an installer project in my solution, so I followed the steps to create the installer and then compile the project, and everything is fine until that point, the plugin created an installer, so I ran the installer and used the default to folder to install the app, but when I go to check to the default folder installation, the folder doesn't exist, also I tried by putting the folder path by myself, same result as before, is there anyone else with the same problem as me? could some of you give me a link where I can see a full guide of how to create an installer using c#?

推荐答案

更新:我想知道您是否遇到32/64-bit文件夹问题:

UPDATE: I am wondering if you have a 32/64-bit folder issue:

  • C:\Program Files\
  • C:\Program Files (x86)\
  • C:\Program Files\
  • C:\Program Files (x86)\

同时选中两者,看看是否看到已安装的文件夹.

Check both to see if you see your installed folder.

目前还不清楚您使用了什么教程. 有一些youtube视频(

It is not clear what tutorial, if any, you have used so far. There are some youtube videos (search). Please remember to add enough information to your question to ensure that we understand what tutorials or learning material you have tried, or our answers become too generic and sometimes ridiculously irrellevant for the problem at hand..

可以使用许多替代工具来构建安装程序. Visual Studio Installer项目功能非常有限,我从不使用它.有几种选择,都免费提供,例如

There are many alternative tools you can use to build an installer. The Visual Studio Installer Project feature is very limited, I never use it. There are several alternatives, both free such as WiX (good, free and capable - with a learning curve) and commercial tools such as Installshield and Advanced Installer (faster and easier, but costs money).

我将仅链接至先前的一些答案,以查看它是否有助于您找到适合您的部署工具 :

I will just link to a few previous answers to see if it helps you find a deployment tool that suits you: Various Deployment Tools. Further, similar links below.

一些其他链接:

  • How to create windows installer (links to Windows Installer tools and legacy setup tools on top)
  • Wrap C# application in .msi installer
  • one installer for 3 programs
  • Cancelling a Windows service installation/Uninstallation with the Windows Installer causes service to be incompletely installed/uninstalled
  • Cannot call command.exe(SQL Server Setup.exe) while calling C# CA with parameters

这篇关于Visual Studio 2017 C#安装程序项目未安装我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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