2009-01-18 14:53:48 +01:00
|
|
|
Windows installer for the cppcheck
|
|
|
|
----------------------------------
|
2009-01-17 12:49:12 +01:00
|
|
|
|
2009-06-05 09:26:19 +02:00
|
|
|
Windows installer for both command line cppcheck and for QT-based GUI. All
|
|
|
|
needed runtimes and libraries are installed.
|
2009-01-17 12:49:12 +01:00
|
|
|
|
2009-06-05 09:26:19 +02:00
|
|
|
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.
|
2009-01-17 12:49:12 +01:00
|
|
|
|
|
|
|
Get the InnoSetup from:
|
|
|
|
http://www.innosetup.com/
|
|
|
|
Be sure to download the 'QuickStart Pack' as it installs some nice tools
|
2009-01-18 14:53:48 +01:00
|
|
|
like ISTool and preprocessor support.
|
|
|
|
|
|
|
|
Files the installer needs:
|
|
|
|
/COPYING
|
|
|
|
/readme.txt
|
2009-05-27 18:36:08 +02:00
|
|
|
/AUTHORS
|
2009-08-18 20:32:00 +02:00
|
|
|
/src/Release/cppcheck.exe
|
2009-06-05 09:26:19 +02:00
|
|
|
/win_installer/icon.bmp
|
|
|
|
/win_installer/LargeLogo.bmp
|
|
|
|
/win_installer/
|
2009-07-03 11:05:45 +02:00
|
|
|
/gui/release/gui.exe
|
|
|
|
/gui/cppcheck_de.qm
|
|
|
|
/gui/cppcheck_en.qm
|
|
|
|
/gui/cppcheck_fi.qm
|
2009-08-18 20:32:00 +02:00
|
|
|
/gui/cppcheck_pl.qm
|
2009-07-03 11:05:45 +02:00
|
|
|
/gui/cppcheck_ru.qm
|
|
|
|
/gui/cppcheck_se.qm
|
2009-05-27 18:36:08 +02:00
|
|
|
|
|
|
|
NOTE: Remember to convert COPYING and AUTHORS to Windows EOL format! Otherwise
|
|
|
|
Windows Notepad (default viewer) can't show then properly.
|
2009-01-18 14:53:48 +01:00
|
|
|
|
2009-05-08 21:57:24 +02:00
|
|
|
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.
|
|
|
|
|
2009-08-18 20:32:00 +02:00
|
|
|
NOTE: To make local installation of runtimes to work you must remove the
|
|
|
|
publicKeyToken="blahblah" -attribute from the manifest file.
|
|
|
|
|
2009-06-05 09:26:19 +02:00
|
|
|
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
|
2009-06-22 11:35:44 +02:00
|
|
|
- QtXml4.dll
|
2009-06-05 09:26:19 +02:00
|
|
|
|
2009-01-18 14:53:48 +01:00
|
|
|
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
|
|
|
|
|
2009-05-27 16:37:44 +02:00
|
|
|
If compilation succeeds, the installer executable is created into /Build
|
|
|
|
-folder. The filename is cppcheck-[version]-setup.exe.
|