added generic variables
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@803 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
ca8d7aae83
commit
159a111f11
1 changed files with 53 additions and 24 deletions
|
|
@ -4,30 +4,60 @@
|
||||||
#define generatorWizardPageIndex= 7
|
#define generatorWizardPageIndex= 7
|
||||||
#define launchBuildWizardPageIndex= 12
|
#define launchBuildWizardPageIndex= 12
|
||||||
|
|
||||||
|
//***************************************************************************************//
|
||||||
|
//********** ParadisEO Specific strategy - The rest of the code is generic ************* //
|
||||||
|
//***************************************************************************************//
|
||||||
|
|
||||||
|
// where will the installer be created ?
|
||||||
|
#define OutputPath="E:\software\paradisEO\windows installer\compiler output"
|
||||||
|
|
||||||
|
// installer source info
|
||||||
|
#define ParadiseoSourceTag="E:\software\paradisEO\repository\tags\paradiseo-ix86-1.0\*"
|
||||||
|
#define EoTag="E:\software\eo\repository\tag_v_peo_1_0\*"
|
||||||
|
|
||||||
|
// installer description info
|
||||||
|
#define Version="1.0"
|
||||||
|
#define VersionMain="ParadisEO-ix86-1.0"
|
||||||
|
#define InstallerName="paradiseo-1.0-win32-preinstaller"
|
||||||
|
#define ApplicationName="ParadisEO"
|
||||||
|
#define SetupIconPath="E:\software\paradisEO\repository\utilities\trunk\windows\img\paradiseo.ico"
|
||||||
|
#define WizardMainImage="E:\software\paradisEO\repository\utilities\trunk\windows\img\paradiseo.bmp"
|
||||||
|
#define SkipParadiseoFiles="lib,installParadisEO.sh,paradiseo-peo,.mpd.conf"
|
||||||
|
#define LicenceFile="E:\software\paradisEO\repository\trunk\LICENSE"
|
||||||
|
|
||||||
|
// additionnal info
|
||||||
|
#define Company="INRIA"
|
||||||
|
#define AboutUS="INRIA Futurs Dolphin Project-team"
|
||||||
|
#define PublisherURL="http://paradiseo.gforge.inria.fr"
|
||||||
|
#define SupportURL="http://paradiseo.gforge.inria.fr"
|
||||||
|
#define UpdatesURL="http://paradiseo.gforge.inria.fr"
|
||||||
|
|
||||||
|
//***************************************************************************************//
|
||||||
|
|
||||||
[Setup]
|
[Setup]
|
||||||
AppName=ParadisEO
|
AppName={#ApplicationName}
|
||||||
AppVerName=ParadisEO-ix86-1.0
|
AppVerName={#VersionMain}
|
||||||
AppPublisher=INRIA Futurs Dolphin Project-team
|
AppPublisher={#AboutUS}
|
||||||
AppPublisherURL=http://paradiseo.gforge.inria.fr
|
AppPublisherURL={#PublisherURL}
|
||||||
AppSupportURL=http://paradiseo.gforge.inria.fr
|
AppSupportURL={#SupportURL}
|
||||||
AppUpdatesURL=http://paradiseo.gforge.inria.fr
|
AppUpdatesURL={#UpdatesURL}
|
||||||
DefaultDirName={pf}\ParadisEO
|
DefaultDirName={pf}\{#ApplicationName}
|
||||||
DefaultGroupName=ParadisEO
|
DefaultGroupName={#ApplicationName}
|
||||||
LicenseFile=E:\software\paradisEO\repository\trunk\LICENSE
|
LicenseFile={#LicenceFile}
|
||||||
OutputDir=E:\software\paradisEO\windows installer\compiler output
|
OutputDir={#OutputPath}
|
||||||
OutputBaseFilename=paradiseo-1.0-win32-preinstaller
|
OutputBaseFilename={#InstallerName}
|
||||||
Compression=lzma/max
|
Compression=lzma/max
|
||||||
SolidCompression=yes
|
SolidCompression=yes
|
||||||
WizardImageFile=E:\software\paradisEO\repository\utilities\trunk\windows\img\paradiseo.bmp
|
WizardImageFile={#WizardMainImage}
|
||||||
SetupIconFile=E:\software\paradisEO\repository\utilities\trunk\windows\img\paradiseo.ico
|
SetupIconFile={#SetupIconPath}
|
||||||
UninstallDisplayName=ParadisEO
|
UninstallDisplayName={#ApplicationName}
|
||||||
WindowVisible=False
|
WindowVisible=False
|
||||||
RestartIfNeededByRun=False
|
RestartIfNeededByRun=False
|
||||||
ShowTasksTreeLines=True
|
ShowTasksTreeLines=True
|
||||||
VersionInfoVersion=1.0
|
VersionInfoVersion={#Version}
|
||||||
VersionInfoCompany=INRIA
|
VersionInfoCompany={#Company}
|
||||||
VersionInfoDescription=ParadisEO
|
VersionInfoDescription={#ApplicationName}
|
||||||
VersionInfoTextVersion=ParadisEO
|
VersionInfoTextVersion={#ApplicationName}
|
||||||
|
|
||||||
[Languages]
|
[Languages]
|
||||||
Name: "english"; MessagesFile: "compiler:Default.isl"
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||||
|
|
@ -86,8 +116,8 @@ Name: mo; Description:{cm:MoDescription}; Types: full custom;
|
||||||
Name: moeo; Description: {cm:MoeoDescription}; Types: full custom;
|
Name: moeo; Description: {cm:MoeoDescription}; Types: full custom;
|
||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Source: "E:\software\paradisEO\repository\tags\paradiseo-ix86-1.0\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
Source: {#ParadiseoSourceTag}; DestDir: "{app}"; Excludes: {#SkipParadiseoFiles} ; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
Source: {#EoTag}; DestDir: "{app}"; Excludes: "*.~*" ; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
|
||||||
[Code]
|
[Code]
|
||||||
var
|
var
|
||||||
|
|
@ -251,7 +281,7 @@ begin
|
||||||
if (isError(launchEOBuildProcess())) then
|
if (isError(launchEOBuildProcess())) then
|
||||||
begin
|
begin
|
||||||
ProgressPage.SetText(CustomMessage('Error'), CustomMessage('ErrorAbort'));
|
ProgressPage.SetText(CustomMessage('Error'), CustomMessage('ErrorAbort'));
|
||||||
MsgBox(CustomMessage('CannotCompleteInstall')+'ParadisEO-EO' , mbCriticalError, mb_Ok);
|
MsgBox(CustomMessage('CannotCompleteInstall')+' ParadisEO-EO' , mbCriticalError, mb_Ok);
|
||||||
ProgressPage.Hide;
|
ProgressPage.Hide;
|
||||||
Result := True;
|
Result := True;
|
||||||
exit;
|
exit;
|
||||||
|
|
@ -263,7 +293,7 @@ begin
|
||||||
if (isError(launchMOBuildProcess())) then
|
if (isError(launchMOBuildProcess())) then
|
||||||
begin
|
begin
|
||||||
ProgressPage.SetText(CustomMessage('Error'), CustomMessage('ErrorAbort'));
|
ProgressPage.SetText(CustomMessage('Error'), CustomMessage('ErrorAbort'));
|
||||||
MsgBox(CustomMessage('CannotCompleteInstall')+'ParadisEO-MO' , mbCriticalError, mb_Ok);
|
MsgBox(CustomMessage('CannotCompleteInstall')+' ParadisEO-MO' , mbCriticalError, mb_Ok);
|
||||||
ProgressPage.Hide;
|
ProgressPage.Hide;
|
||||||
Result := True;
|
Result := True;
|
||||||
exit;
|
exit;
|
||||||
|
|
@ -276,7 +306,7 @@ begin
|
||||||
if (isError(launchMOEOBuildProcess())) then
|
if (isError(launchMOEOBuildProcess())) then
|
||||||
begin
|
begin
|
||||||
ProgressPage.SetText(CustomMessage('Error'), CustomMessage('ErrorAbort'));
|
ProgressPage.SetText(CustomMessage('Error'), CustomMessage('ErrorAbort'));
|
||||||
MsgBox(CustomMessage('CannotCompleteInstall')+'ParadisEO-MOEO' , mbCriticalError, mb_Ok);
|
MsgBox(CustomMessage('CannotCompleteInstall')+' ParadisEO-MOEO' , mbCriticalError, mb_Ok);
|
||||||
ProgressPage.Hide;
|
ProgressPage.Hide;
|
||||||
Result := True;
|
Result := True;
|
||||||
exit;
|
exit;
|
||||||
|
|
@ -286,7 +316,6 @@ begin
|
||||||
|
|
||||||
ProgressPage.SetText(CustomMessage('BPFinished'), CustomMessage('BPSuccessfull'));
|
ProgressPage.SetText(CustomMessage('BPFinished'), CustomMessage('BPSuccessfull'));
|
||||||
sleep(2000);
|
sleep(2000);
|
||||||
ProgressPage.SetText('Fin','Vous devez maintenant compiler');
|
|
||||||
ProgressPage.Hide;
|
ProgressPage.Hide;
|
||||||
end;
|
end;
|
||||||
Result := True;
|
Result := True;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue