From a3d03ec6b1191c04fb4073e26069d3282c0b6e72 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Sat, 18 Jul 2015 09:27:52 -0700 Subject: Adds option to only install the launcher. --- Doc/using/windows.rst | 3 +++ Tools/msi/bundle/Default.thm | 2 +- Tools/msi/bundle/bundle.wxs | 2 ++ Tools/msi/bundle/packagegroups/core.wxs | 12 ++++++------ Tools/msi/bundle/packagegroups/crt.wxs | 4 ++-- Tools/msi/bundle/packagegroups/dev.wxs | 8 ++++---- Tools/msi/bundle/packagegroups/doc.wxs | 4 ++-- Tools/msi/bundle/packagegroups/exe.wxs | 12 ++++++------ Tools/msi/bundle/packagegroups/lib.wxs | 12 ++++++------ Tools/msi/bundle/packagegroups/postinstall.wxs | 12 ++++++------ Tools/msi/bundle/packagegroups/tcltk.wxs | 12 ++++++------ Tools/msi/bundle/packagegroups/test.wxs | 12 ++++++------ Tools/msi/bundle/packagegroups/tools.wxs | 4 ++-- 13 files changed, 52 insertions(+), 47 deletions(-) diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst index 213912f..53d5f3e 100644 --- a/Doc/using/windows.rst +++ b/Doc/using/windows.rst @@ -146,6 +146,9 @@ of available options is shown below. +---------------------------+--------------------------------------+--------------------------+ | Include_tools | Install utility scripts | 1 | +---------------------------+--------------------------------------+--------------------------+ +| LauncherOnly | Only installs the launcher. This | 0 | +| | will override most other options. | | ++---------------------------+--------------------------------------+--------------------------+ | SimpleInstall | Disable most install UI | 0 | +---------------------------+--------------------------------------+--------------------------+ | SimpleInstallDescription | A custom message to display when the | (empty) | diff --git a/Tools/msi/bundle/Default.thm b/Tools/msi/bundle/Default.thm index 4ba8176..d919bea 100644 --- a/Tools/msi/bundle/Default.thm +++ b/Tools/msi/bundle/Default.thm @@ -12,7 +12,7 @@ #(loc.HelpHeader) - #(loc.HelpText) + #(loc.HelpText) diff --git a/Tools/msi/bundle/bundle.wxs b/Tools/msi/bundle/bundle.wxs index 761384e..cc62c62 100644 --- a/Tools/msi/bundle/bundle.wxs +++ b/Tools/msi/bundle/bundle.wxs @@ -64,6 +64,8 @@ + + diff --git a/Tools/msi/bundle/packagegroups/core.wxs b/Tools/msi/bundle/packagegroups/core.wxs index a789585..eb3d0b7 100644 --- a/Tools/msi/bundle/packagegroups/core.wxs +++ b/Tools/msi/bundle/packagegroups/core.wxs @@ -7,7 +7,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" - InstallCondition="InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip)"> + InstallCondition="InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and not LauncherOnly"> @@ -16,7 +16,7 @@ Compressed="$(var.CompressPDB)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" - InstallCondition="InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_symbols"> + InstallCondition="InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly"> @@ -25,7 +25,7 @@ Compressed="$(var.CompressMSI_D)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" - InstallCondition="InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_debug"> + InstallCondition="InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly"> @@ -35,7 +35,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" - InstallCondition="not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip)"> + InstallCondition="not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and not LauncherOnly"> @@ -44,7 +44,7 @@ Compressed="$(var.CompressPDB)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" - InstallCondition="not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_symbols"> + InstallCondition="not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly"> @@ -53,7 +53,7 @@ Compressed="$(var.CompressMSI_D)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" - InstallCondition="not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_debug"> + InstallCondition="not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly"> diff --git a/Tools/msi/bundle/packagegroups/crt.wxs b/Tools/msi/bundle/packagegroups/crt.wxs index 32b063f..dc40475 100644 --- a/Tools/msi/bundle/packagegroups/crt.wxs +++ b/Tools/msi/bundle/packagegroups/crt.wxs @@ -31,7 +31,7 @@ Description="!(loc.CRTDescription)" Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" - InstallCondition="not CRTInstalled and VersionNT = $(var.ver) and not VersionNT64 and (Include_core or Include_exe or Include_launcher or Include_pip)" /> + InstallCondition="not CRTInstalled and VersionNT = $(var.ver) and not VersionNT64 and (Include_core or Include_exe or Include_launcher or Include_pip) and not LauncherOnly" /> + InstallCondition="not CRTInstalled and VersionNT64 = $(var.ver) and (Include_core or Include_exe or Include_launcher or Include_pip) and not LauncherOnly" /> diff --git a/Tools/msi/bundle/packagegroups/dev.wxs b/Tools/msi/bundle/packagegroups/dev.wxs index f7f5025..4284dba 100644 --- a/Tools/msi/bundle/packagegroups/dev.wxs +++ b/Tools/msi/bundle/packagegroups/dev.wxs @@ -7,7 +7,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" - InstallCondition="InstallAllUsers and Include_dev"> + InstallCondition="InstallAllUsers and Include_dev and not LauncherOnly"> @@ -16,7 +16,7 @@ Compressed="$(var.CompressMSI_D)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" - InstallCondition="InstallAllUsers and Include_dev and Include_debug"> + InstallCondition="InstallAllUsers and Include_dev and Include_debug and not LauncherOnly"> @@ -26,7 +26,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" - InstallCondition="not InstallAllUsers and Include_dev"> + InstallCondition="not InstallAllUsers and Include_dev and not LauncherOnly"> @@ -35,7 +35,7 @@ Compressed="$(var.CompressMSI_D)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" - InstallCondition="not InstallAllUsers and Include_dev and Include_debug"> + InstallCondition="not InstallAllUsers and Include_dev and Include_debug and not LauncherOnly"> diff --git a/Tools/msi/bundle/packagegroups/doc.wxs b/Tools/msi/bundle/packagegroups/doc.wxs index 2f11e27..6639ff5 100644 --- a/Tools/msi/bundle/packagegroups/doc.wxs +++ b/Tools/msi/bundle/packagegroups/doc.wxs @@ -8,7 +8,7 @@ DownloadUrl="$(var.DownloadUrl)" EnableFeatureSelection="yes" ForcePerMachine="yes" - InstallCondition="InstallAllUsers and Include_doc"> + InstallCondition="InstallAllUsers and Include_doc and not LauncherOnly"> @@ -19,7 +19,7 @@ DownloadUrl="$(var.DownloadUrl)" EnableFeatureSelection="yes" ForcePerMachine="no" - InstallCondition="not InstallAllUsers and Include_doc"> + InstallCondition="not InstallAllUsers and Include_doc and not LauncherOnly"> diff --git a/Tools/msi/bundle/packagegroups/exe.wxs b/Tools/msi/bundle/packagegroups/exe.wxs index 03d6f62..79464c4 100644 --- a/Tools/msi/bundle/packagegroups/exe.wxs +++ b/Tools/msi/bundle/packagegroups/exe.wxs @@ -8,7 +8,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" EnableFeatureSelection="yes" - InstallCondition="InstallAllUsers and (Include_exe or Include_launcher or Include_pip)"> + InstallCondition="InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and not LauncherOnly"> @@ -17,7 +17,7 @@ ForcePerMachine="yes" Compressed="$(var.CompressPDB)" DownloadUrl="$(var.DownloadUrl)" - InstallCondition="InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols"> + InstallCondition="InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly"> @@ -26,7 +26,7 @@ ForcePerMachine="yes" Compressed="$(var.CompressMSI_D)" DownloadUrl="$(var.DownloadUrl)" - InstallCondition="InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug"> + InstallCondition="InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly"> @@ -37,7 +37,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" EnableFeatureSelection="yes" - InstallCondition="not InstallAllUsers and (Include_exe or Include_launcher or Include_pip)"> + InstallCondition="not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and not LauncherOnly"> @@ -46,7 +46,7 @@ ForcePerMachine="no" Compressed="$(var.CompressPDB)" DownloadUrl="$(var.DownloadUrl)" - InstallCondition="not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols"> + InstallCondition="not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly"> @@ -55,7 +55,7 @@ ForcePerMachine="no" Compressed="$(var.CompressMSI_D)" DownloadUrl="$(var.DownloadUrl)" - InstallCondition="not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug"> + InstallCondition="not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly"> diff --git a/Tools/msi/bundle/packagegroups/lib.wxs b/Tools/msi/bundle/packagegroups/lib.wxs index f7c57c8..0b3fbc0 100644 --- a/Tools/msi/bundle/packagegroups/lib.wxs +++ b/Tools/msi/bundle/packagegroups/lib.wxs @@ -7,7 +7,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" - InstallCondition="InstallAllUsers and Include_lib"> + InstallCondition="InstallAllUsers and Include_lib and not LauncherOnly"> @@ -16,7 +16,7 @@ Compressed="$(var.CompressPDB)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" - InstallCondition="InstallAllUsers and Include_lib and Include_symbols"> + InstallCondition="InstallAllUsers and Include_lib and Include_symbols and not LauncherOnly"> @@ -25,7 +25,7 @@ Compressed="$(var.CompressMSI_D)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" - InstallCondition="InstallAllUsers and Include_lib and Include_debug"> + InstallCondition="InstallAllUsers and Include_lib and Include_debug and not LauncherOnly"> @@ -35,7 +35,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" - InstallCondition="not InstallAllUsers and Include_lib"> + InstallCondition="not InstallAllUsers and Include_lib and not LauncherOnly"> @@ -44,7 +44,7 @@ Compressed="$(var.CompressPDB)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" - InstallCondition="not InstallAllUsers and Include_lib and Include_symbols"> + InstallCondition="not InstallAllUsers and Include_lib and Include_symbols and not LauncherOnly"> @@ -53,7 +53,7 @@ Compressed="$(var.CompressMSI_D)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" - InstallCondition="not InstallAllUsers and Include_lib and Include_debug"> + InstallCondition="not InstallAllUsers and Include_lib and Include_debug and not LauncherOnly"> diff --git a/Tools/msi/bundle/packagegroups/postinstall.wxs b/Tools/msi/bundle/packagegroups/postinstall.wxs index 4c50001..7b0f3fc 100644 --- a/Tools/msi/bundle/packagegroups/postinstall.wxs +++ b/Tools/msi/bundle/packagegroups/postinstall.wxs @@ -7,7 +7,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" - InstallCondition="InstallAllUsers and Include_pip"> + InstallCondition="InstallAllUsers and Include_pip and not LauncherOnly"> @@ -16,7 +16,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" - InstallCondition="not InstallAllUsers and Include_pip"> + InstallCondition="not InstallAllUsers and Include_pip and not LauncherOnly"> @@ -26,7 +26,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" - InstallCondition="InstallAllUsers and PrependPath"> + InstallCondition="InstallAllUsers and PrependPath and not LauncherOnly"> @@ -35,7 +35,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" - InstallCondition="not InstallAllUsers and PrependPath"> + InstallCondition="not InstallAllUsers and PrependPath and not LauncherOnly"> @@ -50,7 +50,7 @@ Permanent="yes" PerMachine="yes" Vital="no" - InstallCondition="InstallAllUsers and CompileAll" /> + InstallCondition="InstallAllUsers and CompileAll and not LauncherOnly" /> + InstallCondition="not InstallAllUsers and CompileAll and not LauncherOnly" /> \ No newline at end of file diff --git a/Tools/msi/bundle/packagegroups/tcltk.wxs b/Tools/msi/bundle/packagegroups/tcltk.wxs index 92f41cb..0d029a9 100644 --- a/Tools/msi/bundle/packagegroups/tcltk.wxs +++ b/Tools/msi/bundle/packagegroups/tcltk.wxs @@ -8,7 +8,7 @@ DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" EnableFeatureSelection="yes" - InstallCondition="InstallAllUsers and Include_tcltk"> + InstallCondition="InstallAllUsers and Include_tcltk and not LauncherOnly"> @@ -18,7 +18,7 @@ DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" EnableFeatureSelection="yes" - InstallCondition="InstallAllUsers and Include_tcltk and Include_symbols"> + InstallCondition="InstallAllUsers and Include_tcltk and Include_symbols and not LauncherOnly"> @@ -28,7 +28,7 @@ DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" EnableFeatureSelection="yes" - InstallCondition="InstallAllUsers and Include_tcltk and Include_debug"> + InstallCondition="InstallAllUsers and Include_tcltk and Include_debug and not LauncherOnly"> @@ -39,7 +39,7 @@ DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" EnableFeatureSelection="yes" - InstallCondition="not InstallAllUsers and Include_tcltk"> + InstallCondition="not InstallAllUsers and Include_tcltk and not LauncherOnly"> @@ -49,7 +49,7 @@ DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" EnableFeatureSelection="yes" - InstallCondition="not InstallAllUsers and Include_tcltk and Include_symbols"> + InstallCondition="not InstallAllUsers and Include_tcltk and Include_symbols and not LauncherOnly"> @@ -59,7 +59,7 @@ DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" EnableFeatureSelection="yes" - InstallCondition="not InstallAllUsers and Include_tcltk and Include_debug"> + InstallCondition="not InstallAllUsers and Include_tcltk and Include_debug and not LauncherOnly"> diff --git a/Tools/msi/bundle/packagegroups/test.wxs b/Tools/msi/bundle/packagegroups/test.wxs index b3e0f3e..32acaef 100644 --- a/Tools/msi/bundle/packagegroups/test.wxs +++ b/Tools/msi/bundle/packagegroups/test.wxs @@ -7,7 +7,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" - InstallCondition="InstallAllUsers and Include_test"> + InstallCondition="InstallAllUsers and Include_test and not LauncherOnly"> @@ -16,7 +16,7 @@ Compressed="$(var.CompressPDB)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" - InstallCondition="InstallAllUsers and Include_test and Include_symbols"> + InstallCondition="InstallAllUsers and Include_test and Include_symbols and not LauncherOnly"> @@ -25,7 +25,7 @@ Compressed="$(var.CompressMSI_D)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" - InstallCondition="InstallAllUsers and Include_test and Include_debug"> + InstallCondition="InstallAllUsers and Include_test and Include_debug and not LauncherOnly"> @@ -35,7 +35,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" - InstallCondition="not InstallAllUsers and Include_test"> + InstallCondition="not InstallAllUsers and Include_test and not LauncherOnly"> @@ -44,7 +44,7 @@ Compressed="$(var.CompressPDB)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" - InstallCondition="not InstallAllUsers and Include_test and Include_symbols"> + InstallCondition="not InstallAllUsers and Include_test and Include_symbols and not LauncherOnly"> @@ -53,7 +53,7 @@ Compressed="$(var.CompressMSI_D)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" - InstallCondition="not InstallAllUsers and Include_test and Include_debug"> + InstallCondition="not InstallAllUsers and Include_test and Include_debug and not LauncherOnly"> diff --git a/Tools/msi/bundle/packagegroups/tools.wxs b/Tools/msi/bundle/packagegroups/tools.wxs index c92f27b..1d9ab19 100644 --- a/Tools/msi/bundle/packagegroups/tools.wxs +++ b/Tools/msi/bundle/packagegroups/tools.wxs @@ -7,7 +7,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="yes" - InstallCondition="InstallAllUsers and Include_tools"> + InstallCondition="InstallAllUsers and Include_tools and not LauncherOnly"> @@ -17,7 +17,7 @@ Compressed="$(var.CompressMSI)" DownloadUrl="$(var.DownloadUrl)" ForcePerMachine="no" - InstallCondition="not InstallAllUsers and Include_tools"> + InstallCondition="not InstallAllUsers and Include_tools and not LauncherOnly"> -- cgit v0.12