Kaydet (Commit) 283e35f6 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Mark registry components as 64-bit on Win64.

üst 680d7bef
...@@ -169,8 +169,10 @@ else: ...@@ -169,8 +169,10 @@ else:
if msilib.Win64: if msilib.Win64:
SystemFolderName = "[System64Folder]" SystemFolderName = "[System64Folder]"
registry_component = 4|256
else: else:
SystemFolderName = "[SystemFolder]" SystemFolderName = "[SystemFolder]"
registry_component = 4
msilib.reset() msilib.reset()
...@@ -1063,15 +1065,15 @@ def add_registry(db): ...@@ -1063,15 +1065,15 @@ def add_registry(db):
tcldata = [] tcldata = []
if have_tcl: if have_tcl:
tcldata = [ tcldata = [
("REGISTRY.tcl", msilib.gen_uuid(), "TARGETDIR", 4, None, ("REGISTRY.tcl", msilib.gen_uuid(), "TARGETDIR", registry_component, None,
"py.IDLE")] "py.IDLE")]
add_data(db, "Component", add_data(db, "Component",
# msidbComponentAttributesRegistryKeyPath = 4 # msidbComponentAttributesRegistryKeyPath = 4
[("REGISTRY", msilib.gen_uuid(), "TARGETDIR", 4, None, [("REGISTRY", msilib.gen_uuid(), "TARGETDIR", registry_component, None,
"InstallPath"), "InstallPath"),
("REGISTRY.doc", msilib.gen_uuid(), "TARGETDIR", 4, None, ("REGISTRY.doc", msilib.gen_uuid(), "TARGETDIR", registry_component, None,
"Documentation"), "Documentation"),
("REGISTRY.def", msilib.gen_uuid(), "TARGETDIR", 4, ("REGISTRY.def", msilib.gen_uuid(), "TARGETDIR", registry_component,
None, None)] + tcldata) None, None)] + tcldata)
# See "FeatureComponents Table". # See "FeatureComponents Table".
# The association between TclTk and pythonw.exe is necessary to make ICE59 # The association between TclTk and pythonw.exe is necessary to make ICE59
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment