2

I have a problem when i do upgrade for my service using wix (msi) installer the service created in services is removed then created from scratch which forgets about the credentials put in "log on" tab which is normal...

Is there any way to prevent removing/creating of the service during upgrade? just replace binaries and don't touch the service?

example code to create the service:

<ServiceInstall Id="TheID" Name="TheName"
    DisplayName="The Name" Type="ownProcess"
    Interactive="no" Start="auto" Vital="yes" ErrorControl="normal"
    Description="description">
    <util:ServiceConfig  FirstFailureActionType="restart" SecondFailureActionType="restart" ThirdFailureActionType="restart" />
</ServiceInstall>
Emrah Mehmedov
  • 1,492
  • 13
  • 28

0 Answers0