It is necessary to assemble an electronjs installer within which the postgres installer will be. Or, as it initiated the download of the postgres client with the ability to configure it as a client. It is very difficult to find information about this on the Internet, they write that the installer needs to be installed separately and configured further, but after all, applications for the desktop are collected as well.

    1 answer 1

    To create an installer, you can use the program Inno Setup - this is free software, you can use it for free.

    For more convenient work with Inno Setup, there is Inno Script Studio - placed on top of Inno Setup, allows you to create an installer without writing scripts by using wizards.

    The basics of working with Inno Setup can be found in this article on Habré.

    How to work with Inno Script Studio can be found here .