2015-02-06 02:08:48 -04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
|
|
|
<Fragment>
|
|
|
|
<PackageGroup Id="postinstall">
|
|
|
|
<MsiPackage Id="path_AllUsers"
|
|
|
|
SourceFile="path.msi"
|
|
|
|
Compressed="$(var.CompressMSI)"
|
|
|
|
DownloadUrl="$(var.DownloadUrl)"
|
|
|
|
ForcePerMachine="yes"
|
2015-07-18 13:27:52 -03:00
|
|
|
InstallCondition="InstallAllUsers and PrependPath and not LauncherOnly">
|
2015-02-06 02:08:48 -04:00
|
|
|
<MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
|
2015-07-09 00:18:44 -03:00
|
|
|
<MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
|
2015-02-06 02:08:48 -04:00
|
|
|
</MsiPackage>
|
|
|
|
<MsiPackage Id="path_JustForMe"
|
|
|
|
SourceFile="path.msi"
|
|
|
|
Compressed="$(var.CompressMSI)"
|
|
|
|
DownloadUrl="$(var.DownloadUrl)"
|
|
|
|
ForcePerMachine="no"
|
2015-07-18 13:27:52 -03:00
|
|
|
InstallCondition="not InstallAllUsers and PrependPath and not LauncherOnly">
|
2015-02-06 02:08:48 -04:00
|
|
|
<MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
|
2015-07-09 00:18:44 -03:00
|
|
|
<MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
|
2015-02-06 02:08:48 -04:00
|
|
|
</MsiPackage>
|
2022-01-17 20:18:44 -04:00
|
|
|
|
|
|
|
<MsiPackage Id="appendpath_AllUsers"
|
|
|
|
SourceFile="appendpath.msi"
|
|
|
|
Compressed="$(var.CompressMSI)"
|
|
|
|
DownloadUrl="$(var.DownloadUrl)"
|
|
|
|
ForcePerMachine="yes"
|
|
|
|
InstallCondition="InstallAllUsers and AppendPath and not LauncherOnly">
|
|
|
|
<MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
|
|
|
|
<MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
|
|
|
|
</MsiPackage>
|
|
|
|
<MsiPackage Id="appendpath_JustForMe"
|
|
|
|
SourceFile="appendpath.msi"
|
|
|
|
Compressed="$(var.CompressMSI)"
|
|
|
|
DownloadUrl="$(var.DownloadUrl)"
|
|
|
|
ForcePerMachine="no"
|
|
|
|
InstallCondition="not InstallAllUsers and AppendPath and not LauncherOnly">
|
|
|
|
<MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
|
|
|
|
<MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
|
|
|
|
</MsiPackage>
|
|
|
|
|
|
|
|
|
2015-02-06 02:08:48 -04:00
|
|
|
|
2023-05-23 14:40:02 -03:00
|
|
|
<?define CompileAllCommand=-E -s -Wi "[TargetDir]\Lib\compileall.py" -f -x "bad_coding|badsyntax|site-packages|py2_|venv\\scripts" "[TargetDir]\Lib"?>
|
2015-02-06 02:08:48 -04:00
|
|
|
<ExePackage Id="compileall_AllUsers"
|
|
|
|
SourceFile="py.exe"
|
|
|
|
Compressed="yes"
|
|
|
|
DisplayName="!(loc.CompileAllDescription)"
|
2015-10-14 14:36:36 -03:00
|
|
|
InstallCommand='-[WinVer] $(var.CompileAllCommand)'
|
|
|
|
RepairCommand='-[WinVer] $(var.CompileAllCommand)'
|
2015-02-06 02:08:48 -04:00
|
|
|
Permanent="yes"
|
|
|
|
PerMachine="yes"
|
|
|
|
Vital="no"
|
2015-07-18 13:27:52 -03:00
|
|
|
InstallCondition="InstallAllUsers and CompileAll and not LauncherOnly" />
|
2015-09-22 20:45:19 -03:00
|
|
|
<ExePackage Id="compileallO_AllUsers"
|
|
|
|
SourceFile="py.exe"
|
|
|
|
Compressed="yes"
|
|
|
|
DisplayName="!(loc.CompileAllODescription)"
|
2015-10-14 14:36:36 -03:00
|
|
|
InstallCommand='-[WinVer] -O $(var.CompileAllCommand)'
|
|
|
|
RepairCommand='-[WinVer] -O $(var.CompileAllCommand)'
|
2015-09-22 20:45:19 -03:00
|
|
|
Permanent="yes"
|
|
|
|
PerMachine="yes"
|
|
|
|
Vital="no"
|
|
|
|
InstallCondition="InstallAllUsers and CompileAll and not LauncherOnly" />
|
|
|
|
<ExePackage Id="compileallOO_AllUsers"
|
|
|
|
SourceFile="py.exe"
|
|
|
|
Compressed="yes"
|
|
|
|
DisplayName="!(loc.CompileAllOODescription)"
|
2015-10-14 14:36:36 -03:00
|
|
|
InstallCommand='-[WinVer] -OO $(var.CompileAllCommand)'
|
|
|
|
RepairCommand='-[WinVer] -OO $(var.CompileAllCommand)'
|
2015-09-22 20:45:19 -03:00
|
|
|
Permanent="yes"
|
|
|
|
PerMachine="yes"
|
|
|
|
Vital="no"
|
|
|
|
InstallCondition="InstallAllUsers and CompileAll and not LauncherOnly" />
|
|
|
|
|
2015-02-06 02:08:48 -04:00
|
|
|
<ExePackage Id="compileall_JustForMe"
|
|
|
|
SourceFile="py.exe"
|
|
|
|
Compressed="yes"
|
|
|
|
DisplayName="!(loc.CompileAllDescription)"
|
2015-10-14 14:36:36 -03:00
|
|
|
InstallCommand='-[WinVer] $(var.CompileAllCommand)'
|
|
|
|
RepairCommand='-[WinVer] $(var.CompileAllCommand)'
|
2015-09-22 20:45:19 -03:00
|
|
|
Permanent="yes"
|
|
|
|
PerMachine="no"
|
|
|
|
Vital="no"
|
|
|
|
InstallCondition="not InstallAllUsers and CompileAll and not LauncherOnly" />
|
|
|
|
<ExePackage Id="compileallO_JustForMe"
|
|
|
|
SourceFile="py.exe"
|
|
|
|
Compressed="yes"
|
|
|
|
DisplayName="!(loc.CompileAllODescription)"
|
2015-10-14 14:36:36 -03:00
|
|
|
InstallCommand='-[WinVer] -O $(var.CompileAllCommand)'
|
|
|
|
RepairCommand='-[WinVer] -O $(var.CompileAllCommand)'
|
2015-09-22 20:45:19 -03:00
|
|
|
Permanent="yes"
|
|
|
|
PerMachine="no"
|
|
|
|
Vital="no"
|
|
|
|
InstallCondition="not InstallAllUsers and CompileAll and not LauncherOnly" />
|
|
|
|
<ExePackage Id="compileallOO_JustForMe"
|
|
|
|
SourceFile="py.exe"
|
|
|
|
Compressed="yes"
|
|
|
|
DisplayName="!(loc.CompileAllOODescription)"
|
2015-10-14 14:36:36 -03:00
|
|
|
InstallCommand='-[WinVer] -OO $(var.CompileAllCommand)'
|
|
|
|
RepairCommand='-[WinVer] -OO $(var.CompileAllCommand)'
|
2015-02-06 02:08:48 -04:00
|
|
|
Permanent="yes"
|
|
|
|
PerMachine="no"
|
|
|
|
Vital="no"
|
2015-07-18 13:27:52 -03:00
|
|
|
InstallCondition="not InstallAllUsers and CompileAll and not LauncherOnly" />
|
2015-02-06 02:08:48 -04:00
|
|
|
</PackageGroup>
|
|
|
|
</Fragment>
|
2022-01-17 20:18:44 -04:00
|
|
|
</Wix>
|