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
79e60dec
Kaydet (Commit)
79e60dec
authored
Eki 12, 2015
tarafından
Steve Dower
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge from 3.5
üst
3628d488
8ffe4fde
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
3 deletions
+16
-3
Default.wxl
Tools/msi/bundle/Default.wxl
+1
-1
PythonBootstrapperApplication.cpp
Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
+14
-2
bundle.wxs
Tools/msi/bundle/bundle.wxs
+1
-0
No files found.
Tools/msi/bundle/Default.wxl
Dosyayı görüntüle @
79e60dec
...
...
@@ -52,7 +52,7 @@ Creates shortcuts and file associations</String>
<String
Id=
"InstallSimpleButtonNote"
>
Use settings preselected by your administrator
[SimpleInstallDescription]
</String>
<String
Id=
"InstallUpgradeButton"
>
&
Up
grade Now
</String>
<String
Id=
"InstallUpgradeButton"
>
Up
&
grade Now
</String>
<String
Id=
"InstallUpgradeButtonNote"
>
[TargetDir]
Replaces your existing installation without changing settings.
...
...
Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
Dosyayı görüntüle @
79e60dec
...
...
@@ -674,6 +674,8 @@ public: // IBootstrapperApplication
hr
);
}
LoadOptionalFeatureStates
(
_engine
);
}
else
if
(
BOOTSTRAPPER_RELATED_OPERATION_NONE
==
operation
)
{
if
(
_command
.
action
==
BOOTSTRAPPER_ACTION_INSTALL
)
{
LOC_STRING
*
pLocString
=
nullptr
;
...
...
@@ -2556,7 +2558,14 @@ private:
BOOL
WillElevate
()
{
static
BAL_CONDITION
WILL_ELEVATE_CONDITION
=
{
L"not WixBundleElevated and (InstallAllUsers or (InstallLauncherAllUsers and Include_launcher))"
,
L"not WixBundleElevated and ("
/*Elevate when installing for all users*/
L"InstallAllUsers or"
/*Elevate when installing the launcher for all users and it was not detected*/
L"(InstallLauncherAllUsers and Include_launcher and not DetectedLauncher) or"
/*Elevate when the launcher was installed for all users and it is being removed*/
L"(DetectedLauncher and DetectedLauncherAllUsers and not Include_launcher)"
L")"
,
L""
};
BOOL
result
;
...
...
@@ -2884,6 +2893,10 @@ private:
pEngine
->
SetVariableNumeric
(
L"Include_launcher"
,
0
);
}
else
if
(
res
==
ERROR_SUCCESS
)
{
pEngine
->
SetVariableNumeric
(
L"Include_launcher"
,
1
);
pEngine
->
SetVariableNumeric
(
L"DetectedLauncher"
,
1
);
pEngine
->
SetVariableNumeric
(
L"InstallLauncherAllUsers"
,
(
hkHive
==
HKEY_LOCAL_MACHINE
)
?
1
:
0
);
pEngine
->
SetVariableNumeric
(
L"DetectedLauncherAllUsers"
,
(
hkHive
==
HKEY_LOCAL_MACHINE
)
?
1
:
0
);
pEngine
->
SetVariableString
(
L"InstallLauncherAllUsersState"
,
L"disable"
);
}
res
=
RegQueryValueExW
(
hKey
,
L"AssociateFiles"
,
nullptr
,
nullptr
,
nullptr
,
nullptr
);
...
...
@@ -3101,7 +3114,6 @@ public:
_hBAFModule
=
nullptr
;
_baFunction
=
nullptr
;
LoadOptionalFeatureStates
(
pEngine
);
EnsureTargetDir
();
}
...
...
Tools/msi/bundle/bundle.wxs
Dosyayı görüntüle @
79e60dec
...
...
@@ -65,6 +65,7 @@
<Variable
Name=
"Include_debug"
Value=
"0"
bal:Overridable=
"yes"
/>
<Variable
Name=
"LauncherOnly"
Value=
"0"
bal:Overridable=
"yes"
/>
<Variable
Name=
"DetectedLauncher"
Value=
"0"
/>
<Variable
Name=
"AssociateFiles"
Value=
"1"
bal:Overridable=
"yes"
/>
<Variable
Name=
"Shortcuts"
Value=
"1"
bal:Overridable=
"yes"
/>
...
...
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