Skip to content

Commit 8aec712

Browse files
committed
Correct MSI conditions
1 parent 996ba41 commit 8aec712

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pymanager/msi.wxs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,17 @@
103103
<File Source="templates\launcherw.exe" Name="launcherw.exe" />
104104
</Component>
105105

106+
<!-- WIX_NATIVE_MACHINE = 0x8664 -->
106107
<Component Id="PyShellExt.x64" Directory="INSTALLFOLDER" Guid="0E2D4BFC-10DC-4103-B86E-58943429AE4B"
107-
Condition="WIX_NATIVE_MACHINE == 0x8664">
108+
Condition="WIX_NATIVE_MACHINE = 34404">
108109
<File Source="pyshellext.x64.dll" KeyPath="yes">
109110
<Class Id="{C7E29CB0-9691-4DE8-B72B-6719DDC0B4A1}" Advertise="no"
110111
Context="InprocServer32" ThreadingModel="both" />
111112
</File>
112113
</Component>
114+
<!-- WIX_NATIVE_MACHINE = 0xAA64 -->
113115
<Component Id="PyShellExt.ARM64" Directory="INSTALLFOLDER" Guid="DB020B5A-BD1F-4443-9859-A163FCF2CA77"
114-
Condition="WIX_NATIVE_MACHINE == 0xAA64">
116+
Condition="WIX_NATIVE_MACHINE = 43620">
115117
<File Source="pyshellext.arm64.dll" KeyPath="yes">
116118
<Class Id="{C7E29CB0-9691-4DE8-B72B-6719DDC0B4A1}" Advertise="no"
117119
Context="InprocServer32" ThreadingModel="both" />

0 commit comments

Comments
 (0)