Old 14th July 2014, 07:06   #1
jpderuiter
Major Dude
 
Join Date: Feb 2007
Posts: 672
So, what is not working?
Rereading your post it says that it's working:
Quote:
Originally Posted by r2du-soft View Post
my service is start and Start type in automatic (delayed start)
Did you reboot your PC?
MSDN says you should
Quote:
Originally Posted by MSDN;http://msdn.microsoft.com/en-us/library/windows/desktop/ms685155(v=vs.85).aspx
The change takes effect the next time the system is started.
jpderuiter is offline   Reply With Quote
Old 14th July 2014, 07:50   #2
r2du-soft
Senior Member
 
r2du-soft's Avatar
 
Join Date: Nov 2013
Location: Iran
Posts: 343
Post

Quote:
Originally Posted by jpderuiter View Post
So, what is not working?
Rereading your post it says that it's workingid you reboot your PC?
MSDN says you should
oooooo
im so sorry

this work and set Startup Type service to AUTOMATIC:

HTML Code:
SimpleSC::SetServiceStartType "wuauserv" "2" ;automatic
i set manual startup type to disable and use from you're code:

HTML Code:
SimpleSC::SetServiceDelayedAutoStartInfo "wuauserv" "1"
but not change to AUTOMATIC (Delay Start).

after i use them together:

HTML Code:
SimpleSC::SetServiceStartType "wuauserv" "2" ;Set Automatic
SimpleSC::SetServiceDelayedAutoStartInfo "wuauserv" "1" ;Set Automatic To Delay Start
and worked very good. (after change to automatic can change that to automatic delay start).

It was a mistake on my behalf

Thanks For Help Mr jpderuiter
My Problem Solved
r2du-soft is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump