- Always create fpc.cfg.

- Remove compilertest.pas on uninstall.

git-svn-id: trunk@6113 -
This commit is contained in:
vincents 2004-10-04 14:27:53 +00:00
parent 82eee573aa
commit 3b411e37e4
2 changed files with 9 additions and 4 deletions

View File

@ -65,5 +65,5 @@ rd /s /q %BUILDDIR% > NUL
SET PATH=%OLDPATH%
ECHO Finished at:
ECHO Finished at: >> %LOGFILE%
%FPCBINDIR%\gdate >> %LOGFILE%

View File

@ -12,12 +12,15 @@ AppVerName={#AppName} {#AppVersion}
AppPublisherURL=http://www.lazarus.freepascal.org/
AppSupportURL=http://www.lazarus.freepascal.org/
AppUpdatesURL=http://www.lazarus.freepascal.org/
LicenseFile={#BuildDir}\COPYING
LicenseFile={#BuildDir}\COPYING.GPL
DefaultDirName={code:GetDefDir|c:\lazarus}
DefaultGroupName={#AppName}
OutputBaseFilename={#AppName}-{#AppVersion}-{#SetupDate}
OutputBaseFilename={#AppName}-{#AppVersion}-{#SetupDate}-win32
InternalCompressLevel=ultra
SolidCompression=true
VersionInfoVersion={#AppVersion}
VersionInfoTextVersion={#AppVersion}-{#SetupDate}
ShowLanguageDialog=yes
[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
@ -26,7 +29,7 @@ Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:Ad
Source: {#BuildDir}\*.*; DestDir: {app}; Flags: recursesubdirs
Source: environmentoptions.xml; DestDir: {app}; Flags: onlyifdoesntexist; AfterInstall: UpdateEnvironmentOptions
Source: editoroptions.xml; DestDir: {app}; Flags: onlyifdoesntexist
Source: samplefpc.cfg; DestDir: {app}\pp\bin\win32; Flags: onlyifdoesntexist; AfterInstall: UpdateFpcCfg; DestName: fpc.cfg
Source: samplefpc.cfg; DestDir: {app}\pp\bin\win32; AfterInstall: UpdateFpcCfg; DestName: fpc.cfg
[Icons]
Name: {group}\{#AppName}; Filename: {app}\startlazarus.exe
@ -93,3 +96,5 @@ begin
StringChange(Content, '$1', ExpandConstant('{app}\pp'));
SaveStringToFile(FileName, Content, False);
end;
[UninstallDelete]
Name: {app}\compilertest.pas; Type: files