I created a Windows service that checks the status of the printer.
The user can download this service from the website. I need to request the status of printers used by this user. Therefore, when the user clicks the download button, I want to save the user information in a file that my service can use. The service will use this information to retrieve printers from the database. I want to include this file in my installer. Therefore, I need to create an installer at runtime (i.e. when the user clicks the download button on my website).
How can I create an installer for win service dynamically using C #?
NOTE: my win service is written in C ++. I know about WIX.
source
share