]> granicus.if.org Git - python/commitdiff
Generate the product code properly
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 10 Sep 2004 11:55:32 +0000 (11:55 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 10 Sep 2004 11:55:32 +0000 (11:55 +0000)
Tools/msi/msilib.py

index 5f8ef28ab6b1b77389e393e1880ad2857d4d04c4..61715fcd3b9bd91db6df65c628d069d2997de44b 100644 (file)
@@ -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")