and125
and125

Reputation: 11

How to create an installer project in VS2019 for a Windows form application

I have a very simple Windows Forms application (not the one with the .NET Framework) and I want to make an installer for it. The problem is that whenever I'm trying to run the installed application, it displays an error saying that it requires .NET Core to run, even if it's already installed. I tried including everything from the project output folder, including .exe and .dll files, but that doesn't seem to work. Here's how installer project files look like.

Upvotes: 1

Views: 1751

Answers (1)

Jiale Xue - MSFT
Jiale Xue - MSFT

Reputation: 3670

Please check out my nanny-level teaching!

Environment:

enter image description here

1.Add Enxtention: enter image description here

2.Install Microsoft Visual Studio Installer Project: enter image description here

3.Closs the ide to start installing:

enter image description here

enter image description here

enter image description here

4.Create a setup project:

enter image description here

enter image description here

5.Modify the information as needed:

enter image description here

6.Right click Setup (Application Folder) > add > file > (all the file): enter image description here

enter image description here

7.Then create a shortcut, cut it to User Desktop and, after creating a shortcut, put it in User Program:

enter image description here

enter image description here

enter image description here

enter image description here

8.Build: enter image description here

enter image description here

8.Install and run:

enter image description here

Upvotes: 2

Related Questions