diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2007-08-31 10:01:07 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2007-08-31 10:01:07 (GMT) |
commit | 1ab4a1f9b80106d2658e45f905d293bd6270367e (patch) | |
tree | 92a846aafdcadf4089bc5427b92c4192c10a9ead /Tools/msi | |
parent | 3acd6d5f58e0a27f8ecaecd720b0deb813e690f8 (diff) | |
download | cpython-1ab4a1f9b80106d2658e45f905d293bd6270367e.zip cpython-1ab4a1f9b80106d2658e45f905d293bd6270367e.tar.gz cpython-1ab4a1f9b80106d2658e45f905d293bd6270367e.tar.bz2 |
Mark registry components as 64-bit on Win64.
Diffstat (limited to 'Tools/msi')
-rw-r--r-- | Tools/msi/msi.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index 6545f45..a77b080 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -168,8 +168,10 @@ else: if msilib.Win64: SystemFolderName = "[System64Folder]" + registry_component = 4|256 else: SystemFolderName = "[SystemFolder]" + registry_component = 4 msilib.reset() @@ -1062,15 +1064,15 @@ def add_registry(db): tcldata = [] if have_tcl: tcldata = [ - ("REGISTRY.tcl", msilib.gen_uuid(), "TARGETDIR", 4, None, + ("REGISTRY.tcl", msilib.gen_uuid(), "TARGETDIR", registry_component, None, "py.IDLE")] add_data(db, "Component", # msidbComponentAttributesRegistryKeyPath = 4 - [("REGISTRY", msilib.gen_uuid(), "TARGETDIR", 4, None, + [("REGISTRY", msilib.gen_uuid(), "TARGETDIR", registry_component, None, "InstallPath"), - ("REGISTRY.doc", msilib.gen_uuid(), "TARGETDIR", 4, None, + ("REGISTRY.doc", msilib.gen_uuid(), "TARGETDIR", registry_component, None, "Documentation"), - ("REGISTRY.def", msilib.gen_uuid(), "TARGETDIR", 4, + ("REGISTRY.def", msilib.gen_uuid(), "TARGETDIR", registry_component, None, None)] + tcldata) # See "FeatureComponents Table". # The association between TclTk and pythonw.exe is necessary to make ICE59 |