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

Skip to content

Commit 3390d33

Browse files
committed
Add more UUIDs. Update custom actions for Itanium.
Backported to 2.4
1 parent 8e628d2 commit 3390d33

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

Tools/msi/msi.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@
8181
'2.4.121': '{75508821-a8e9-40a8-95bd-dbe6033ddbea}', # 2.4c1
8282
'2.4.122': '{83a9118b-4bdd-473b-afc3-bcb142feca9e}', # 2.4c2
8383
'2.4.150': '{82d9302e-f209-4805-b548-52087047483a}', # 2.4.0
84+
'2.4.1121':'{be027411-8e6b-4440-a29b-b07df0690230}', # 2.4.1c1
85+
'2.4.1122':'{02818752-48bf-4074-a281-7a4114c4f1b1}', # 2.4.1c2
86+
'2.4.1150':'{4d4f5346-7e4a-40b5-9387-fdb6181357fc}', # 2.4.1
87+
'2.4.2121':'{5ef9d6b6-df78-45d2-ab09-14786a3c5a99}', # 2.4.2c1
88+
'2.4.2150':'{b191e49c-ea23-43b2-b28a-14e0784069b8}', # 2.4.2
8489
}
8590

8691
if snapshot:
@@ -346,11 +351,17 @@ def add_ui(db):
346351
raise "'nmake /f msisupport.mak' failed"
347352
add_data(db, "Binary", [("Script", msilib.Binary("msisupport.dll"))])
348353
# See "Custom Action Type 1"
354+
if msilib.Win64:
355+
CheckDir = "CheckDir"
356+
UpdateEditIdle = "UpdateEditIDLE"
357+
else:
358+
CheckDir = "_CheckDir@4"
359+
UpdateEditIDLE = "_UpdateEditIDLE@4"
349360
add_data(db, "CustomAction",
350-
[("CheckDir", 1, "Script", "_CheckDir@4")])
361+
[("CheckDir", 1, "Script", CheckDir)])
351362
if have_tcl:
352363
add_data(db, "CustomAction",
353-
[("UpdateEditIDLE", 1, "Script", "_UpdateEditIDLE@4")])
364+
[("UpdateEditIDLE", 1, "Script", UpdateEditIDLE)])
354365

355366
# UI customization properties
356367
add_data(db, "Property",

0 commit comments

Comments
 (0)