Looks like if Wait="no" then the dialog has a Retry, Cancel and Ignore
buttons, but with it set to Wait="yes" then you can only Retry and
Cancel. No Ignore if it is set to wait. Dialog otherwise looks identical
except for two buttons versus three buttons. If I choose Ignore then the
MSI does install.

-----Original Message-----
From: Wilson, Phil [mailto:phil.wil...@wonderware.com] 
Sent: Thursday, April 02, 2009 5:16 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to start an existing service

Does it still do this if the "wait" value is zero? (or no).  It won't
start it, but I'm wondering if it will still be catastrophic. 

Phil Wilson 


-----Original Message-----
From: Chad Petersen [mailto:chad.peter...@harlandfs.com] 
Sent: Thursday, April 02, 2009 2:41 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to start an existing service

Yep. Boils up to the "Verify you have sufficient privileges to start..."



-----Original Message-----
From: Neil Sleightholm [mailto:n...@x2systems.com] 
Sent: Thursday, April 02, 2009 1:42 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to start an existing service

You can't start a disabled service, it is disabled. You have to set it
to Manual or Automatic before it can be started.

Neil

-----Original Message-----
From: Chad Petersen [mailto:chad.peter...@harlandfs.com] 
Sent: 02 April 2009 20:59
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to start an existing service

Hey Phil - I'm wondering if ServiceControl can work on a Disabled
service, though. OP seemed to indicate the service is disabled by
default, which I see on my XP box here as being the case, too. I'm
writing a sample install that tries to start a Disabled service to see
how it reacts.

Chad

-----Original Message-----
From: Wilson, Phil [mailto:phil.wil...@wonderware.com] 
Sent: Thursday, April 02, 2009 12:00 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to start an existing service

You should be able to do this with a ServiceControl element. I don't
know the WiX details, but the ServiceControl table in MSI is not
directly connected to installing that service. 

Phil Wilson 


-----Original Message-----
From: Gremlin [mailto:postingpl...@gmail.com] 
Sent: Thursday, April 02, 2009 4:35 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to start an existing service


Hello,
I want to start the service NetTcpPortSharing which is installed (and
set to disabled) with the installation of the .Net 3.5 framework. How
can I start the service in my installation? Is it possible with the
ServiceInstall/ServiceControl - tags? I tried this, but I got an
error...

<Component Id="SERV_NetTcpPortSharingService"
Guid="{138CAB80-7529-45aa-9CA5-283397A3FCDF}">
    <ServiceInstall Id="ServInst_NetTcpPortSharingService"
Name="NetTcpPortSharing"  Start="auto" Type="ownProcess"
ErrorControl="normal"/>
    <ServiceControl Id="ServCont_NetTcpPortSharingService"
Name="NetTcpPortSharing" Start="both" Wait="yes" Stop="uninstall"/>
</Component>

Thank's,
Chris
-- 
View this message in context:
http://n2.nabble.com/How-to-start-an-existing-service-tp2574657p2574657.
html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to