Sheldon Livingston
asked on
Create service with NSIS
Trying to create a service from NSIS using:
nsExec::Exec '"cmd.exe SC create ServiceName binpath= c:\Promgram.exe"'
or
nsExec::Exec '"cmd.exe SC create ServiceName binpath= c:\Program.exe"'
Is it possible to create a service with NSIS?
nsExec::Exec '"cmd.exe SC create ServiceName binpath= c:\Promgram.exe"'
or
nsExec::Exec '"cmd.exe SC create ServiceName binpath= c:\Program.exe"'
Is it possible to create a service with NSIS?
ASKER
I have a program that I wish to create a service from. I can go into dos and type:
sc create servicename pathToProgram
I want to be able to have NSIS run the "sc create servicename pathToProgram" line.
sc create servicename pathToProgram
I want to be able to have NSIS run the "sc create servicename pathToProgram" line.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you!
You are welcome :)
Just to be clear, you want to install OR create a Windows Service?
Regards,
Chinmay.