Generate the product code properly

This commit is contained in:
Martin v. Löwis 2004-09-10 11:55:32 +00:00
parent a79ec22f9f
commit 1e3a2642a0
1 changed files with 1 additions and 1 deletions

View 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")