Making "rabbitmq-service.bat start" section optional (controlled by switch during silent install) #105
Description
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]