1. Menu bar: Tools, extensions and updates online, search Microsoft Visual Studio Installer project for download installation (Close VS2017 will be installed automatically after download);
2. Open the WinForm project, in Solution Explorer, Solution name, add New project, right-click menu, other project type, select Setup project-> input name, OK;
3.Application Folder (software root) Right-click menu->add-> project output, default main output, OK ; (You can also put folders and files, such as Sqlite.db, when the installation will be released to the software root directory)
4. Main output Right-click menu->create Shortcut to XXX (shortcut to create software)
3. Drag the shortcut to the user's desktop folder (create desktop shortcut)
4. You can also set the installation interface in the right-click menu->view of the Package project in Solution Explorer.
5. You can build the installation package once you've set it up (but only in MSI format):
VS2017 WinForm Packaging (using Microsoft Visual Studio Installer Project)