From: Martin v. Löwis Date: Fri, 10 Sep 2004 11:55:32 +0000 (+0000) Subject: Generate the product code properly X-Git-Tag: v2.4b1~305 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e3a2642a08f423161f1752f8578249457f0217a;p=python Generate the product code properly --- diff --git a/Tools/msi/msilib.py b/Tools/msi/msilib.py index 5f8ef28ab6..61715fcd3b 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")