Hello,
Im using NSSM to create and start my service
I am wondering why are you using a third-party application to create and start your service. Have you tried following our
"How to install a service" article and it did not work?
Though I had already attempted to do that but it fails to start the service.
Were you trying to start your service through the .BAT file? If you checked the
"Run as administrator" option from the
"Install Parameters" page, then the .BAT file should be run elevated, as it inherits the elevated permissions from its father process (the main installer). I have just done a test and everything is working as expected. Please see the screenshot below:
- Capture.PNG (58.24 KiB) Viewed 4482 times
The setup (Your Application.exe) is launched elevated and the EXE (sample.exe) that I am launching through a
"LaunchFile" custom action is also launched elevated, without any additional prompts.
Though if you know of another thread that solves this or a solution I would love to hear it.
I am afraid I am not aware of any other solutions. However, if you would like, you can send me the following resources:
- the .AIP file used to build the project
- a download link for the project
by e-mail at
support at advancedinstaller dot com so I can further investigate this.
Kind regards,
Catalin