创建安装项目并将其添加到具有 Windows 应用程序的解决方案后,在哪里以及如何找到安装程序文件?

发布于 2024-10-12 09:57:09 字数 366 浏览 5 评论 0原文

你好, 我有一个 C# 的 Windows 应用程序。我创建了一个设置项目并将其添加到该解决方案中。然后,构建解决方案。我参考了此链接http://www.codeproject.com/KB/install/SetupAndDeployment.aspx。我什至将“我的应用程序的主要输出”的快捷方式添加到“用户的桌面”文件夹中。但我无法在桌面中找到安装程序文件,因此我可以“双击”此安装程序文件并安装我的 Windows 应用程序。 请帮助我完成创建设置项目、将其添加到解决方案并构建解决方案后需要遵循的过程。在哪里以及如何找到安装程序文件。我有什么遗漏的吗?

HI,
I have a windows application in C#. I created and added a set up project to this solution. Then, built the solution. I refered to this link http://www.codeproject.com/KB/install/SetupAndDeployment.aspx. I even added the shortcut of "Primary output of my application" to "User's Desktop" folder. But I am not able to find the installer file in Desktop, so that I can "double click" this installer file and install my Windows application.
KINDLY HELP ME WITH THE PROCEDURE THAT NEEDS TO BE FOLLOWED AFTER CREATING A SET UP PROJECT, ADDING IT TO A SOLUTION AND BUILDING THE SOLUTION. WHERE AND HOW TO FIND THE INSTALLER FILE. IS THERE ANYTHING THAT I AM MISSING.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

烟织青萝梦 2024-10-19 09:57:09

安装程序文件应位于安装程序项目的 bin 文件夹中。在项目树中右键单击该项目,然后选择“在Windows资源管理器中打开文件夹”,您将找到bin目录。

仅当安装程序文件运行后,桌面上的链接才会出现。

The installer file should be located in the bin folder of your installer project. Right click on the project in the project tree, and select "Open folder in windows explorer", and you'll find the bin directory.

The link on the desktop will only be present once the installer file has been run.

美胚控场 2024-10-19 09:57:09

我不知道这是否100%适用,但我认为值得一试,如果你知道安装程序文件的名称,为什么不搜索该文件以查看它是否存储在其他地方?

Whether this is 100% applicaple I don't know but it's something I'd think is worth a try which is if u know what the installer file is called why not do a search for that file to see if it's been stored somewhere else?

尐偏执 2024-10-19 09:57:09

抱歉,如果我向您陈述显而易见的事情,那么我可能误解了您的问题。

当您创建安装项目时,构建的安装文件位于安装项目的 Debug 或 Release 文件夹中,具体取决于您的构建设置

-setup.msi
-setup.exe 例如,

单击 setup.exe 将运行安装应用程序

您将它们复制到用户的桌面并单击以安装您的应用程序?

I apologise If I am stating the obvious to you, I have probably misunderstood your question if i am.

When you make a setup project the built setup files are in the Debug or Release folder of the setup project depending on your build settings

-setup.msi
-setup.exe for example

clicking setup.exe will run the install the application

You copy them to the user's desktop and click to install your application?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文