From d4e6d421040c965f3cd17dece891b9ba307e1fb8 Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Mon, 6 Jul 2009 11:02:45 +0300 Subject: [PATCH] Installer: Add option to create desktop icon for GUI. --- win_installer/cppcheck.iss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/win_installer/cppcheck.iss b/win_installer/cppcheck.iss index 53c01039d..5e1e9c2d9 100644 --- a/win_installer/cppcheck.iss +++ b/win_installer/cppcheck.iss @@ -83,6 +83,7 @@ Name: QTGui; Description: GUI [Beta]; Types: full [Tasks] Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked +Name: guidesktopicon; Description: Create a desktop icon for GUI; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked Name: modifypath; Description: &Add {#MyAppName} folder to your system path; Flags: unchecked [InstallDelete] @@ -119,8 +120,9 @@ Name: {group}\{#MyAppName}; Filename: {sys}\cmd.exe; WorkingDir: {app}; Componen Name: {group}\{#QTGuiName}; Filename: {app}\{#QTGuiExe}; WorkingDir: {app}; Components: QTGui Name: {group}\{cm:ProgramOnTheWeb,{#MyAppName}}; Filename: {#MyAppURL}; Components: Core Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}; Components: Core -; Desktop icon +; Desktop icons Name: {commondesktop}\{#MyAppName}; Filename: {sys}\cmd.exe; WorkingDir: {app}; Tasks: desktopicon; Components: Core +Name: {commondesktop}\{#QTGuiName}; Filename: {app}\{#QTGuiExe}; WorkingDir: {app}; Tasks: guidesktopicon; Components: QTGui ; Doc icons Name: {group}\Authors; Filename: {app}\AUTHORS.txt; IconFileName: {win}\NOTEPAD.EXE; Components: Core Name: {group}\Copying; Filename: {app}\COPYING.txt; IconFileName: {win}\NOTEPAD.EXE; Components: Core