I builded nsis script successfully for my java project. I have converted my java project into bat (windows machine requires bat file for executing) file named as test.bat. My installation steps done successfully.
After installation the bat file can not start the service. I have checked following path
Start Menu -> Control Panel -> Administrative Tools -> Services.
I can see the services in this list, but i could not see my service file name.
I have tried following script lines
!define MUI_FINISHPAGE_RUN "$INSTDIR\test.bat"
Also i have tried this one
Function test
ExecShell "" "$INSTDIR\test.bat"
FunctionEnd
How to solve this?