Visual Studio 2017 C# installer project is not installing my app

隐身守侯 提交于 2019-12-11 14:21:40

问题


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#?


回答1:


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

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

Check both to see if you see your installed folder.


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..

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.


Some Further Links:

  • 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


来源:https://stackoverflow.com/questions/50607925/visual-studio-2017-c-sharp-installer-project-is-not-installing-my-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!