patch [ 2508523 ] Windows installer (with readme.txt based on patch comments)
This commit is contained in:
parent
a5e2787f72
commit
046222ba57
|
@ -0,0 +1,69 @@
|
|||
; cppcheck InnoSetup installer script
|
||||
; Copyright (c) 2009 Kimmo Varis
|
||||
|
||||
; This program is free software: you can redistribute it and/or modify
|
||||
; it under the terms of the GNU General Public License as published by
|
||||
; the Free Software Foundation, either version 3 of the License, or
|
||||
; (at your option) any later version.
|
||||
;
|
||||
; This program is distributed in the hope that it will be useful,
|
||||
; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
; GNU General Public License for more details.
|
||||
;
|
||||
; You should have received a copy of the GNU General Public License
|
||||
; along with this program. If not, see <http://www.gnu.org/licenses/
|
||||
|
||||
; To create an installer, get the latest InnoSetup installer creation
|
||||
; program from: http://www.jrsoftware.org/
|
||||
|
||||
|
||||
#define MyAppName "cppcheck"
|
||||
#define AppVersion "1.27"
|
||||
; #define MyAppVerName "cppcheck 1.27"
|
||||
#define MyAppURL "http://sourceforge.net/projects/cppcheck/"
|
||||
#define MyAppExeName "cppcheck.exe"
|
||||
|
||||
[Setup]
|
||||
; NOTE: The value of AppId uniquely identifies this application.
|
||||
; Do not use the same AppId value in installers for other applications.
|
||||
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
||||
AppId={{48254FD9-669B-4A53-A060-D56EB50DDF72}
|
||||
AppName={#MyAppName}
|
||||
AppVersion={#AppVersion}
|
||||
AppVerName={#MyAppName} {#AppVersion}
|
||||
AppPublisherURL={#MyAppURL}
|
||||
AppSupportURL={#MyAppURL}
|
||||
AppUpdatesURL={#MyAppURL}
|
||||
DefaultDirName={pf}\{#MyAppName}
|
||||
DefaultGroupName={#MyAppName}
|
||||
AllowNoIcons=yes
|
||||
LicenseFile=..\COPYING
|
||||
|
||||
OutputBaseFilename={#MyAppName}-{#AppVersion}-setup
|
||||
|
||||
Compression=lzma/ultra
|
||||
InternalCompressLevel=ultra
|
||||
SolidCompression=true
|
||||
|
||||
[Languages]
|
||||
Name: english; MessagesFile: compiler:Default.isl
|
||||
|
||||
[Tasks]
|
||||
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
|
||||
|
||||
[Files]
|
||||
Source: ..\Release\cppcheck.exe; DestDir: {app}; Flags: ignoreversion
|
||||
Source: ..\COPYING; DestDir: {app}; Flags: ignoreversion
|
||||
Source: ..\readme.txt; DestDir: {app}; Flags: ignoreversion
|
||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||
|
||||
[Icons]
|
||||
; As cppcheck is a program run from command prompt, make icons to open
|
||||
; command prompt in install folder
|
||||
Name: {group}\{#MyAppName}; Filename: {sys}\cmd.exe; WorkingDir: {app}
|
||||
Name: {group}\{cm:ProgramOnTheWeb,{#MyAppName}}; Filename: {#MyAppURL}
|
||||
Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}
|
||||
Name: {commondesktop}\{#MyAppName}; Filename: {sys}\cmd.exe; WorkingDir: {app}; Tasks: desktopicon
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
Simple Windows installer installing executable, license file and readme.txt to program
|
||||
files/cppcheck folder.
|
||||
|
||||
Shortcuts are created to start cmd.exe in installation folder. So when
|
||||
user selects start menu/desktop icon he gets command prompt in cppcheck
|
||||
folder.
|
||||
|
||||
I'm just attaching the script file. Copy it to 'win_installer' -folder
|
||||
in cppcheck folder. It expects to find ../Release/cppcheck.exe.
|
||||
|
||||
Get the InnoSetup from:
|
||||
http://www.innosetup.com/
|
||||
Be sure to download the 'QuickStart Pack' as it installs some nice tools
|
||||
like preprocessor support.
|
Loading…
Reference in New Issue