Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Making "rabbitmq-service.bat start" section optional (controlled by switch during silent install) #105

Open
@inikulshin

Description

@inikulshin

Firstly, choosing whether to run the just installed application or not is a very common and basic installer option. Almost every installer gives this choice to user.

Secondly, we have a real issue with it: we have custom exchanges plugins in plugins, so when we upgrade RabbitMQ, we loose them. So, after the installation we must only hope messages are not lost (because plugins are unavailable) until we stop RabbitMQ service (and stopping RabbitMQ service just after the start is not trivial at all - it may cause a corruption if RabbitMQ service is not completely started), copy our plugins to plugins and start RabbitMQ service again.

Can this code from windows-exe/rabbitmq_nsi.in be put in a separate command line controlled optional [sub]section?

  DetailPrint "Starting RabbitMQ service..."
  ExecDos::exec /DETAILED '"$INSTDIR\rabbitmq_server-%%VERSION%%\sbin\rabbitmq-service.bat" start' ""

[168224478]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions