Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1e3a264

Browse files
committed
Generate the product code properly
1 parent a79ec22 commit 1e3a264

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/msi/msilib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def init_database(name, schema,
315315
si.SetProperty(PID_TEMPLATE, "Intel64;1033")
316316
else:
317317
si.SetProperty(PID_TEMPLATE, "Intel;1033")
318-
si.SetProperty(PID_REVNUMBER, ProductCode) # XXX should be package code
318+
si.SetProperty(PID_REVNUMBER, gen_uuid())
319319
si.SetProperty(PID_WORDCOUNT, 2) # long file names, compressed, original media
320320
si.SetProperty(PID_PAGECOUNT, 200)
321321
si.SetProperty(PID_APPNAME, "Python MSI Library")

0 commit comments

Comments
 (0)