[wix-users] Windows service main executable repair
phil.wilson at mvps.org
Wed Aug 24 14:10:05 PDT 2016
The default behavior wouldn't do this as far as I can determine. The normal
sequence is the execute sequence, and that has an action order where
StopServices is before DeleteServices (which you won't have) followed by
InstallFiles, InstallServices, StartServices.
Is the service running when you remove the executable? Was the service
configured with an account post-installation?
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of
Sent: Tuesday, August 23, 2016 3:06 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Windows service main executable repair
I've been testing the repair functionality within my installer and have came
across an issue.
Given the following code:
<File Id="MainExe" Name="MyExe.exe"
<ServiceDependency Id="A depdendency" />
Deleting MyExe.exe from disk and then performing a repair fails because the
installer engine is trying to start the service before copying the exe back.
Surely this is not expected behavior? Is this a "one resource per component"
issue? I was under the impression that services required the install &
config sections to be in the same component as the service exe.
WiX Toolset Users Mailing List provided by FireGiant
More information about the wix-users