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} DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName} DefaultGroupName={#MyAppName}
AllowNoIcons=yes AllowNoIcons=true
LicenseFile=..\COPYING LicenseFile=..\COPYING
OutputBaseFilename={#MyAppName}-{#AppVersion}-setup OutputBaseFilename={#MyAppName}-{#AppVersion}-setup
ChangesEnvironment=yes ChangesEnvironment=true
OutputDir=..\Build OutputDir=..\Build
Compression=lzma/ultra Compression=lzma/ultra
InternalCompressLevel=ultra InternalCompressLevel=ultra
SolidCompression=true SolidCompression=true
; Installer graphics
WizardImageFile=.\LargeLogo.bmp
WizardSmallImageFile=.\icon.bmp
WizardImageStretch=false
[Languages] [Languages]
Name: english; MessagesFile: compiler:Default.isl 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: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
Name: modifypath; Description: &Add {#MyAppName} folder to your system path; 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] [Files]
Source: ..\Build\Release\cppcheck.exe; DestDir: {app}; Flags: ignoreversion 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: ..\readme.txt; DestDir: {app}; Flags: ignoreversion
Source: ..\AUTHORS; DestDir: {app}; DestName: AUTHORS.txt; Flags: ignoreversion
; VS runtimes ; VS runtimes
Source: {#RuntimesFolder}\Microsoft.VC90.CRT.manifest; DestDir: {app} Source: {#RuntimesFolder}\Microsoft.VC90.CRT.manifest; DestDir: {app}
Source: {#RuntimesFolder}\msvcp90.dll; 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}\{#MyAppName}; Filename: {sys}\cmd.exe; WorkingDir: {app}
Name: {group}\{cm:ProgramOnTheWeb,{#MyAppName}}; Filename: {#MyAppURL} Name: {group}\{cm:ProgramOnTheWeb,{#MyAppName}}; Filename: {#MyAppURL}
Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe} Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}
; Desktop icon
Name: {commondesktop}\{#MyAppName}; Filename: {sys}\cmd.exe; WorkingDir: {app}; Tasks: desktopicon 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] [Code]
function ModPathDir(): TArrayOfString; 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 /Release/cppcheck.exe
/COPYING /COPYING
/readme.txt /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: VS Runtime files:
Copy following files to same folder: Copy following files to same folder:
@ -35,5 +39,5 @@ Creating the installer executable:
#4 Compile the installer #4 Compile the installer
- from menu: Project / Compile Setup - from menu: Project / Compile Setup
If compilation succeeds, the installer executable is created into folder If compilation succeeds, the installer executable is created into /Build
/win_installer/output. The filename is cppcheck-[version]-setup.exe. -folder. The filename is cppcheck-[version]-setup.exe.