Reputation: 477
I having 3 .exe files (1.exe, 2.exe and 3.exe) and 2 .msi files (1.msi and 2.msi). Using NSIS script I created a Package. By installing that package this service should be in Windows services window. But I do not know the script to register this service. Help me thanks.
Actually I used Exec '"C:\Windows\System32\sc.exe" "MY Service Name"'
Even though I couldn’t find my service in this path Start Menu -> Control Panel -> Administrative Tools -> Services.
Help me...
Upvotes: 0
Views: 917
Reputation: 597
Use SERVICE plugin ( ServiceLib ) from here: http://nsis.sourceforge.net/NSIS_Service_Lib
Does the job well! ;)
Upvotes: 0