cppcheck/win_installer
Kimmo Varis 83545ab11f Update batch file for latest Qt SDK location. 2010-01-07 20:32:35 +02:00
..
LargeLogo.bmp Installer: Add large installer bitmap. 2009-05-27 18:00:29 +03:00
build1.bat Update batch file for latest Qt SDK location. 2010-01-07 20:32:35 +02:00
build2.bat Make switching QT version easier in build batch files. 2009-10-27 23:59:37 +02:00
build3.bat Installer: minor fix in build script 2009-11-21 21:31:48 +01:00
cli.wxs version 1.39 2009-12-06 13:34:51 +01:00
cppcheck.wxs windows installer: non-advertised shortcut for manual. Seems to work better 2009-11-23 19:42:35 +01:00
icon.bmp Installer: Add small image shown in top of the installer. 2009-05-27 17:31:14 +03:00
modpath.iss Ticket #34: Windows installer: Add cppcheck folder to system path. 2009-01-24 18:07:51 +00:00
productInfo.wxi Windows Installer: added manual.pdf, renamed cppcheck.msi => cli.msi, renamed gui.msi => cppcheck.msi, fixes for upgrading 2009-11-21 15:24:21 +01:00
readme.txt Installer: update readme for latest changes. 2009-08-18 21:32:00 +03:00

readme.txt

Windows installer for the cppcheck
----------------------------------

Windows installer for both command line cppcheck and for QT-based GUI. All
needed runtimes and libraries are installed.

Command line cppccheck shortcuts are created to start cmd.exe in installation
folder. So when the user selects start menu/desktop icon he gets command prompt
in cppcheck folder.

Get the InnoSetup from:
http://www.innosetup.com/
Be sure to download the 'QuickStart Pack' as it installs some nice tools
like ISTool and preprocessor support.

Files the installer needs:
/COPYING
/readme.txt
/AUTHORS
/src/Release/cppcheck.exe
/win_installer/icon.bmp
/win_installer/LargeLogo.bmp
/win_installer/
/gui/release/gui.exe
/gui/cppcheck_de.qm
/gui/cppcheck_en.qm
/gui/cppcheck_fi.qm
/gui/cppcheck_pl.qm
/gui/cppcheck_ru.qm
/gui/cppcheck_se.qm

NOTE: Remember to convert COPYING and AUTHORS to Windows EOL format! Otherwise
Windows Notepad (default viewer) can't show then properly.

VS Runtime files:
Copy following files to same folder:
- Microsoft.VC90.CRT.manifest
- msvcp90.dll
- msvcr90.dll
and modify RuntimesFolder -macro in begin of cppcheck.iss to point to the
folder where files are. You can find runtime files from VS installation or from
net.

NOTE: To make local installation of runtimes to work you must remove the
publicKeyToken="blahblah" -attribute from the manifest file.

QT Libraries:
Visual Studio is used to build the GUI executable. And QT must be build with VS
also. When building QT make sure you build release targets!

Copy following files to same RuntimesFolder than VS runtime files:
- QtCore4.dll
- QtGui4.dll
- QtXml4.dll

Creating the installer executable:
#1 Open the ISTool and load cppcheck.iss
#2 Update the release version number:
   - look for line "#define AppVersion"
#3 Check all files are present:
   - from menu: Project / Verify files...
#4 Compile the installer
   - from menu: Project / Compile Setup

If compilation succeeds, the installer executable is created into /Build
-folder. The filename is cppcheck-[version]-setup.exe.