Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
fa526bd1
Kaydet (Commit)
fa526bd1
authored
Eyl 09, 2016
tarafından
Steve Dower
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Closes #27314: Fixes launcher installer upgrade table.
üst
c45599d0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
common.wxs
Tools/msi/common.wxs
+2
-0
launcher.wixproj
Tools/msi/launcher/launcher.wixproj
+1
-1
launcher.wxs
Tools/msi/launcher/launcher.wxs
+7
-4
No files found.
Tools/msi/common.wxs
Dosyayı görüntüle @
fa526bd1
...
...
@@ -20,10 +20,12 @@
<Fragment>
<Property
Id=
"UpgradeTable"
Value=
"1"
/>
<?ifndef SuppressUpgradeTable ?>
<Upgrade
Id=
"$(var.UpgradeCode)"
>
<UpgradeVersion
Property=
"DOWNGRADE"
Minimum=
"$(var.Version)"
IncludeMinimum=
"no"
OnlyDetect=
"yes"
/>
<UpgradeVersion
Property=
"UPGRADE"
Minimum=
"$(var.UpgradeMinimumVersion)"
IncludeMinimum=
"yes"
Maximum=
"$(var.Version)"
IncludeMaximum=
"no"
/>
</Upgrade>
<?endif ?>
<?ifdef CoreUpgradeCode ?>
<?if $(var.UpgradeCode)!=$(var.CoreUpgradeCode) ?>
...
...
Tools/msi/launcher/launcher.wixproj
Dosyayı görüntüle @
fa526bd1
...
...
@@ -5,7 +5,7 @@
<SchemaVersion>
2.0
</SchemaVersion>
<OutputName>
launcher
</OutputName>
<OutputType>
Package
</OutputType>
<DefineConstants>
UpgradeCode=1B68A0EC-4DD3-5134-840E-73854B0863F1;$(DefineConstants)
</DefineConstants>
<DefineConstants>
UpgradeCode=1B68A0EC-4DD3-5134-840E-73854B0863F1;
SuppressUpgradeTable=1;
$(DefineConstants)
</DefineConstants>
<IgnoreCommonWxlTemplates>
true
</IgnoreCommonWxlTemplates>
<SuppressICEs>
ICE80
</SuppressICEs>
</PropertyGroup>
...
...
Tools/msi/launcher/launcher.wxs
Dosyayı görüntüle @
fa526bd1
...
...
@@ -29,18 +29,21 @@
<Custom
Before=
"SetLauncherInstallDirectoryLM"
Action=
"SetLauncherInstallDirectoryCU"
>
NOT Installed AND NOT ALLUSERS=1
</Custom>
<Custom
Before=
"CostFinalize"
Action=
"SetLauncherInstallDirectoryLM"
>
NOT Installed AND ALLUSERS=1
</Custom>
<RemoveExistingProducts
After=
"InstallValidate"
>
UPGRADE or REMOVE_350_LAUNCHER
</RemoveExistingProducts>
<RemoveExistingProducts
After=
"InstallValidate"
>
UPGRADE or REMOVE_350_LAUNCHER
or REMOVE_360A1_LAUNCHER
</RemoveExistingProducts>
</InstallExecuteSequence>
<!-- Upgrade all versions of the launcher -->
<Upgrade
Id=
"$(var.UpgradeCode)"
>
<UpgradeVersion
Property=
"DOWNGRADE"
Minimum=
"$(var.Version)"
IncludeMinimum=
"no"
OnlyDetect=
"yes"
/>
<UpgradeVersion
Property=
"UPGRADE"
Minimum=
"0.0.0.0"
IncludeMinimum=
"yes"
Maximum=
"$(var.Version)"
IncludeMaximum=
"no"
/>
</Upgrade>
<!-- Python 3.5.0 shipped with a different UpgradeCode -->
<Upgrade
Id=
"A71530B9-E89D-53DB-9C2D-C6D7551876D8"
>
<UpgradeVersion
Minimum=
"0.0.0.0"
Property=
"REMOVE_350_LAUNCHER"
/>
</Upgrade>
<!-- Python 3.6.0a1 shipped with a different UpgradeCode -->
<Upgrade
Id=
"394750C0-7880-5A8F-999F-933965FBCFB4"
>
<UpgradeVersion
Maximum=
"$(var.Version)"
Property=
"REMOVE_360A1_LAUNCHER"
/>
<UpgradeVersion
Minimum=
"$(var.Version)"
Property=
"BLOCK_360A1_LAUNCHER"
/>
<UpgradeVersion
Minimum=
"0.0.0.0"
Property=
"REMOVE_360A1_LAUNCHER"
/>
</Upgrade>
<Condition
Message=
"!(loc.NoDowngrade)"
>
Installed OR NOT BLOCK_360A1_LAUNCHER
</Condition>
</Product>
</Wix>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment