Ticket #5103 (closed: fixed)
CPACK single installer
Reported by: | Owen Arnold | Owned by: | Owen Arnold |
---|---|---|---|
Priority: | critical | Milestone: | Release 2.1 |
Component: | VATES | Keywords: | |
Cc: | nick.draper@… | Blocked By: | #5088 |
Blocking: | #5173 | Tester: | Peter Peterson |
Description (last modified by Owen Arnold) (diff)
Create a single installer for CPack such that MAKE_VATES can be set to ON and a single installer will be created.
I recommend keeping the ability to have separate configurations.
- MantidPlot only (by setting MAKE_VATES to OFF)
- MantidVates separate (by setting MAKE_VATES to ON and using the secondary configuration)
- But if MAKE_VATES is set to ON the CPackeConfig.cmake should install all components.
- Only if ParaView is detected should the $PVPLUGIN_DIR components be loaded
Testing will need to be thorough as this MUST work on all Platforms!
Change History
comment:5 Changed 8 years ago by Owen Arnold
refs #5103. Required NSIS Scripts for PV plugin path
Changeset: 76b5e803d5461180b9b5899800971d392565bf7f
comment:6 Changed 8 years ago by Owen Arnold
refs #5103. Env steps towards single installer.
Cleaned out a load of older checking code. Separately load up pv_plugins from normal plugins if paraview is present.
Changeset: a223694fba21c3fffecf7d4fae232cfb13da98c5
comment:7 Changed 8 years ago by Owen Arnold
refs #5103. Now works on Ubuntu 10.04
Changeset: 68b62cf78001c026a1e92e3994f7403ca3232331
comment:8 Changed 8 years ago by Owen Arnold
refs #5103. Keep VSI components out of plugins.
Put into pv_plugins instead. This small change should mean that users do not get bothered by library loading failure when paraview cannot be found .
Changeset: ff3ca58492047b679c41ec303f500428b7e8eb21
comment:9 Changed 8 years ago by Owen Arnold
refs #5103. New ignore pv property.
Make it possible to ignore Paraview dependent components completely ad continously if required.
Changeset: 48464bcf4f4f6880983ecb2e6ecdabc52d529174
comment:10 Changed 8 years ago by Owen Arnold
refs #5103. Fix paths issue.
Changeset: 8afa6cb332465f3eb802b98fcd4be4d95398d82d
comment:11 Changed 8 years ago by Owen Arnold
refs #5103. Clean library loading with/without PV on linux
Changeset: f3e19fda5455669c92e5923b41db628b9ad3c75e
comment:12 Changed 8 years ago by Owen Arnold
refs #5103. GUI preference options for ignore PV.
Changeset: 1a45988d668138f59d8702a5bab5786f496f0f3f
comment:13 Changed 8 years ago by Owen Arnold
refs #5103. Set env paths for the VSI.
This is a windows only thing. The VSI stand-alone must be able to locate libraries in plugins and pvplugins. Unfortunately on Windows the user must separtely provide the PV path, but this only affects the VSI in standalone mode
Changeset: 4147d403d3a961a9688f24fc12ca2b1b4dfb7ae2
comment:14 Changed 8 years ago by Owen Arnold
refs #5103. Add RPATH to fix standalone VSI issue
Changeset: 0722b7ecb1938d6626cd1016919867cd4301e17f
comment:15 Changed 8 years ago by Owen Arnold
Useful NSIS Admin command for Windows Installers
start "Installer" /wait Mantid-Version-win64.exe /S
Performs a Silent install and waits for the process to complete. Uninstall.exe can be operated in the same fashion.
comment:16 Changed 8 years ago by Owen Arnold
refs #5103. Uniform install locations for Windows.
Two changes here. Firstly Mantid will go directly into MantidInstall, so installation on windows via cpack will look very similar to that on windows via Wxs. Secondly the non-release distributions i.e (nightly, unstable) will go into completely different top level directories under c:/ by default
Changeset: 381e092d3458b084f44e948ac5ee8afdabe36770
comment:17 Changed 8 years ago by Owen Arnold
refs #5103. Force Uninstall added to NSIS script.
Changeset: d49b4a37cf1b54c52798f79419a6ea7e73c634ec
comment:18 Changed 8 years ago by Owen Arnold
refs #5103. Auto NSIS unistall.
Quite a pain to get this right. Performs an automatic unistall as part of the setup. Will also now chain through slient mode options through to the internal uninstall command. Also uses wait version of exec to ensure sequential uninstall/install. Works in admin (command line mode) and via the GUI now.
Changeset: 529df13203ca40d8fa73a54e3879a1982627fdf7
comment:19 Changed 8 years ago by Owen Arnold
refs #5103 Support both MSI and NSIS system tests.
Changeset: fb2db307184c0241e89702e0c6a29a8a5616cbab
comment:20 Changed 8 years ago by Owen Arnold
refs #5103 correction to installer tester.
Changeset: 76334c6c5a398f4d2c9409ea586f8119764ceea7
comment:21 Changed 8 years ago by Owen Arnold
refs #5103 enable new option.
Changeset: 38c433d8021cec92af6b5be57e81322fda92003d
comment:22 Changed 8 years ago by Owen Arnold
refs #5103. For windows DataHandling goes to plugins
Changeset: 78e33579567ae40e31a33d2237302b9f9be1f99c
comment:23 Changed 8 years ago by Martyn Gigg
Fix the install command for the NSIS installers . Refs #5103
Changeset: 2689f7696070518e1a01fb053fa027ce90b0fa45
comment:24 Changed 8 years ago by Owen Arnold
refs #5103. extra command causes failure for windows system tests
Changeset: 95fef8d97fab911bbd1ca98db50c845161d4f3db
comment:25 Changed 8 years ago by Owen Arnold
refs #5103. Fix mac build
Changeset: 113d829174d60321d7fabe3f611ceafb635d0e00
comment:26 Changed 8 years ago by Owen Arnold
refs #5103. Output version info.
Changeset: 53ad4aa944e500d9420379c18abb87d21d8cfc38
comment:27 Changed 8 years ago by Owen Arnold
refs #5103. Output version number.
Changeset: 6a06e92b937b0c1a9ccb70ce25ba7f6844af97e1
comment:28 Changed 8 years ago by owen
refs #5103. Fix Mac build.
Changeset: ee094ecbb73f7d1812e99eeeeedb371895bff17a
comment:29 Changed 8 years ago by Owen Arnold
refs #5103. Required NSIS Scripts for PV plugin path
Changeset: 76b5e803d5461180b9b5899800971d392565bf7f
comment:30 Changed 8 years ago by Owen Arnold
refs #5103. Env steps towards single installer.
Cleaned out a load of older checking code. Separately load up pv_plugins from normal plugins if paraview is present.
Changeset: a223694fba21c3fffecf7d4fae232cfb13da98c5
comment:31 Changed 8 years ago by Owen Arnold
refs #5103. Keep VSI components out of plugins.
Put into pv_plugins instead. This small change should mean that users do not get bothered by library loading failure when paraview cannot be found .
Changeset: ff3ca58492047b679c41ec303f500428b7e8eb21
comment:32 Changed 8 years ago by Owen Arnold
refs #5103. Now works on Ubuntu 10.04
Changeset: 68b62cf78001c026a1e92e3994f7403ca3232331
comment:33 Changed 8 years ago by Owen Arnold
refs #5103. New ignore pv property.
Make it possible to ignore Paraview dependent components completely ad continously if required.
Changeset: 48464bcf4f4f6880983ecb2e6ecdabc52d529174
comment:34 Changed 8 years ago by Owen Arnold
refs #5103. Fix paths issue.
Changeset: 8afa6cb332465f3eb802b98fcd4be4d95398d82d
comment:35 Changed 8 years ago by Owen Arnold
refs #5103. Clean library loading with/without PV on linux
Changeset: f3e19fda5455669c92e5923b41db628b9ad3c75e
comment:36 Changed 8 years ago by Owen Arnold
refs #5103. Add RPATH to fix standalone VSI issue
Changeset: 0722b7ecb1938d6626cd1016919867cd4301e17f
comment:37 Changed 8 years ago by Owen Arnold
refs #5103. GUI preference options for ignore PV.
Changeset: 1a45988d668138f59d8702a5bab5786f496f0f3f
comment:38 Changed 8 years ago by Owen Arnold
refs #5103. Set env paths for the VSI.
This is a windows only thing. The VSI stand-alone must be able to locate libraries in plugins and pvplugins. Unfortunately on Windows the user must separtely provide the PV path, but this only affects the VSI in standalone mode
Changeset: 4147d403d3a961a9688f24fc12ca2b1b4dfb7ae2
comment:39 Changed 8 years ago by Owen Arnold
refs #5103. Uniform install locations for Windows.
Two changes here. Firstly Mantid will go directly into MantidInstall, so installation on windows via cpack will look very similar to that on windows via Wxs. Secondly the non-release distributions i.e (nightly, unstable) will go into completely different top level directories under c:/ by default
Changeset: 381e092d3458b084f44e948ac5ee8afdabe36770
comment:40 Changed 8 years ago by Owen Arnold
refs #5103. Force Uninstall added to NSIS script.
Changeset: d49b4a37cf1b54c52798f79419a6ea7e73c634ec
comment:41 Changed 8 years ago by Owen Arnold
refs #5103. Auto NSIS unistall.
Quite a pain to get this right. Performs an automatic unistall as part of the setup. Will also now chain through slient mode options through to the internal uninstall command. Also uses wait version of exec to ensure sequential uninstall/install. Works in admin (command line mode) and via the GUI now.
Changeset: 529df13203ca40d8fa73a54e3879a1982627fdf7
comment:42 Changed 8 years ago by Owen Arnold
refs #5103. For windows DataHandling goes to plugins
Changeset: 78e33579567ae40e31a33d2237302b9f9be1f99c
comment:43 Changed 8 years ago by Owen Arnold
refs #5103. Fix mac build
Changeset: 113d829174d60321d7fabe3f611ceafb635d0e00
comment:44 Changed 8 years ago by Owen Arnold
refs #5103. Output version info.
Changeset: 53ad4aa944e500d9420379c18abb87d21d8cfc38
comment:45 Changed 8 years ago by Owen Arnold
refs #5103. Output version number.
Changeset: 6a06e92b937b0c1a9ccb70ce25ba7f6844af97e1
comment:46 Changed 8 years ago by owen
refs #5103. Fix Mac build.
Changeset: ee094ecbb73f7d1812e99eeeeedb371895bff17a
comment:48 Changed 8 years ago by Owen Arnold
refs #5103. Should match win32 now too.
Changeset: 802ad1578117f39121102627568c9ca9581cddd4
comment:49 Changed 8 years ago by Owen Arnold
refs #5103. Should put VC runtime libs in right place.
Should also remove some of the directories not required upon the thrid party dll directory copy.
Changeset: 9d2659df97a72b67f84802fca33b22ad45cfb548
comment:50 Changed 8 years ago by Owen Arnold
refs #5103. Fix error in MantidPlot executeandquit
Changeset: 6456f978748da1dff7709ef140201fd3ab15d906
comment:51 Changed 8 years ago by Owen Arnold
- Priority changed from major to critical
Critical that this works now.
comment:52 Changed 8 years ago by Owen Arnold
- Status changed from accepted to verify
- Resolution set to fixed
There are a couple of non-critical improvements that could be made to this ticket. These can wait till next release.
comment:53 Changed 8 years ago by Peter Peterson
- Status changed from verify to verifying
- Tester set to Peter Peterson
comment:54 Changed 8 years ago by Peter Peterson
Works on windoze 7.
comment:55 Changed 8 years ago by Peter Peterson
Works on lion.
comment:56 Changed 8 years ago by Peter Peterson
The osx version should be an app bundle. #5184
comment:57 Changed 8 years ago by Peter Peterson
Stuart tried this on bac2 (RHEL6).
comment:58 Changed 8 years ago by Peter Peterson
- Status changed from verifying to closed
This works, but care must be taken for #4742.
comment:59 Changed 8 years ago by Owen Arnold
refs #5103. Should put VC runtime libs in right place.
Should also remove some of the directories not required upon the thrid party dll directory copy.
Changeset: 9d2659df97a72b67f84802fca33b22ad45cfb548
comment:60 Changed 8 years ago by Owen Arnold
refs #5103. Fix error in MantidPlot executeandquit
Changeset: 6456f978748da1dff7709ef140201fd3ab15d906
comment:61 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 5949