32 # Start-of-Header |
32 # Start-of-Header |
33 name = "CxFreeze Plugin" |
33 name = "CxFreeze Plugin" |
34 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
34 author = "Detlev Offenbach <detlev@die-offenbachs.de>" |
35 autoactivate = True |
35 autoactivate = True |
36 deactivateable = True |
36 deactivateable = True |
37 version = "5.2.1" |
37 version = "5.2.2" |
38 className = "CxFreezePlugin" |
38 className = "CxFreezePlugin" |
39 packageName = "CxFreeze" |
39 packageName = "CxFreeze" |
40 shortDescription = "Show the CxFreeze dialogs." |
40 shortDescription = "Show the CxFreeze dialogs." |
41 longDescription = \ |
41 longDescription = \ |
42 """This plugin implements the CxFreeze dialogs.""" \ |
42 """This plugin implements the CxFreeze dialogs.""" \ |
121 for minorVersion in minorVersions: |
121 for minorVersion in minorVersions: |
122 versionStr = '{0}.{1}'.format(majorVersion, minorVersion) |
122 versionStr = '{0}.{1}'.format(majorVersion, minorVersion) |
123 exePath = getExePath( |
123 exePath = getExePath( |
124 winreg.HKEY_CURRENT_USER, |
124 winreg.HKEY_CURRENT_USER, |
125 winreg.KEY_WOW64_32KEY | winreg.KEY_READ, versionStr) |
125 winreg.KEY_WOW64_32KEY | winreg.KEY_READ, versionStr) |
126 |
|
127 if exePath is not None: |
126 if exePath is not None: |
128 executables.add(exePath) |
127 executables.add(exePath) |
|
128 |
129 exePath = getExePath( |
129 exePath = getExePath( |
130 winreg.HKEY_LOCAL_MACHINE, |
130 winreg.HKEY_LOCAL_MACHINE, |
131 winreg.KEY_WOW64_32KEY | winreg.KEY_READ, versionStr) |
131 winreg.KEY_WOW64_32KEY | winreg.KEY_READ, versionStr) |
|
132 if exePath is not None: |
|
133 executables.add(exePath) |
132 |
134 |
133 # Even on Intel 64-bit machines it's 'AMD64' |
135 # Even on Intel 64-bit machines it's 'AMD64' |
134 if platform.machine() == 'AMD64': |
136 if platform.machine() == 'AMD64': |
135 if exePath is not None: |
|
136 executables.add(exePath) |
|
137 exePath = getExePath( |
137 exePath = getExePath( |
138 winreg.HKEY_CURRENT_USER, |
138 winreg.HKEY_CURRENT_USER, |
139 winreg.KEY_WOW64_64KEY | winreg.KEY_READ, versionStr) |
139 winreg.KEY_WOW64_64KEY | winreg.KEY_READ, versionStr) |
140 |
|
141 if exePath is not None: |
140 if exePath is not None: |
142 executables.add(exePath) |
141 executables.add(exePath) |
|
142 |
143 exePath = getExePath( |
143 exePath = getExePath( |
144 winreg.HKEY_LOCAL_MACHINE, |
144 winreg.HKEY_LOCAL_MACHINE, |
145 winreg.KEY_WOW64_64KEY | winreg.KEY_READ, versionStr) |
145 winreg.KEY_WOW64_64KEY | winreg.KEY_READ, versionStr) |
146 |
|
147 if exePath is not None: |
146 if exePath is not None: |
148 executables.add(exePath) |
147 executables.add(exePath) |
149 else: |
148 else: |
150 # |
149 # |
151 # Linux, Unix ... |
150 # Linux, Unix ... |