You're right, and I perhaps read too much into the question. I assumed that the 
requirement was to start the service but the poster believes that you do this 
by setting it to start auto and asking for a reboot instead of using 
ServiceControl.  It's something I keep seeing. 

Phil Wilson 

-----Original Message-----
From: Christopher Painter [mailto:chr...@deploymentengineering.com] 
Sent: Tuesday, February 10, 2009 6:09 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Windows service

I'm not sure why you would require a ServiceControl element if the requirement 
is for autostart on reboot, not started at the end of the install.

After the reboot, is the service properly created?  Does it say that it's set 
to automatic?  Will it start manually?     If it tries to start and fails, does 
your service provide any logging/diagnostics to aid in troubleshooting the 
problem?

Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me


--- On Tue, 2/10/09, Wilson, Phil <phil.wil...@wonderware.com> wrote:

> From: Wilson, Phil <phil.wil...@wonderware.com>
> Subject: Re: [WiX-users] Windows service
> To: "General discussion for Windows Installer XML toolset." 
> <wix-users@lists.sourceforge.net>
> Date: Tuesday, February 10, 2009, 6:58 PM
> You're perhaps missing a ServiceControl element.
> 
> Phil Wilson 
> 
> 
> -----Original Message-----
> From: Vijeta Khatri [mailto:vijeta.kha...@microsoft.com] 
> Sent: Tuesday, February 10, 2009 4:03 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Windows service
> 
> Hi,
> 
> I created an installer for a windows service using Wix and
> set the start up type to auto.
> 
> <ServiceInstall Id="WindowsService"
> Name=" WindowsService "
> Type="ownProcess" Start="auto"
> ErrorControl="normal" Interactive="no"
> Vital="yes" Account="[SERVICEACCOUNT]"
> Password="[SERVICEPASSWORD]" />
> 
> But the windows service doenst start automatically on
> system reboot. Am I missing something here?
> 
> Thanks,
> Vijeta
> 
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser
> with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing
> skills and code to
> build responsive, highly engaging applications that combine
> the power of local
> resources and data with the reach of the web. Download the
> Adobe AIR SDK and
> Ajax docs to start building applications
> today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser
> with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing
> skills and code to
> build responsive, highly engaging applications that combine
> the power of local
> resources and data with the reach of the web. Download the
> Adobe AIR SDK and
> Ajax docs to start building applications
> today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


      

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to