|
40 | 40 | <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
|
41 | 41 | </MsiPackage>
|
42 | 42 |
|
43 |
| - <?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"?> |
| 43 | + <?define CompileAllCommand=-E -s -Wi "[TargetDir]\Lib\compileall.py" -f -x "bad_coding|badsyntax|site-packages|py2_|lib2to3\\tests|venv\\scripts" "[TargetDir]\Lib"?> |
44 | 44 | <ExePackage Id="compileall_AllUsers"
|
45 | 45 | SourceFile="py.exe"
|
46 | 46 | Compressed="yes"
|
47 | 47 | DisplayName="!(loc.CompileAllDescription)"
|
48 |
| - InstallCommand='$(var.CompileAllCommand)' |
49 |
| - RepairCommand='$(var.CompileAllCommand)' |
| 48 | + InstallCommand='-$(var.ShortVersion)$(var.Suffix32) $(var.CompileAllCommand)' |
| 49 | + RepairCommand='-$(var.ShortVersion)$(var.Suffix32) $(var.CompileAllCommand)' |
50 | 50 | Permanent="yes"
|
51 | 51 | PerMachine="yes"
|
52 | 52 | Vital="no"
|
53 | 53 | InstallCondition="InstallAllUsers and CompileAll and not LauncherOnly" />
|
| 54 | + <ExePackage Id="compileallO_AllUsers" |
| 55 | + SourceFile="py.exe" |
| 56 | + Compressed="yes" |
| 57 | + DisplayName="!(loc.CompileAllODescription)" |
| 58 | + InstallCommand='-$(var.ShortVersion)$(var.Suffix32) -O $(var.CompileAllCommand)' |
| 59 | + RepairCommand='-$(var.ShortVersion)$(var.Suffix32) -O $(var.CompileAllCommand)' |
| 60 | + Permanent="yes" |
| 61 | + PerMachine="yes" |
| 62 | + Vital="no" |
| 63 | + InstallCondition="InstallAllUsers and CompileAll and not LauncherOnly" /> |
| 64 | + <ExePackage Id="compileallOO_AllUsers" |
| 65 | + SourceFile="py.exe" |
| 66 | + Compressed="yes" |
| 67 | + DisplayName="!(loc.CompileAllOODescription)" |
| 68 | + InstallCommand='-$(var.ShortVersion)$(var.Suffix32) -OO $(var.CompileAllCommand)' |
| 69 | + RepairCommand='-$(var.ShortVersion)$(var.Suffix32) -OO $(var.CompileAllCommand)' |
| 70 | + Permanent="yes" |
| 71 | + PerMachine="yes" |
| 72 | + Vital="no" |
| 73 | + InstallCondition="InstallAllUsers and CompileAll and not LauncherOnly" /> |
| 74 | + |
54 | 75 | <ExePackage Id="compileall_JustForMe"
|
55 | 76 | SourceFile="py.exe"
|
56 | 77 | Compressed="yes"
|
57 | 78 | DisplayName="!(loc.CompileAllDescription)"
|
58 |
| - InstallCommand='$(var.CompileAllCommand)' |
59 |
| - RepairCommand='$(var.CompileAllCommand)' |
| 79 | + InstallCommand='-$(var.ShortVersion)$(var.Suffix32) $(var.CompileAllCommand)' |
| 80 | + RepairCommand='-$(var.ShortVersion)$(var.Suffix32) $(var.CompileAllCommand)' |
| 81 | + Permanent="yes" |
| 82 | + PerMachine="no" |
| 83 | + Vital="no" |
| 84 | + InstallCondition="not InstallAllUsers and CompileAll and not LauncherOnly" /> |
| 85 | + <ExePackage Id="compileallO_JustForMe" |
| 86 | + SourceFile="py.exe" |
| 87 | + Compressed="yes" |
| 88 | + DisplayName="!(loc.CompileAllODescription)" |
| 89 | + InstallCommand='-$(var.ShortVersion)$(var.Suffix32) -O $(var.CompileAllCommand)' |
| 90 | + RepairCommand='-$(var.ShortVersion)$(var.Suffix32) -O $(var.CompileAllCommand)' |
| 91 | + Permanent="yes" |
| 92 | + PerMachine="no" |
| 93 | + Vital="no" |
| 94 | + InstallCondition="not InstallAllUsers and CompileAll and not LauncherOnly" /> |
| 95 | + <ExePackage Id="compileallOO_JustForMe" |
| 96 | + SourceFile="py.exe" |
| 97 | + Compressed="yes" |
| 98 | + DisplayName="!(loc.CompileAllOODescription)" |
| 99 | + InstallCommand='-$(var.ShortVersion)$(var.Suffix32) -OO $(var.CompileAllCommand)' |
| 100 | + RepairCommand='-$(var.ShortVersion)$(var.Suffix32) -OO $(var.CompileAllCommand)' |
60 | 101 | Permanent="yes"
|
61 | 102 | PerMachine="no"
|
62 | 103 | Vital="no"
|
|
0 commit comments