From: <ah...@us...> - 2013-05-14 21:38:30
|
Revision: 13511 http://jvcl.svn.sourceforge.net/jvcl/?rev=13511&view=rev Author: ahuser Date: 2013-05-14 21:38:20 +0000 (Tue, 14 May 2013) Log Message: ----------- XE4 support for InnoSetup installer Modified Paths: -------------- trunk/jvcl/install/ISS/BuildSetup.bat trunk/jvcl/install/ISS/CompInstall.dll trunk/jvcl/install/ISS/IdeComponents.iss trunk/jvcl/install/ISS/Install.iss Modified: trunk/jvcl/install/ISS/BuildSetup.bat =================================================================== --- trunk/jvcl/install/ISS/BuildSetup.bat 2013-05-14 15:55:18 UTC (rev 13510) +++ trunk/jvcl/install/ISS/BuildSetup.bat 2013-05-14 21:38:20 UTC (rev 13511) @@ -16,18 +16,14 @@ SET JVCLBUILTDIR=%SETUPDIR%\setupbuild :: == Find JCL root dir == -SET JCLROOT=%JVCLROOT%\..\jcl -if exist "%JCLROOT%\source\common\JclBase.pas" goto JclRootDirFound -:: Try the "trunk" checkout SET JCLROOT=%JVCLROOT%\..\jcl\jcl -if not exist "%JCLROOT%\source\common\JclBase.pas" goto NoRootDirFound +if exist "%JCLROOT%\source\common\JclBase.pas" goto JclRootDirFound +goto NoRootDirFound :JclRootDirFound -SET JCLBUILTDIR=%JCLROOT%\..\JclInnoSetup\setupbuild +SET JCLBUILTDIR=%JCLROOT%\..\thirdparty\InnoSetup\setupbuild if not exist "%JCLROOT%\..\Install.iss" goto JclInnoSetupDirFound -:: Try the "trunk" checkout -SET JCLBUILTDIR=%JCLROOT%\..\InnoSetup\setupbuild -if not exist "%JCLROOT%\..\Install.iss" goto NoJclInnoSetupDirFound +goto NoJclInnoSetupDirFound :JclInnoSetupDirFound SET InnoSetupDir=%JCLBUILTDIR%\..\InnoSetup Modified: trunk/jvcl/install/ISS/CompInstall.dll =================================================================== (Binary files differ) Modified: trunk/jvcl/install/ISS/IdeComponents.iss =================================================================== --- trunk/jvcl/install/ISS/IdeComponents.iss 2013-05-14 15:55:18 UTC (rev 13510) +++ trunk/jvcl/install/ISS/IdeComponents.iss 2013-05-14 21:38:20 UTC (rev 13511) @@ -34,3 +34,6 @@ #ifdef Include_Delphi17 Name: "IDE\Delphi17"; Description: "Install for RAD Studio XE3"; Types: full prefered; Check: IsDelphiInstalled(17) #endif +#ifdef Include_Delphi18 +Name: "IDE\Delphi18"; Description: "Install for RAD Studio XE4"; Types: full prefered; Check: IsDelphiInstalled(18) +#endif Modified: trunk/jvcl/install/ISS/Install.iss =================================================================== --- trunk/jvcl/install/ISS/Install.iss 2013-05-14 15:55:18 UTC (rev 13510) +++ trunk/jvcl/install/ISS/Install.iss 2013-05-14 21:38:20 UTC (rev 13511) @@ -19,8 +19,6 @@ #define Include_Examples #include "Settings.iss" -; get the JCL version -#include "..\..\..\JclInnoSetup\Settings.iss" #define MyAppId "Jedi Visual Component Library" #define MyAppName "JEDI Visual Component Library" @@ -59,6 +57,9 @@ #define JvclLib17 JvclLib #define JvclBpl17 JvclBpl #define JvclHpp17 JvclHpp +#define JvclLib18 JvclLib +#define JvclBpl18 JvclBpl +#define JvclHpp18 JvclHpp #endif @@ -167,40 +168,58 @@ Name: "{app}\bin" Name: "{app}\dcu" ; DCU/OBJ output directories +; Delphi 6 Name: "{app}\lib\d6" Name: "{app}\lib\d6\debug" +; Delphi 7 Name: "{app}\lib\d7" Name: "{app}\lib\d7\debug" +; 2005 Name: "{app}\lib\d9" Name: "{app}\lib\d9\debug" +; 2006 Name: "{app}\lib\d10" Name: "{app}\lib\d10\debug" +; 2007 Name: "{app}\lib\d11" Name: "{app}\lib\d11\debug" +; 2009 Name: "{app}\lib\d12" Name: "{app}\lib\d12\debug" +; 2010 Name: "{app}\lib\d14" Name: "{app}\lib\d14\debug" +; XE Name: "{app}\lib\d15" Name: "{app}\lib\d15\debug" -Name: "{app}\lib\d16\" +; XE2 +Name: "{app}\lib\d16" Name: "{app}\lib\d16\win32" Name: "{app}\lib\d16\win32\debug" Name: "{app}\lib\d16\win64" Name: "{app}\lib\d16\win64\debug" +; XE3 +Name: "{app}\lib\d17" Name: "{app}\lib\d17\win32" Name: "{app}\lib\d17\win32\debug" Name: "{app}\lib\d17\win64" Name: "{app}\lib\d17\win64\debug" +; XE4 +Name: "{app}\lib\d18" +Name: "{app}\lib\d18\win32" +Name: "{app}\lib\d18\win32\debug" +Name: "{app}\lib\d18\win64" +Name: "{app}\lib\d18\win64\debug" + [Files] -Source: {#JvclRoot}\*; DestDir: "{app}"; Flags: ignoreversion +Source: {#JvclRoot}\*; DestDir: "{app}"; Excludes: ".git,.svn"; Flags: ignoreversion Source: {#JvclRoot}\bin\*.csv; DestDir: "{app}\bin"; Flags: ignoreversion Source: {#JvclRoot}\bin\*.bmp; DestDir: "{app}\bin"; Flags: ignoreversion Source: {#JvclRoot}\bin\*.mdb; DestDir: "{app}\bin"; Flags: ignoreversion Source: {#JvclRoot}\bin\Data\*; DestDir: "{app}\bin\Data"; Flags: ignoreversion Source: {#JvclRoot}\common\*.inc; DestDir: "{app}\common"; Excludes: "jedi.inc"; Flags: ignoreversion -Source: {#JvclRoot}\common\jedi\*; DestDir: "{app}\common"; Flags: ignoreversion +Source: {#JvclRoot}\common\jedi\*; DestDir: "{app}\common"; Excludes: ".git"; Flags: ignoreversion Source: {#JvclRoot}\run\*.pas; DestDir: "{app}\run"; Flags: ignoreversion Source: {#JvclRoot}\run\*.dfm; DestDir: "{app}\run"; Flags: ignoreversion Source: {#JvclRoot}\design\*.pas; DestDir: "{app}\design"; Flags: ignoreversion @@ -282,6 +301,13 @@ Source: {#JvclBpl17}\Win64\*; DestDir: "{code:GetDelphiBplDir|17}\Win64"; Components: "IDE\Delphi17"; Flags: ignoreversion sortfilesbyextension Source: {#JvclHpp17}\*; DestDir: "{app}\include\d17"; Components: "IDE\Delphi17"; Flags: ignoreversion sortfilesbyextension #endif +#ifdef Include_Delphi18 +; SolidBreak; lib\Delphi XE4 +Source: {#JvclLib18}\*; DestDir: "{app}\lib\d18"; Excludes: ".svn,__history,*.txt"; Components: "IDE\Delphi18"; Flags: ignoreversion recursesubdirs sortfilesbyextension createallsubdirs solidbreak +Source: {#JvclBpl18}\*; DestDir: "{code:GetDelphiBplDir|18}"; Components: "IDE\Delphi18"; Flags: ignoreversion sortfilesbyextension +Source: {#JvclBpl18}\Win64\*; DestDir: "{code:GetDelphiBplDir|18}\Win64"; Components: "IDE\Delphi18"; Flags: ignoreversion sortfilesbyextension +Source: {#JvclHpp18}\*; DestDir: "{app}\include\d18"; Components: "IDE\Delphi18"; Flags: ignoreversion sortfilesbyextension +#endif #endif @@ -377,6 +403,15 @@ Root: HKCU; Subkey: "{code:GetDelphiRegKey|17}\Jedi\JVCL\IDE"; ValueType: dword; ValueName: "RegisterGlobalDesignEditors"; ValueData: 1; Components: "Options\RegisterGlobalDesignEditors"; Flags: uninsdeletevalue; Root: HKCU; Subkey: "{code:GetDelphiRegKey|17}\Globals"; ValueType: string; ValueName: "ForceEnvOptionsUpdate"; ValueData: "1"; Components: "IDE\Delphi17"; #endif +#ifdef Include_Delphi18 +; Delphi XE4 +Root: HKCU; Subkey: "{code:GetDelphiRegKey|18}\Jedi\JVCL"; ValueType: string; ValueName: "BplDir"; ValueData: {code:GetDelphiBplDir|18}; Components: "IDE\Delphi18"; Flags: uninsdeletevalue; +Root: HKCU; Subkey: "{code:GetDelphiRegKey|18}\Jedi\JVCL"; ValueType: string; ValueName: "DcpDir"; ValueData: {app}\lib\d18; Components: "IDE\Delphi18"; Flags: uninsdeletevalue; +Root: HKCU; Subkey: "{code:GetDelphiRegKey|18}\Jedi\JVCL"; ValueType: string; ValueName: "RootDir"; ValueData: {app}; Components: "IDE\Delphi18"; Flags: uninsdeletevalue; +Root: HKCU; Subkey: "{code:GetDelphiRegKey|18}\Jedi\JVCL"; ValueType: string; ValueName: "Version"; ValueData: {#JvclVersionStr}; Components: "IDE\Delphi18"; Flags: uninsdeletevalue; +Root: HKCU; Subkey: "{code:GetDelphiRegKey|18}\Jedi\JVCL\IDE"; ValueType: dword; ValueName: "RegisterGlobalDesignEditors"; ValueData: 1; Components: "Options\RegisterGlobalDesignEditors"; Flags: uninsdeletevalue; +Root: HKCU; Subkey: "{code:GetDelphiRegKey|18}\Globals"; ValueType: string; ValueName: "ForceEnvOptionsUpdate"; ValueData: "1"; Components: "IDE\Delphi18"; +#endif #endif @@ -444,6 +479,15 @@ Type: files; Name: "{app}\include\d17\*" Type: files; Name: "{code:GetDelphiBplDir|17}\Jv*.*" Type: files; Name: "{code:GetDelphiBplDir|17}\Win64\Jv*.*" +; lib\Delphi/C++Builder XE4 +Type: files; Name: "{app}\lib\d18\win32\*" +Type: files; Name: "{app}\lib\d18\win32\debug\*" +Type: files; Name: "{app}\lib\d18\win64\*" +Type: files; Name: "{app}\lib\d18\win64\debug\*" +Type: files; Name: "{app}\include\d18\*" +Type: files; Name: "{code:GetDelphiBplDir|18}\Jv*.*" +Type: files; Name: "{code:GetDelphiBplDir|18}\Win64\Jv*.*" + [Icons] Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}" Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |