Installer: Add docoments to Start-menu.

Add AUTHORS.txt, COPYING.txt and readme.txt to the Start-menu. Files are opened by default .txt file viewer which is usually Notepad.
This commit is contained in:
Kimmo Varis 2009-05-27 19:36:08 +03:00
parent bc935bd7f3
commit c5058aedcb
2 changed files with 8 additions and 0 deletions

View File

@ -90,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;

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: