[wix-users] Stop Uninstalling of Services during Major Upgrade

Ven H venh.123 at gmail.com
Thu Nov 16 08:14:53 PST 2017


I have a 1.0.0 version in which I am installing and starting services. But
while upgrading, I am only adding a new file and updating an existing file
and not doing any changes in the service. But still the service is getting
uninstalled and reinstalled.
I have added the following 2 elements in the Products.wxs file for version
2.0.0

<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is
already installed." />

<InstallExecuteSequence>
      <DeleteServices>NOT UPGRADINGPRODUCTCODE</DeleteServices>
  </InstallExecuteSequence>

Can anyone please help? What am I missing here?

Regards,
Venkatesh


More information about the wix-users mailing list