|
8 | 8 |
|
9 | 9 | <Package Id='*' Keywords='Installer' Description="$(var.ProductName) Setup" |
10 | 10 | Comments='$(var.ProductDescription)' Manufacturer='$(var.ProductManufacturer)' |
11 | | - InstallerVersion='300' Languages='1033' Compressed='yes' SummaryCodepage='1252' InstallScope='perMachine'/> |
| 11 | + InstallerVersion='450' Languages='1033' Compressed='yes' SummaryCodepage='1252' InstallScope='perMachine'/> |
12 | 12 |
|
13 | 13 | <Media Id='1' Cabinet='Cppcheck.cab' EmbedCab='yes' CompressionLevel='high' DiskPrompt='CD-ROM 1' /> |
14 | 14 | <Property Id='DiskPrompt' Value='Cppcheck installation [1]' /> |
15 | 15 |
|
16 | 16 | <Directory Id='TARGETDIR' Name='SourceDir'> |
17 | | - <Directory Id='SystemFolder' FileSource='SystemFolder' /> |
18 | | - <Directory Id='ProgramFilesFolder' Name='PFiles'> |
| 17 | + <Directory Id='System32' FileSource='SystemFolder' /> |
| 18 | + <Directory Id='$(var.PlatformProgramFilesFolder)' Name='PFiles'> |
19 | 19 | <Directory Id='INSTALLDIR' Name='$(var.ProductNameShort)'> |
20 | 20 | <Component Id='cppcheckcore.dll' Guid='$(var.cppcheckcoreGUID)'> |
21 | 21 | <File Id='cppcheckcore.dll' Name='cppcheck-core.dll' DiskId='1' Source='$(var.CliBuildDir)\cppcheck-core.dll' KeyPath='yes' /> |
|
34 | 34 | <Shortcut Id='startmenuGui' Directory="ProgramMenuDir" Name='$(var.ProductNameShort)' |
35 | 35 | WorkingDirectory='INSTALLDIR' Icon="cppcheckgui.exe" IconIndex="0" Advertise="yes" /> |
36 | 36 | </File> |
37 | | - <File Id='qtcore4dll' Name='qtcore4.dll' Source='$(var.QtDllDir)\qtcore4.dll' /> |
38 | | - <File Id='qtgui4dll' Name='qtgui4.dll' Source='$(var.QtDllDir)\qtgui4.dll' /> |
| 37 | + <File Id='Qt5Coredll' Name='Qt5Core.dll' Source='$(var.QtDllDir)\Qt5Core.dll' /> |
| 38 | + <File Id='Qt5Guidll' Name='Qt5Gui.dll' Source='$(var.QtDllDir)\Qt5Gui.dll' /> |
| 39 | + <File Id='Qt5Widgetsdll' Name='Qt5Widgets.dll' Source='$(var.QtDllDir)\Qt5Widgets.dll' /> |
39 | 40 | </Component> |
| 41 | + <Directory Id='QtPlatformsFolder' Name='platforms'> |
| 42 | + <Component Id='QtPlatforms' DiskId='1' Guid='$(var.qtplatformsGUID)'> |
| 43 | + <File Id='qwindowsdll' Name='qwindows.dll' Source='$(var.QtDllDir)\platforms\qwindows.dll' /> |
| 44 | + </Component> |
| 45 | + </Directory> |
40 | 46 | <Directory Id='TranslationsFolder' Name='lang'> |
41 | 47 | <Component Id='GuiTranslations' Guid='$(var.guiTranslationsGUID)'> |
42 | 48 | <File Id='cppcheck_de.qm' Name='cppcheck_de.qm' Source='$(var.TranslationsDir)\cppcheck_de.qm' /> |
|
94 | 100 | <RemoveFile Id="qtnetwork4dll" On="install" Name="qtnetwork4.dll" /> |
95 | 101 | <RemoveFile Id="qtsql4dll" On="install" Name="qtsql4.dll" /> |
96 | 102 | <RemoveFile Id='qtxml4dll' On='install' Name='qtxml4.dll' /> |
| 103 | + <RemoveFile Id='qtcore4dll' On='install' Name='qtcore4.dll' /> |
| 104 | + <RemoveFile Id='qtgui4dll' On='install' Name='qtgui4.dll' /> |
97 | 105 | </Component> |
98 | 106 | </Directory> |
99 | 107 | <Merge Id="CRT" Language="0" SourceFile="$(var.CrtMergeModule)" DiskId="1" /> |
|
124 | 132 | <Feature Id='GUI' Title='Graphical interface' AllowAdvertise='no' Description='Cppcheck with a graphical user interface' Level='1'> |
125 | 133 | <ComponentRef Id='RegistryEntries' /> |
126 | 134 | <ComponentRef Id='GuiExecutable' /> |
| 135 | + <ComponentRef Id='QtPlatforms' /> |
127 | 136 | <Feature Id='Translations' Title='GUI Translations' AllowAdvertise='no' Description='Translations for graphical user interface' Level='1'> |
128 | 137 | <ComponentRef Id='GuiTranslations' /> |
129 | 138 | </Feature> |
|
146 | 155 | <Custom Action='UninstallOld155' After='InstallFinalize'>NOT Installed</Custom> |
147 | 156 | <Custom Action='UninstallOld156' After='InstallFinalize'>NOT Installed</Custom> |
148 | 157 | </InstallExecuteSequence> |
149 | | - <CustomAction Id='UninstallOld152' Directory='SystemFolder' ExeCommand="msiexec.exe /X {836AF028-6EE2-457C-B242-19D61701BAA3} /qn" Execute="immediate" Return="asyncNoWait"/> |
150 | | - <CustomAction Id='UninstallOld153' Directory='SystemFolder' ExeCommand="msiexec.exe /X {42850B7E-CD5F-449A-B6DA-C423156D2ACF} /qn" Execute="immediate" Return="asyncNoWait"/> |
151 | | - <CustomAction Id='UninstallOld154' Directory='SystemFolder' ExeCommand="msiexec.exe /X {7722557B-4B10-4E8F-918A-78FBAEFB09B1} /qn" Execute="immediate" Return="asyncNoWait"/> |
152 | | - <CustomAction Id='UninstallOld155' Directory='SystemFolder' ExeCommand="msiexec.exe /X {211B2B89-3FE0-4F49-88CC-27E283BEC010} /qn" Execute="immediate" Return="asyncNoWait"/> |
153 | | - <CustomAction Id='UninstallOld156' Directory='SystemFolder' ExeCommand="msiexec.exe /X {1CC8C271-A877-4DF0-B1DE-C1B7D83521BC} /qn" Execute="immediate" Return="asyncNoWait"/> |
| 158 | + <CustomAction Id='UninstallOld152' Directory='System32' ExeCommand="msiexec.exe /X {836AF028-6EE2-457C-B242-19D61701BAA3} /qn" Execute="immediate" Return="asyncNoWait"/> |
| 159 | + <CustomAction Id='UninstallOld153' Directory='System32' ExeCommand="msiexec.exe /X {42850B7E-CD5F-449A-B6DA-C423156D2ACF} /qn" Execute="immediate" Return="asyncNoWait"/> |
| 160 | + <CustomAction Id='UninstallOld154' Directory='System32' ExeCommand="msiexec.exe /X {7722557B-4B10-4E8F-918A-78FBAEFB09B1} /qn" Execute="immediate" Return="asyncNoWait"/> |
| 161 | + <CustomAction Id='UninstallOld155' Directory='System32' ExeCommand="msiexec.exe /X {211B2B89-3FE0-4F49-88CC-27E283BEC010} /qn" Execute="immediate" Return="asyncNoWait"/> |
| 162 | + <CustomAction Id='UninstallOld156' Directory='System32' ExeCommand="msiexec.exe /X {1CC8C271-A877-4DF0-B1DE-C1B7D83521BC} /qn" Execute="immediate" Return="asyncNoWait"/> |
154 | 163 |
|
155 | 164 | <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" /> |
156 | 165 | <UIRef Id="WixUI_FeatureTree"/> |
|
0 commit comments