Ticket #5280 (closed: fixed)
Check Windows Is Closed BEFORE Install
Reported by: | Owen Arnold | Owned by: | Owen Arnold |
---|---|---|---|
Priority: | minor | Milestone: | Release 2.2 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Martyn Gigg |
Description
Users can start the installer while Mantid is open and running.
We should try and prevent this.
Change History
comment:2 Changed 8 years ago by Owen Arnold
refs #5280. Checks tasklist for MantidPlot.
Unfortunately this is yet another modification to the NSIS template, but theres not other way to get this done with the current CMAKE version 2.8.1
Changeset: 108ee21208e0de65292a4e685c77d8bbd38dcd66
comment:3 Changed 8 years ago by Owen Arnold
refs #5280. Make the output message more explicit
Changeset: 4892fbd510a74c6a59b2b465cd47a94ad1a572c3
comment:5 Changed 8 years ago by Owen Arnold
- Status changed from accepted to verify
- Resolution set to fixed
Tester: Run mantid plot then try to run the new windows installer. Should detect that MantidPlot is running and abort the install.
Note: See
TracTickets for help on using
tickets.
This looks to have some useful options
http://nsis.sourceforge.net/Check_whether_your_application_is_running