2009-08-09 16:08:01 +02:00
|
|
|
<?xml version='1.0' encoding='windows-1252'?>
|
2009-11-21 15:24:21 +01:00
|
|
|
<?include productInfo.wxi ?>
|
2009-08-09 16:08:01 +02:00
|
|
|
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
|
2009-11-21 15:24:21 +01:00
|
|
|
<Product Name='$(var.ProductName)' Id='*' UpgradeCode='$(var.ProductUpgradeCode)'
|
2009-09-23 16:24:52 +02:00
|
|
|
Language='1033' Codepage='1252' Version='$(var.ProductVersion)' Manufacturer='The Cppcheck team'>
|
2009-08-09 16:08:01 +02:00
|
|
|
|
2009-09-23 16:24:52 +02:00
|
|
|
<Package Id='*' Keywords='Installer' Description="$(var.ProductName) Setup"
|
2009-08-09 16:08:01 +02:00
|
|
|
Comments='Cppcheck is a tool for static analysis of C/C++ code' Manufacturer='The Cppcheck team'
|
2009-11-21 15:24:21 +01:00
|
|
|
InstallerVersion='100' Languages='1033' Compressed='yes' SummaryCodepage='1252'/>
|
2009-08-09 16:08:01 +02:00
|
|
|
|
|
|
|
<Media Id='1' Cabinet='Cppcheck.cab' EmbedCab='yes' DiskPrompt='CD-ROM 1' />
|
|
|
|
<Property Id='DiskPrompt' Value='Cppcheck installation [1]' />
|
|
|
|
|
|
|
|
<Directory Id='TARGETDIR' Name='SourceDir'>
|
|
|
|
<Directory Id='ProgramFilesFolder' Name='PFiles'>
|
2009-11-21 15:24:21 +01:00
|
|
|
<Directory Id='INSTALLDIR' Name='$(var.ProductNameShort)'>
|
|
|
|
<Component Id='cppcheck.exe' Guid='$(var.cppcheckGUID)'>
|
|
|
|
<File Id='cppcheck.exe' Name='cppcheck.exe' DiskId='1' Source='cppcheck.exe' KeyPath='yes' />
|
|
|
|
<Environment Id='UpdatePath' Name='PATH' Action='set' System='yes' Part='last' Value='[INSTALLDIR]' />
|
2009-08-09 16:08:01 +02:00
|
|
|
</Component>
|
2009-11-21 15:24:21 +01:00
|
|
|
<Component Id='gui.exe' DiskId='1' Guid='$(var.guiGUID)'>
|
|
|
|
<File Id='gui.exe' Name='gui.exe' Source='gui.exe' KeyPath='yes'>
|
|
|
|
<Shortcut Id='startmenuGui' Directory="ProgramMenuDir" Name="Cppcheck"
|
|
|
|
WorkingDirectory='INSTALLDIR' Icon="gui.exe" IconIndex="0" Advertise="yes" />
|
|
|
|
</File>
|
|
|
|
<File Id='mingwm10dll' Name='mingwm10.dll' Source='mingwm10.dll' />
|
|
|
|
<File Id='qtcore4dll' Name='qtcore4.dll' Source='qtcore4.dll' />
|
|
|
|
<File Id='qtgui4dll' Name='qtgui4.dll' Source='qtgui4.dll' />
|
|
|
|
<File Id='qtxml4dll' Name='qtxml4.dll' Source='qtxml4.dll' />
|
2009-08-09 16:08:01 +02:00
|
|
|
</Component>
|
2009-11-21 15:24:21 +01:00
|
|
|
<Component Id='authors.txt' Guid='*'>
|
|
|
|
<File Id='authors.txt' Name='authors.txt' DiskId='1' Source='..\authors' KeyPath='yes' />
|
|
|
|
</Component>
|
|
|
|
<Component Id='readme.txt' Guid='*'>
|
|
|
|
<File Id='readme.txt' Name='readme.txt' DiskId='1' Source='..\readme.txt' KeyPath='yes' />
|
|
|
|
</Component>
|
|
|
|
<Component Id='manual.pdf' Guid='*'>
|
|
|
|
<File Id='manual.pdf' Name='manual.pdf' DiskId='1' Source='manual.pdf' KeyPath='yes'>
|
|
|
|
<Shortcut Id='startmenuManual' Directory="ProgramMenuDir" Name="Manual" Advertise="yes" />
|
|
|
|
</File>
|
|
|
|
</Component>
|
|
|
|
</Directory>
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
<Directory Id='ProgramMenuFolder' Name='Programs' >
|
|
|
|
<Directory Id='ProgramMenuDir' Name='$(var.ProductName)'>
|
|
|
|
<Component Id='ProgramMenuDir' Guid='*'>
|
|
|
|
<RemoveFolder Id='ProgramMenuDir' On='uninstall' />
|
|
|
|
<RegistryValue Root='HKCU' Key='Software\Cppcheck\$(var.ProductName)' Type='string' Value='' KeyPath='yes' />
|
2009-08-09 16:08:01 +02:00
|
|
|
</Component>
|
|
|
|
</Directory>
|
|
|
|
</Directory>
|
|
|
|
</Directory>
|
|
|
|
|
2009-09-23 16:24:52 +02:00
|
|
|
<Feature Id='Complete' Title='$(var.ProductName)' Description='The complete package.'
|
|
|
|
Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR' >
|
|
|
|
<Feature Id='MainProgram' Title='Command line interface' Description='Command line tool' Level='1'>
|
2009-11-21 15:24:21 +01:00
|
|
|
<ComponentRef Id='cppcheck.exe' />
|
|
|
|
<ComponentRef Id='gui.exe' />
|
|
|
|
<ComponentRef Id='authors.txt' />
|
|
|
|
<ComponentRef Id='readme.txt' />
|
|
|
|
<ComponentRef Id='manual.pdf' />
|
|
|
|
<ComponentRef Id='ProgramMenuDir' />
|
2009-09-23 16:24:52 +02:00
|
|
|
</Feature>
|
2009-08-09 16:08:01 +02:00
|
|
|
</Feature>
|
|
|
|
|
2009-11-21 15:24:21 +01:00
|
|
|
<Upgrade Id='$(var.ProductUpgradeCode)'>
|
|
|
|
<UpgradeVersion OnlyDetect='no'
|
|
|
|
Property='OLDERVERSIONFOUND'
|
|
|
|
Minimum='0.0.0'
|
|
|
|
IncludeMinimum='yes'
|
|
|
|
Maximum='$(var.ProductVersion)'
|
|
|
|
IncludeMaximum='no' />
|
|
|
|
</Upgrade>
|
|
|
|
|
|
|
|
<InstallExecuteSequence>
|
|
|
|
<RemoveExistingProducts After="InstallFinalize">OLDERVERSIONFOUND</RemoveExistingProducts>
|
|
|
|
</InstallExecuteSequence>
|
|
|
|
|
2009-09-23 16:24:52 +02:00
|
|
|
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
|
|
|
|
<UIRef Id="WixUI_InstallDir"/>
|
2009-11-21 15:24:21 +01:00
|
|
|
|
|
|
|
<Icon Id='gui.exe' SourceFile='gui.exe' />
|
2009-08-09 16:08:01 +02:00
|
|
|
</Product>
|
|
|
|
</Wix>
|