osara
osara copied to clipboard
Can the OSARA installer detect whether Reaper is already running?
Over the past few months since I've been doing more observation during one-on-one tuition sessions, I've noticed that users often either forget or just don't know that Reaper has to be closed in order for OSARA to be installed. Is there a check that can be incorporated into the installer? My hope is that we can prompt users to close Reaper before proceeding.
Thanks in advance.
It's certainly possible. I detest working on NSIS installer stuff and it's tedious as hell, so I'm not likely to get to this myself any time soon. :) If there's anyone else who wants to work on this, please feel free.
For the SWS installer we detect reaper.exe using the nsProcessW plugin for NSIS.
https://github.com/reaper-oss/sws/blob/4ae1b75b6cf4dca0e6ebcce5675baee68f0ddfd3/setup/win32/NSIS.template.in#L113-L120
I know someone who's expressed interest in being helpful and he's familiar with NSIS. Not sure whether he does GitHub, but I'll check in and point him this way if it seems likely he can sew this up for us.
While this is certainly possible, I wonder whether it's desired that one can close Reaper using the installer. It is likely that, when REAPER is open, something might be open you really do not want to lose.