Hi All,
I'm still stuck on this issue. I did search the forum but didn't find any
answer regarding this. Please offer help if you know of the answers. I'd really
appreciate any help from you. Thanks in advance.
Basically, we'd like just start a system service and change its Startup type
from 'Manual' to 'Automatic'. We'd figured out a way to start the service. But
we don't know how to change its Startup type. I thought we could do it by
changing the registry. So I had these code:
<Component Id="Component_StartTheService" Guid="...">
<RegistryKey Root="HKLM"
Key="Software\SYSTEM\CurrentControlSet\Services\WhateverService">
<RegistryValue Name="Start" Value="2" Type="integer" KeyPath="yes"/>
</RegistryKey>
</Component>
But this code doesn't work. The registry valude never got updated. So I'm
wondering if anyone happens to how to do this:
1. How to change an existing system service Startup type from 'Manual' to
'Automatic'?
2. If there is a way to do it by changing the registry, what does the code look
like?
I know there is a way to write a registry. I learnt it from the tutorial "How
To: Write a Registry Entry During Installation". In our case, however, we're
not creating a new registry key but trying to update an existing system service
registy key. This is very important for us because our application willl be
running much slower if that certain service isn't started. Well, we can start
the service once. But after the user reboot their machine later on, that
service will be still in 'Manual' mode. So we do need a way to change its
Startup type to be 'Automatic'.
If anyone happens to know how to do it, please help.
Many thanks,
/Brian
__________________________________________________________________
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot
with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail
today or register for free at http://mail.yahoo.ca
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users