I'm sorry if someone has already asked this or if it is a simple thing to do, but I have been searching the Forum for awhile and can't find a way to do yet.
How can Register and EXE as a Service? (I think the way I would do this manually is in the command line I would go to the directory where myEXE is and type myEXE -install)
Thank you for your help in advance.
Register EXE as Service
3 posts
According to what you have said your executable is capable of registering itself. To execute with install in the argument list use:
ExecWait '"$INSTDIR\file.exe" install'
This assumes you put it in $INSTDIR. If you want to capture the output use nsExec (Contrib\nsExec).
ExecWait '"$INSTDIR\file.exe" install'
This assumes you put it in $INSTDIR. If you want to capture the output use nsExec (Contrib\nsExec).
thank you so much for your fast reply. I'll try that as soon as I get the exe.