Installer: Add .txt extension to text files. Windows does not know how to open files without extension in name so add .txt extension when installing for AUTHORS and COPYING.

This commit is contained in:
Kimmo Varis 2009-05-27 18:36:39 +03:00
parent 372fc33c5d
commit bc935bd7f3
1 changed files with 6 additions and 2 deletions

View File

@ -70,11 +70,15 @@ Name: english; MessagesFile: compiler:Default.isl
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; 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]
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: ..\AUTHORS; DestDir: {app}; Flags: ignoreversion
Source: ..\AUTHORS; DestDir: {app}; DestName: AUTHORS.txt; Flags: ignoreversion
; VS runtimes
Source: {#RuntimesFolder}\Microsoft.VC90.CRT.manifest; DestDir: {app}
Source: {#RuntimesFolder}\msvcp90.dll; DestDir: {app}