Jump to content
Sign in to follow this  
Badum

Installing as Service

Recommended Posts

Badum

My Application started but after sometime switched off. where error ?

RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SomeService", "Type", "REG_DWORD", "16")

RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SomeService", "Start", "REG_DWORD", "2")

RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SomeService", "ErrorControl", "REG_DWORD", "0")

RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SomeService", "ImagePath", "REG_EXPAND_SZ", "C:\Program Files\MyApp\myapp.exe")

RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SomeService", "DisplayName", "REG_SZ", "Autoit Some Applicaton")

While 1

MsgBox(0, "Hello", "Hello World")

Wend

PS Sorry my bad english

Edited by Badum

Share this post


Link to post
Share on other sites
Badum

Big THX! :whistle:

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×