Any ideas on how to install a service in a stopped state?
-----Original Message-----
From: Navid Azimi-Garakani [mailto:[email protected]]
Sent: Thursday, April 29, 2010 5:56 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] ServiceInstall does nothing in WiX 3.5?
Okay, this has been driving me crazy.
It looks like I cannot install a service unless I have a ServiceControl element
with Start="install" associated. In other words, it seems impossible to install
a service in a stopped state. Is this not a supported scenario? On WiX
3.5.1623.0, the following snippet does not work because it is missing a
Start="install" attribute.
<Component Id="$(var.ProjectName)ServiceInstaller"
Guid="C5A1BE3B-C831-4220-A184-81797B2C9F48">
<CreateFolder />
<ServiceInstall Id="$(var.ProjectName)ServiceInstall"
Name="$(var.ProjectName) " DisplayName="$(var.ProjectName)" Type="ownProcess"
Start="auto" ErrorControl="normal" Description="..." Account="NT
AUTHORITY\NETWORK SERVICE" Vital="yes" />
<ServiceControl Id="$(var.ProjectName)ServiceControl"
Name="$(var.ProjectName) " Stop="both" Wait="yes" Remove="uninstall" />
</Component>
Is there a recommend way to install a service in a stopped state? Should I open
a bug?
Thanks,
Navid
-----Original Message-----
From: Bob Arnson [mailto:[email protected]]
Sent: Thursday, April 29, 2010 5:58 AM
To: [email protected]
Subject: Re: [WiX-users] ServiceInstall does nothing in WiX 3.5?
On 4/28/2010 1:35 AM, Navid Azimi-Garakani wrote:
> MSI (s) (24:DC) [22:30:46:016]: Doing action: InstallServices MSI (s)
> (24:DC) [22:30:46:016]: Note: 1: 2205 2: 3: ActionText Action start
> 22:30:46: InstallServices.
> Action ended 22:30:46: InstallServices. Return value 1.
>
That's the log from the script generation phase; check later in the log for the
execution phase.
> The sequence conditions were updated as such:
>
Not necessary.
--
sig://boB
http://joyofsetup.com/
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users