osara icon indicating copy to clipboard operation
osara copied to clipboard

Can the OSARA installer detect whether Reaper is already running?

Open ScottChesworth opened this issue 3 years ago • 4 comments

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.

ScottChesworth avatar Nov 16 '20 12:11 ScottChesworth

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.

jcsteh avatar Nov 17 '20 01:11 jcsteh

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

cfillion avatar Nov 17 '20 04:11 cfillion

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.

ScottChesworth avatar Nov 21 '20 13:11 ScottChesworth

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.

LeonarddeR avatar Dec 09 '20 18:12 LeonarddeR