summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-09-10 11:55:32 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-09-10 11:55:32 (GMT)
commit1e3a2642a08f423161f1752f8578249457f0217a (patch)
tree96c7b0fc2db80834bc27ce013b153959da6521fc /Tools
parenta79ec22f9fee81898f98d3109d57e2296d2b5fe3 (diff)
downloadcpython-1e3a2642a08f423161f1752f8578249457f0217a.zip
cpython-1e3a2642a08f423161f1752f8578249457f0217a.tar.gz
cpython-1e3a2642a08f423161f1752f8578249457f0217a.tar.bz2
Generate the product code properly
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/msilib.py2
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")