autoitxp Posted September 22, 2012 Posted September 22, 2012 Hi I would like to ask is there any clean way to install auto-it application as service currently i have tried to use ServiceEx.exe this install service successfully but when it start and run in process nothing happens never works properly as it made to work
abberration Posted September 22, 2012 Posted September 22, 2012 I have only had a small amount of experience with installing applications as services. The one thing I found out is that programs with GUI interfaces don't work as services because many services run before you log in to the computer, thus before any GUI interfaces can not be created. What kind of tasks is the script trying to accomplish? Easy MP3 | Software Installer | Password Manager
Emiel Wieldraaijer Posted September 22, 2012 Posted September 22, 2012 Use SrvAny.exe from microsofthttp://support.microsoft.com/kb/137890Also works on new Windows versions Best regards,Emiel Wieldraaijer
autoitxp Posted September 22, 2012 Author Posted September 22, 2012 simple loop to check local area network connection usingWinInet.dll InternetGetConnectedState and than check pings for URL and pop upmsgboxto display IP . Not using any GUI interface in my application.it install service successfully but when it come run as service it just in process but never works properly
Moderators JLogan3o13 Posted September 24, 2012 Moderators Posted September 24, 2012 Use SrvAny.exe from microsofthttp://support.microsoft.com/kb/137890Also works on new Windows versionsIt should be noted that "new Windows versions" only accounts for up to Windows XP. It does not natively work on WIn7 and above, or Server 2008 and above. There are some hacks floating around technet to get srvany to work on these Operating Systems, but the best bet for these is probably sc.exe. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
W4RD14L3R Posted October 6, 2012 Posted October 6, 2012 This code for cmd works well in windows 7.. SC Create "service name" binPath= @scriptfullpath start= auto type SC Create /? for a list of all uses, to parse a parameter you need to have it set out like this with the space parameter= data eg: binPath= C:windowsexplorer.exe
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now