diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2004-09-10 11:55:32 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2004-09-10 11:55:32 (GMT) |
commit | 1e3a2642a08f423161f1752f8578249457f0217a (patch) | |
tree | 96c7b0fc2db80834bc27ce013b153959da6521fc /Tools/msi | |
parent | a79ec22f9fee81898f98d3109d57e2296d2b5fe3 (diff) | |
download | cpython-1e3a2642a08f423161f1752f8578249457f0217a.zip cpython-1e3a2642a08f423161f1752f8578249457f0217a.tar.gz cpython-1e3a2642a08f423161f1752f8578249457f0217a.tar.bz2 |
Generate the product code properly
Diffstat (limited to 'Tools/msi')
-rw-r--r-- | Tools/msi/msilib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/msi/msilib.py b/Tools/msi/msilib.py index 5f8ef28..61715fc 100644 --- a/Tools/msi/msilib.py +++ b/Tools/msi/msilib.py @@ -315,7 +315,7 @@ def init_database(name, schema, si.SetProperty(PID_TEMPLATE, "Intel64;1033") else: si.SetProperty(PID_TEMPLATE, "Intel;1033") - si.SetProperty(PID_REVNUMBER, ProductCode) # XXX should be package code + si.SetProperty(PID_REVNUMBER, gen_uuid()) si.SetProperty(PID_WORDCOUNT, 2) # long file names, compressed, original media si.SetProperty(PID_PAGECOUNT, 200) si.SetProperty(PID_APPNAME, "Python MSI Library") |