Merge branch 'master' of git@github.com:danmar/cppcheck

This commit is contained in:
Daniel Marjamäki 2009-05-27 19:41:04 +02:00
commit 3d592baeb0
4 changed files with 23 additions and 5 deletions

BIN
win_installer/LargeLogo.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@ -46,18 +46,23 @@ VersionInfoDescription=cppcheck installer
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
AllowNoIcons=yes
AllowNoIcons=true
LicenseFile=..\COPYING
OutputBaseFilename={#MyAppName}-{#AppVersion}-setup
ChangesEnvironment=yes
ChangesEnvironment=true
OutputDir=..\Build
Compression=lzma/ultra
InternalCompressLevel=ultra
SolidCompression=true
; Installer graphics
WizardImageFile=.\LargeLogo.bmp
WizardSmallImageFile=.\icon.bmp
WizardImageStretch=false
[Languages]
Name: english; MessagesFile: compiler:Default.isl
@ -65,10 +70,15 @@ Name: english; MessagesFile: compiler:Default.isl
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
Name: modifypath; Description: &Add {#MyAppName} folder to your system path; Flags: unchecked
[InstallDelete]
; Name was changed to COPYING.txt so remove the old file.
Type: files; Name: {app}\COPYING
[Files]
Source: ..\Build\Release\cppcheck.exe; DestDir: {app}; Flags: ignoreversion
Source: ..\COPYING; DestDir: {app}; Flags: ignoreversion
Source: ..\COPYING; DestDir: {app}; DestName: COPYING.txt; Flags: ignoreversion
Source: ..\readme.txt; DestDir: {app}; Flags: ignoreversion
Source: ..\AUTHORS; DestDir: {app}; DestName: AUTHORS.txt; Flags: ignoreversion
; VS runtimes
Source: {#RuntimesFolder}\Microsoft.VC90.CRT.manifest; DestDir: {app}
Source: {#RuntimesFolder}\msvcp90.dll; DestDir: {app}
@ -80,7 +90,11 @@ Source: {#RuntimesFolder}\msvcr90.dll; DestDir: {app}
Name: {group}\{#MyAppName}; Filename: {sys}\cmd.exe; WorkingDir: {app}
Name: {group}\{cm:ProgramOnTheWeb,{#MyAppName}}; Filename: {#MyAppURL}
Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}
; Desktop icon
Name: {commondesktop}\{#MyAppName}; Filename: {sys}\cmd.exe; WorkingDir: {app}; Tasks: desktopicon
; Doc icons
Name: {group}\Authors; Filename: {app}\AUTHORS.txt; IconFileName: {win}\NOTEPAD.EXE
Name: {group}\Copying; Filename: {app}\COPYING.txt; IconFileName: {win}\NOTEPAD.EXE
[Code]
function ModPathDir(): TArrayOfString;

BIN
win_installer/icon.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -16,6 +16,10 @@ Files the installer needs:
/Release/cppcheck.exe
/COPYING
/readme.txt
/AUTHORS
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:
@ -35,5 +39,5 @@ Creating the installer executable:
#4 Compile the installer
- from menu: Project / Compile Setup
If compilation succeeds, the installer executable is created into folder
/win_installer/output. The filename is cppcheck-[version]-setup.exe.
If compilation succeeds, the installer executable is created into /Build
-folder. The filename is cppcheck-[version]-setup.exe.