Service is not starting automatically after the installation of application.....
Hi Everyone......
I am having an application and the application is an .exe file and it has an extracted .MSI file. When we installs an .Exe file after installing the aplication the application related service is running automatically and it is fine.
But when i tried to installs the extracted MSI it is installing fine and in the eventviewer i have checked it is successful installation and the in the services.msc the application related service is comming and it is not running automatically. The requirement is the application related service should run automatically after the application installs.
Any help would be much appreciated.....
Answers (4)
check after restarting the machine or else you can write custom action (vbscript)
Use run command in vbscript.
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "c:\myprogram.exe"
Comments:
-
this vbscript should be run after install finalize and in myprogram.exe write the exe corresponding to that service - anshul 12 years ago