c# – Visual Studio MSI Installer With Properties Setup

I have Windows Service C# project. I’m trying to create MSI installer for my Windows Service project and I’d like this installer to ask:

  • Database connection string
  • Port Number

During installation process.

I’d like installation process to collect those values and set them to the configuration file of installed Windows Service.

Can you please guide me to anything that describes how to create MSI installer in visual studio that will ask me to set this properties during installation and sets those properties to the config file of installed service.

Thanks.

Read more here: Source link