1. Create an installation project
2. After creating a project, you need to set up the specific operations and files.
2.1 File System
Set the file installation location and content. Including file, project output, assembly
2. file type (not commonly used)
Set file suffix
2.3 Registry (not commonly used)
Set registry operations
2.4 user interface
Set the user interaction interface for the entire installation process
2.5 custom operations
You can insert various types of automatic actions, such as executing the EXE file and creating SQL statements.
The custom operation has four phases: Install is executed after all files are installed. Commit is executed after the installation is completed correctly. Rollback is being rolled back. Uninstall is executed during uninstallation.
3. Installation prerequisites
Right-click Project-properties-prerequest. Check the environment variables before installation.
Introduction to setting attributes of Visual Studio Installer