1

I have an installer which creates MSMQ message queues. During a major upgrade I am noticing that the queues are getting removed and reinstalled. Any suggestions to avoid this from happening?

I am currently scheduling remove existing products after InstallInitialize

<RemoveExistingProducts After="InstallInitialize"/>
KevM
  • 2,496
  • 1
  • 22
  • 25
  • I am now thinking (years later) that it is not appropriate to have message queues get removed on uninstall if you are interested in message durability. – KevM Jan 27 '12 at 15:12
  • Major upgrades removing and reinstalling components in an undesirable fashion is a classic MSI problem. Though not entirely the same as your problem, [**this issue is similar, and there are a number of potential workarounds to deal with it**](https://stackoverflow.com/a/50375540/129130). Perhaps also [**see section 5 here**](https://stackoverflow.com/a/45840087/129130) (list of common real-world MSI problems). – Stein Åsmul Jun 20 '18 at 10:53

1 Answers1

0

Look at the Component that contains the Message Queue. It is probably getting upgraded which causes the queue to get upgraded.

Rob Mensching
  • 33,834
  • 5
  • 90
  • 130