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:
parent
bc935bd7f3
commit
c5058aedcb
|
@ -90,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;
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue