简体   繁体   中英

Need a (script)procedure to install an application as windows service using NSIS script

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...

你尝试过NsSCM或从任何其他服务插件维基

Use SERVICE plugin ( ServiceLib ) from here: http://nsis.sourceforge.net/NSIS_Service_Lib

Does the job well! ;)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM