diff options
Diffstat (limited to 'Tools/msi/bundle/packagegroups')
-rw-r--r-- | Tools/msi/bundle/packagegroups/core.wxs | 62 | ||||
-rw-r--r-- | Tools/msi/bundle/packagegroups/crt.wxs | 49 | ||||
-rw-r--r-- | Tools/msi/bundle/packagegroups/dev.wxs | 44 | ||||
-rw-r--r-- | Tools/msi/bundle/packagegroups/doc.wxs | 28 | ||||
-rw-r--r-- | Tools/msi/bundle/packagegroups/exe.wxs | 64 | ||||
-rw-r--r-- | Tools/msi/bundle/packagegroups/launcher.wxs | 23 | ||||
-rw-r--r-- | Tools/msi/bundle/packagegroups/lib.wxs | 62 | ||||
-rw-r--r-- | Tools/msi/bundle/packagegroups/postinstall.wxs | 66 | ||||
-rw-r--r-- | Tools/msi/bundle/packagegroups/tcltk.wxs | 68 | ||||
-rw-r--r-- | Tools/msi/bundle/packagegroups/test.wxs | 62 | ||||
-rw-r--r-- | Tools/msi/bundle/packagegroups/tools.wxs | 26 |
11 files changed, 554 insertions, 0 deletions
diff --git a/Tools/msi/bundle/packagegroups/core.wxs b/Tools/msi/bundle/packagegroups/core.wxs new file mode 100644 index 0000000..eb3d0b7 --- /dev/null +++ b/Tools/msi/bundle/packagegroups/core.wxs @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + <Fragment> + <PackageGroup Id="core"> + <MsiPackage Id="core_AllUsers" + SourceFile="core.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + InstallCondition="InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="core_AllUsers_pdb" + SourceFile="core_pdb.msi" + 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 and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="core_AllUsers_d" + SourceFile="core_d.msi" + 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 and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + + <MsiPackage Id="core_JustForMe" + SourceFile="core.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + InstallCondition="not InstallAllUsers and (Include_core or Include_exe or Include_launcher or Include_pip) and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="core_JustForMe_pdb" + SourceFile="core_pdb.msi" + 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 and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="core_JustForMe_d" + SourceFile="core_d.msi" + 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 and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + </PackageGroup> + </Fragment> +</Wix>
\ No newline at end of file diff --git a/Tools/msi/bundle/packagegroups/crt.wxs b/Tools/msi/bundle/packagegroups/crt.wxs new file mode 100644 index 0000000..dc40475 --- /dev/null +++ b/Tools/msi/bundle/packagegroups/crt.wxs @@ -0,0 +1,49 @@ +<?xml version="1.0"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + <Fragment> + <PackageGroup Id="crt"> + <PackageGroupRef Id="crt_14.0_v6.0" /> + <PackageGroupRef Id="crt_14.0_v6.1" /> + <PackageGroupRef Id="crt_14.0_v6.2" /> + <PackageGroupRef Id="crt_14.0_v6.3" /> + </PackageGroup> + </Fragment> + + <?foreach ver in v6.0;v6.1;v6.2;v6.3 ?> + <?if "$(var.ver)" = "v6.0" ?> + <?define msuver=6.0 ?> + <?elseif "$(var.ver)" = "v6.1" ?> + <?define msuver=6.1 ?> + <?elseif "$(var.ver)" = "v6.2" ?> + <?define msuver=8-RT ?> + <?elseif "$(var.ver)" = "v6.3" ?> + <?define msuver=8.1 ?> + <?else ?> + <?error unknown version $(var.ver) ?> + <?endif ?> + + <Fragment> + <PackageGroup Id="crt_14.0_$(var.ver)"> + <MsuPackage Id="crt_14.0_$(var.ver)_x86" + KB="2999226" + SourceFile="!(bindpath.redist)\Windows$(var.msuver)-KB2999226-x86.msu" + DisplayName="!(loc.CRTDescription)" + 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) and not LauncherOnly" /> + + <MsuPackage Id="crt_14.0_$(var.ver)_x64" + KB="2999226" + SourceFile="!(bindpath.redist)\Windows$(var.msuver)-KB2999226-x64.msu" + DisplayName="!(loc.CRTDescription)" + Description="!(loc.CRTDescription)" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + InstallCondition="not CRTInstalled and VersionNT64 = $(var.ver) and (Include_core or Include_exe or Include_launcher or Include_pip) and not LauncherOnly" /> + </PackageGroup> + </Fragment> + + <?undef msuver ?> + <?endforeach ?> +</Wix>
\ No newline at end of file diff --git a/Tools/msi/bundle/packagegroups/dev.wxs b/Tools/msi/bundle/packagegroups/dev.wxs new file mode 100644 index 0000000..4284dba --- /dev/null +++ b/Tools/msi/bundle/packagegroups/dev.wxs @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + <Fragment> + <PackageGroup Id="dev"> + <MsiPackage Id="dev_AllUsers" + SourceFile="dev.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + InstallCondition="InstallAllUsers and Include_dev and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="dev_AllUsers_d" + SourceFile="dev_d.msi" + Compressed="$(var.CompressMSI_D)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + InstallCondition="InstallAllUsers and Include_dev and Include_debug and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + + <MsiPackage Id="dev_JustForMe" + SourceFile="dev.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + InstallCondition="not InstallAllUsers and Include_dev and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="dev_JustForMe_d" + SourceFile="dev_d.msi" + Compressed="$(var.CompressMSI_D)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + InstallCondition="not InstallAllUsers and Include_dev and Include_debug and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + </PackageGroup> + </Fragment> +</Wix>
\ No newline at end of file diff --git a/Tools/msi/bundle/packagegroups/doc.wxs b/Tools/msi/bundle/packagegroups/doc.wxs new file mode 100644 index 0000000..6639ff5 --- /dev/null +++ b/Tools/msi/bundle/packagegroups/doc.wxs @@ -0,0 +1,28 @@ +<?xml version="1.0"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + <Fragment> + <PackageGroup Id="doc"> + <MsiPackage Id="doc_AllUsers" + SourceFile="doc.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + EnableFeatureSelection="yes" + ForcePerMachine="yes" + InstallCondition="InstallAllUsers and Include_doc and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + + <MsiPackage Id="doc_JustForMe" + SourceFile="doc.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + EnableFeatureSelection="yes" + ForcePerMachine="no" + InstallCondition="not InstallAllUsers and Include_doc and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + </PackageGroup> + </Fragment> +</Wix>
\ No newline at end of file diff --git a/Tools/msi/bundle/packagegroups/exe.wxs b/Tools/msi/bundle/packagegroups/exe.wxs new file mode 100644 index 0000000..79464c4 --- /dev/null +++ b/Tools/msi/bundle/packagegroups/exe.wxs @@ -0,0 +1,64 @@ +<?xml version="1.0"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + <Fragment> + <PackageGroup Id="exe"> + <MsiPackage Id="exe_AllUsers" + SourceFile="exe.msi" + ForcePerMachine="yes" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + EnableFeatureSelection="yes" + InstallCondition="InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="exe_AllUsers_pdb" + SourceFile="exe_pdb.msi" + ForcePerMachine="yes" + Compressed="$(var.CompressPDB)" + DownloadUrl="$(var.DownloadUrl)" + InstallCondition="InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="exe_AllUsers_d" + SourceFile="exe_d.msi" + ForcePerMachine="yes" + Compressed="$(var.CompressMSI_D)" + DownloadUrl="$(var.DownloadUrl)" + InstallCondition="InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + + <MsiPackage Id="exe_JustForMe" + SourceFile="exe.msi" + ForcePerMachine="no" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + EnableFeatureSelection="yes" + InstallCondition="not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="exe_JustForMe_pdb" + SourceFile="exe_pdb.msi" + ForcePerMachine="no" + Compressed="$(var.CompressPDB)" + DownloadUrl="$(var.DownloadUrl)" + InstallCondition="not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="exe_JustForMe_d" + SourceFile="exe_d.msi" + ForcePerMachine="no" + Compressed="$(var.CompressMSI_D)" + DownloadUrl="$(var.DownloadUrl)" + InstallCondition="not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + </PackageGroup> + </Fragment> +</Wix>
\ No newline at end of file diff --git a/Tools/msi/bundle/packagegroups/launcher.wxs b/Tools/msi/bundle/packagegroups/launcher.wxs new file mode 100644 index 0000000..77c6ac5 --- /dev/null +++ b/Tools/msi/bundle/packagegroups/launcher.wxs @@ -0,0 +1,23 @@ +<?xml version="1.0"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + <Fragment> + <PackageGroup Id="launcher"> + <!-- The All Users launcher is always the 32-bit version --> + <MsiPackage Id="launcher_AllUsers" + SourceFile="launcher.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + EnableFeatureSelection="yes" + InstallCondition="(InstallAllUsers or InstallLauncherAllUsers) and Include_launcher" /> + + <MsiPackage Id="launcher_JustForMe" + SourceFile="launcher.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + EnableFeatureSelection="yes" + InstallCondition="not (InstallAllUsers or InstallLauncherAllUsers) and Include_launcher" /> + </PackageGroup> + </Fragment> +</Wix>
\ No newline at end of file diff --git a/Tools/msi/bundle/packagegroups/lib.wxs b/Tools/msi/bundle/packagegroups/lib.wxs new file mode 100644 index 0000000..0b3fbc0 --- /dev/null +++ b/Tools/msi/bundle/packagegroups/lib.wxs @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + <Fragment> + <PackageGroup Id="lib"> + <MsiPackage Id="lib_AllUsers" + SourceFile="lib.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + InstallCondition="InstallAllUsers and Include_lib and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="lib_AllUsers_pdb" + SourceFile="lib_pdb.msi" + Compressed="$(var.CompressPDB)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + InstallCondition="InstallAllUsers and Include_lib and Include_symbols and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="lib_AllUsers_d" + SourceFile="lib_d.msi" + Compressed="$(var.CompressMSI_D)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + InstallCondition="InstallAllUsers and Include_lib and Include_debug and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + + <MsiPackage Id="lib_JustForMe" + SourceFile="lib.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + InstallCondition="not InstallAllUsers and Include_lib and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="lib_JustForMe_pdb" + SourceFile="lib_pdb.msi" + Compressed="$(var.CompressPDB)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + InstallCondition="not InstallAllUsers and Include_lib and Include_symbols and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="lib_JustForMe_d" + SourceFile="lib_d.msi" + Compressed="$(var.CompressMSI_D)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + InstallCondition="not InstallAllUsers and Include_lib and Include_debug and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + </PackageGroup> + </Fragment> +</Wix>
\ No newline at end of file diff --git a/Tools/msi/bundle/packagegroups/postinstall.wxs b/Tools/msi/bundle/packagegroups/postinstall.wxs new file mode 100644 index 0000000..7b0f3fc --- /dev/null +++ b/Tools/msi/bundle/packagegroups/postinstall.wxs @@ -0,0 +1,66 @@ +<?xml version="1.0"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + <Fragment> + <PackageGroup Id="postinstall"> + <MsiPackage Id="pip_AllUsers" + SourceFile="pip.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + InstallCondition="InstallAllUsers and Include_pip and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="pip_JustForMe" + SourceFile="pip.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + InstallCondition="not InstallAllUsers and Include_pip and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + + <MsiPackage Id="path_AllUsers" + SourceFile="path.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + InstallCondition="InstallAllUsers and PrependPath and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="path_JustForMe" + SourceFile="path.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + InstallCondition="not InstallAllUsers and PrependPath and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + + <?define CompileAllCommand=-$(var.ShortVersion)$(var.Suffix32) -E -s -Wi "[TargetDir]\Lib\compileall.py" -f -x "bad_coding|badsyntax|site-packages|py2_|lib2to3\\tests|venv\\scripts" "[TargetDir]\Lib"?> + <ExePackage Id="compileall_AllUsers" + SourceFile="py.exe" + Compressed="yes" + DisplayName="!(loc.CompileAllDescription)" + InstallCommand='$(var.CompileAllCommand)' + RepairCommand='$(var.CompileAllCommand)' + Permanent="yes" + PerMachine="yes" + Vital="no" + InstallCondition="InstallAllUsers and CompileAll and not LauncherOnly" /> + <ExePackage Id="compileall_JustForMe" + SourceFile="py.exe" + Compressed="yes" + DisplayName="!(loc.CompileAllDescription)" + InstallCommand='$(var.CompileAllCommand)' + RepairCommand='$(var.CompileAllCommand)' + Permanent="yes" + PerMachine="no" + Vital="no" + InstallCondition="not InstallAllUsers and CompileAll and not LauncherOnly" /> + </PackageGroup> + </Fragment> +</Wix>
\ No newline at end of file diff --git a/Tools/msi/bundle/packagegroups/tcltk.wxs b/Tools/msi/bundle/packagegroups/tcltk.wxs new file mode 100644 index 0000000..0d029a9 --- /dev/null +++ b/Tools/msi/bundle/packagegroups/tcltk.wxs @@ -0,0 +1,68 @@ +<?xml version="1.0"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + <Fragment> + <PackageGroup Id="tcltk"> + <MsiPackage Id="tcltk_AllUsers" + SourceFile="tcltk.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + EnableFeatureSelection="yes" + InstallCondition="InstallAllUsers and Include_tcltk and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="tcltk_AllUsers_pdb" + SourceFile="tcltk_pdb.msi" + Compressed="$(var.CompressPDB)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + EnableFeatureSelection="yes" + InstallCondition="InstallAllUsers and Include_tcltk and Include_symbols and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="tcltk_AllUsers_d" + SourceFile="tcltk_d.msi" + Compressed="$(var.CompressMSI_D)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + EnableFeatureSelection="yes" + InstallCondition="InstallAllUsers and Include_tcltk and Include_debug and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + + <MsiPackage Id="tcltk_JustForMe" + SourceFile="tcltk.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + EnableFeatureSelection="yes" + InstallCondition="not InstallAllUsers and Include_tcltk and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="tcltk_JustForMe_pdb" + SourceFile="tcltk_pdb.msi" + Compressed="$(var.CompressPDB)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + EnableFeatureSelection="yes" + InstallCondition="not InstallAllUsers and Include_tcltk and Include_symbols and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="tcltk_JustForMe_d" + SourceFile="tcltk_d.msi" + Compressed="$(var.CompressMSI_D)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + EnableFeatureSelection="yes" + InstallCondition="not InstallAllUsers and Include_tcltk and Include_debug and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + </PackageGroup> + </Fragment> +</Wix>
\ No newline at end of file diff --git a/Tools/msi/bundle/packagegroups/test.wxs b/Tools/msi/bundle/packagegroups/test.wxs new file mode 100644 index 0000000..32acaef --- /dev/null +++ b/Tools/msi/bundle/packagegroups/test.wxs @@ -0,0 +1,62 @@ +<?xml version="1.0"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + <Fragment> + <PackageGroup Id="test"> + <MsiPackage Id="test_AllUsers" + SourceFile="test.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + InstallCondition="InstallAllUsers and Include_test and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="test_AllUsers_pdb" + SourceFile="test_pdb.msi" + Compressed="$(var.CompressPDB)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + InstallCondition="InstallAllUsers and Include_test and Include_symbols and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="test_AllUsers_d" + SourceFile="test_d.msi" + Compressed="$(var.CompressMSI_D)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + InstallCondition="InstallAllUsers and Include_test and Include_debug and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + + <MsiPackage Id="test_JustForMe" + SourceFile="test.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + InstallCondition="not InstallAllUsers and Include_test and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="test_JustForMe_pdb" + SourceFile="test_pdb.msi" + Compressed="$(var.CompressPDB)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + InstallCondition="not InstallAllUsers and Include_test and Include_symbols and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + <MsiPackage Id="test_JustForMe_d" + SourceFile="test_d.msi" + Compressed="$(var.CompressMSI_D)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + InstallCondition="not InstallAllUsers and Include_test and Include_debug and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + </PackageGroup> + </Fragment> +</Wix>
\ No newline at end of file diff --git a/Tools/msi/bundle/packagegroups/tools.wxs b/Tools/msi/bundle/packagegroups/tools.wxs new file mode 100644 index 0000000..1d9ab19 --- /dev/null +++ b/Tools/msi/bundle/packagegroups/tools.wxs @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> + <Fragment> + <PackageGroup Id="tools"> + <MsiPackage Id="tools_AllUsers" + SourceFile="tools.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="yes" + InstallCondition="InstallAllUsers and Include_tools and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + + <MsiPackage Id="tools_JustForMe" + SourceFile="tools.msi" + Compressed="$(var.CompressMSI)" + DownloadUrl="$(var.DownloadUrl)" + ForcePerMachine="no" + InstallCondition="not InstallAllUsers and Include_tools and not LauncherOnly"> + <MsiProperty Name="TARGETDIR" Value="[TargetDir]" /> + <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" /> + </MsiPackage> + </PackageGroup> + </Fragment> +</Wix>
\ No newline at end of file |