From 579c5bb6bd9dccce90aec40ae09b89d7fab83639 Mon Sep 17 00:00:00 2001 From: legrand Date: Mon, 26 Nov 2007 09:38:27 +0000 Subject: [PATCH] tagged paradiseo-1.0-win32-preinstaller git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@815 331e1502-861f-0410-8da2-ba01fb791d7f --- .../final_instructions.txt | 13 + .../img/paradiseo.bmp | Bin 0 -> 188454 bytes .../img/paradiseo.ico | Bin 0 -> 5694 bytes .../paradiseo_installer_script.iss | 439 ++++++++++++++++++ 4 files changed, 452 insertions(+) create mode 100644 utilities/tags/paradiseo-1.0-win32-preinstaller/final_instructions.txt create mode 100644 utilities/tags/paradiseo-1.0-win32-preinstaller/img/paradiseo.bmp create mode 100644 utilities/tags/paradiseo-1.0-win32-preinstaller/img/paradiseo.ico create mode 100644 utilities/tags/paradiseo-1.0-win32-preinstaller/paradiseo_installer_script.iss diff --git a/utilities/tags/paradiseo-1.0-win32-preinstaller/final_instructions.txt b/utilities/tags/paradiseo-1.0-win32-preinstaller/final_instructions.txt new file mode 100644 index 000000000..4dd03d728 --- /dev/null +++ b/utilities/tags/paradiseo-1.0-win32-preinstaller/final_instructions.txt @@ -0,0 +1,13 @@ +If the installation is successfull: + -> You are now to compile with the appropriated tool. At the top level of each module you should end-up with a "build" directory containing the configuration files. + +In any case of error: + -> Make sure to have the program corresponding to the generator you have selected. + + +For more information or for help, please write us at: + paradiseo-help@lists.gforge.inria.fr + + +INRIA Dolphin Team + diff --git a/utilities/tags/paradiseo-1.0-win32-preinstaller/img/paradiseo.bmp b/utilities/tags/paradiseo-1.0-win32-preinstaller/img/paradiseo.bmp new file mode 100644 index 0000000000000000000000000000000000000000..c836a2fdbd2440064a7a3c721ebe8ad0bb99f494 GIT binary patch literal 188454 zcmeI52UJ|wna5?P?51avY~t)mvPt%&olV==auT=LiR(Jft~bq&<7^VQ*l{nC5C{+m zL>&egdKsoN!!QgCeTI(cqDd49QA80SItY+tNzVT9^}dXmVT^Pv3&D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vHLF+RrJ8uz=;-EOIlBoP2{yrY0`EFhM%i2z7y{*U)2if$r)<77BxPV+sMvgjKAL*qDdo4LSw5PiR zA&8MSBl)P`GCEv`G6rY6g{aiC90{)rooUi(j#3NH#%^%qp^H+u-6ppXO!=%%1N7@ z7~LYCyd`G0Bp8u^(stbYFL;8A*MnbkejYxaXfZQ>)y&;vpfNdd5UWCZfb0#zuO$|hj@iDY9BoF+B{88njF2Y)sPAY-VnDRJ!X+Lv#QK))hJ3! z?1*udn3eTarMVeuLt6Zy_ILJXFYC|kJ!l-v@efU0F5z3HH+;pS_o>mpPqV%Uhxe}R z0^WO0yl=hT(%W%R9TQ~Irj}%;Xv23V2Jf;Ju7m=xHUk{&Iyr`c2%Ki7$Wr9~6{R*| zTe_R8DzlPdku)+7vq6i{#AsjVfqb1QDI`_qbL`l$@#9BJO^NzQ&umkAPiwU$HB2kp zU1rr|=2|b`U0qt#-guzA)MknE!HqxdwRU*^Tf}Phwbusz;YMd6NjZ3Ybbhk`MqY&M zMuE^wZd&;K{CrKW8Vir>O7rs6k!4v*O@b`fV#34?>Y_|fdwo|!X@NSztc*0o_-hg( zq{zULgO&LznL**3BHuSQw(|JCsj=`qdR@pkuY_64ViUGE$@R(!y+3Q+-`6=77-1mU;oEcx|$?#%lJ( zQw!)5s|qtMs%S%uUwX8+B|{HWCY|Z@_)u3ipiLU1I~?SiO9ttzHx9U6G?UM0ufy)hGfp zW4tjwoO$yph0=bRxT*=j^1xnoH&6g})F1IyD91Xhd^^t8smNxB@AX2yqe z;(ZW%-?Gc#F9%h&2?8B8h1vR~%WWQsdaDtD$(o&7c@jQfBtQZrKmsH{0wh2JBtQZr ZKmsH{0wh2JBtQZrKmsH{0#_G-{{u?Vcqsq? literal 0 HcmV?d00001 diff --git a/utilities/tags/paradiseo-1.0-win32-preinstaller/img/paradiseo.ico b/utilities/tags/paradiseo-1.0-win32-preinstaller/img/paradiseo.ico new file mode 100644 index 0000000000000000000000000000000000000000..0307e1da96bf1ee13b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4bR)1-~)@AWC z3Ah*Bqdm(_4SRkxjU&vemQ_&jT0TX?`jRd$A_#+mu{-o~ z<(3hBN1Zf@AlPhjl4seF!wUDkw8bET3S{a}8M|mJezy8HS93oeRHu<1NzpBc}9X ze77yt-bVP*2EuRM`};cRjPJfR&}$Ud@`KwA_IJqMytLoIX%|ls^wONK?-)6_+&|wB zJ@{n=HCttVVJ)@(E2Y#^esl9Imy!7g7wqvbRT&G!bkmMyw)%|O#^o!tEepNpy&I;b z&)c}kz5S7_=Dk&~DN7i-ZI6D*_UpL@@AYlkr{eER<$k`zm40T<%2h@d+VLOEO)_jQ zcerF94BKs$p*0_PxOjpnyqM2j^1jzuA2ri;1F=@mYLCuBd!wN~Y?+ZD`fHlvwCcmz zadM`EZ9sqI$5*R1nlG3zzH;^7O6GEjxzcjG`9^vpUK^?FcV)_KbdmA<>sZU)qepIE zXcl1FSd%*4g5m$Ng*J4y>2{ArfnFmikEtkAy~XN)zrD|aV`Q@ZbovgRe#;4hP)^rr zU+d)zO*pT3XJ)DOg|%CI7P-7B@~9sF-u^Ftx+m5LVZ1WtG;3=uePYygKbZ*Uu3Ex0 zbR`w2T;}s*&1XdM_aDBYSuXt~b-MErOYIFobBX;Oli;r&p@1M}p7t%}8x1q6Nw;Qe z?R+BpeLc2Ca>)HU^%Xs72J>%Ecba`E z{;k7|h^ITAY^l#t8(tt|ddkTB@~q~k#!-tGxK0K-Wiwl5J7w%7kW;wwSK$fj15f@J_@e&*#lX+xT5VeZ literal 0 HcmV?d00001 diff --git a/utilities/tags/paradiseo-1.0-win32-preinstaller/paradiseo_installer_script.iss b/utilities/tags/paradiseo-1.0-win32-preinstaller/paradiseo_installer_script.iss new file mode 100644 index 000000000..ae9c073a0 --- /dev/null +++ b/utilities/tags/paradiseo-1.0-win32-preinstaller/paradiseo_installer_script.iss @@ -0,0 +1,439 @@ +; ParadisEO install script +; Author: Thomas Legrand + +#define generatorWizardPageIndex= 7 +#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" +#define FinalInstructions="E:\software\paradisEO\repository\utilities\trunk\windows\final_instructions.txt" + +// 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] +AppName={#ApplicationName} +AppVerName={#VersionMain} +AppPublisher={#AboutUS} +AppPublisherURL={#PublisherURL} +AppSupportURL={#SupportURL} +AppUpdatesURL={#UpdatesURL} +DefaultDirName={pf}\{#ApplicationName} +DefaultGroupName={#ApplicationName} +LicenseFile={#LicenceFile} +OutputDir={#OutputPath} +OutputBaseFilename={#InstallerName} +Compression=lzma/max +SolidCompression=yes +WizardImageFile={#WizardMainImage} +SetupIconFile={#SetupIconPath} +UninstallDisplayName={#ApplicationName} +WindowVisible=False +RestartIfNeededByRun=False +ShowTasksTreeLines=True +VersionInfoVersion={#Version} +VersionInfoCompany={#Company} +VersionInfoDescription={#ApplicationName} +VersionInfoTextVersion={#ApplicationName} +InfoAfterFile={#FinalInstructions} + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" +Name: "french"; MessagesFile: "compiler:Languages\French.isl" + +[CustomMessages] +english.CMakeMissing=CMake cannot be found on your computer. You must have CMake installed to use ParadisEO. +english.FullInstall=Full installation +english.CustomInstall=Custom installation +english.EoDescription=EO: Evolving Objects: Library for evolutionnary computation +english.MoDescription=MO: Moving Objects: Single based metaheuristics computation +english.MoeoDescription=MOEO: Multi Objective Evolving Objects +english.ErrorOccured=An error has occured +english.LaunchingBuildProcess=Launching CMake build process... +english.error=Error +english.ErrorAbort=Error,abort. +english.CannotCompleteInstall=Impossible to complete the install of +english.BPFinished=Finished +english.BPSuccessfull=The build process has been successfully performed. +english.SelectCompiler=Select the program you want to use to compile: +english.ChooseGenerator=ParadisEO can be compiled using several generators. +english.GenCMakeFiles=Generate CMake configuration files +english.BuildProcess= +english.NextGenCaption=Click on the 'Next' button to launch the build process and generate the configuration files +english.ProcessingCMake=Generating the configuration files... +english.DolphinMsg=ParadisEO: An INRIA Dolphin Team project - 2007 + +french.CMakeMissing=CMake n'a pas été détecté sur votre ordinateur. CMake doit être installé pour utiliser ParadisEO. +french.FullInstall=Installation complète +french.CustomInstall=Installation personnalisée +french.EoDescription= EO: Evolving Objects: Librairie dédiée aux méthodes évolutionnaires +french.MoDescription= MO: Moving Objects: Métaheuristiques à base de solutions uniques +french.MoeoDescription= MOEO: Multi Objective Evolving Objects: Module multi-objectif +french.ErrorOccured=Une erreur est survenue +french.LaunchingBuildProcess=Construction des fichiers de configuration (build process)... +french.error=Erreur +french.ErrorAbort=Une erreur est survenue, installation annulée. +french.CannotCompleteInstall=Impossible de terminer l'installation de +french.BPFinished=Fin de la construction des fichiers de configuration +french.BPSuccessfull=Succès. +french.SelectCompiler=Sélectionnez le programme que vous souhaitez utiliser pour compiler: +french.ChooseGenerator=ParadisEO peut être compiler par plusieurs programmes. +french.GenCMakeFiles=Générer les fichiers de configuration CMake +french.BuildProcess= +french.NextGenCaption=Cliquez sur le bouton 'Suivant' pour lancer CMake et générer les fichiers de configuration +french.ProcessingCMake=Génération des fichiers de configuration en cours... +french.DolphinMsg=ParadisEO: Un projet de l'équipe INRIA Dolphin - 2007 + +[Types] +Name: "custom"; Description: {cm:CustomInstall}; Flags: iscustom +Name: "full"; Description: {cm:FullInstall} + +[Components] +Name: eo; Description: {cm:EoDescription}; Types: full custom; Flags: fixed +Name: mo; Description:{cm:MoDescription}; Types: full custom; +Name: moeo; Description: {cm:MoeoDescription}; Types: full custom; + +[Files] +Source: {#ParadiseoSourceTag}; DestDir: "{app}"; Excludes: {#SkipParadiseoFiles} ; Flags: ignoreversion recursesubdirs createallsubdirs +Source: {#EoTag}; DestDir: "{app}"; Excludes: "*.~*" ; Flags: ignoreversion recursesubdirs createallsubdirs + +; SPECIFIC CORRECTION - EO TAG NOT MODIFIED, USED TRUNK SOURCES +Source: E:\software\eo\repository\paradiseo-eo\CMakeLists.txt ; DestDir: "{app}\paradiseo-eo"; Excludes: "*.~*" ; Flags: ignoreversion recursesubdirs createallsubdirs +Source: E:\software\eo\repository\paradiseo-eo\src\utils\pipecom.h; DestDir: "{app}\paradiseo-eo\src\utils"; Excludes: "*.~*" ; Flags: ignoreversion recursesubdirs createallsubdirs +Source: E:\software\eo\repository\paradiseo-eo\src\utils\pipecom.cpp; DestDir: "{app}\paradiseo-eo\src\utils"; Excludes: "*.~*" ; Flags: ignoreversion recursesubdirs createallsubdirs +Source: E:\software\eo\repository\paradiseo-eo\src\eoCtrlCContinue.h; DestDir: "{app}\paradiseo-eo\src"; Excludes: "*.~*" ; Flags: ignoreversion recursesubdirs createallsubdirs +Source: E:\software\eo\repository\paradiseo-eo\src\eoCtrlCContinue.cpp; DestDir: "{app}\paradiseo-eo\src"; Excludes: "*.~*" ; Flags: ignoreversion recursesubdirs createallsubdirs + + +[Code] +var + GeneratorPage: TWizardPage; + BuildProcessPage: TWizardPage; + ProgressPage: TOutputProgressWizardPage; + GeneratorBox: TNewCheckListBox; + Generator: String; + ProgressBarLabel: TLabel; + ProgressBar: TNewProgressBar; + + +procedure SetCmakeGenerator(); +begin + if GeneratorBox.Checked[1] then + begin + Generator:='Visual Studio 8 2005' ; + exit; + end; + if GeneratorBox.Checked[2] then + begin + Generator:='Visual Studio 8 2005 Win64' ; + exit; + end; + if GeneratorBox.Checked[3] then + begin + Generator:='Visual Studio 7 .NET 2003' ; + exit; + end; + if GeneratorBox.Checked[4] then + begin + Generator:='Visual Studio 7' ; + exit; + end; + if GeneratorBox.Checked[5] then + begin + Generator:='Visual Studio 6' ; + exit; + end; + if GeneratorBox.Checked[6] then + begin + Generator:='NMake Makefiles' ; + exit; + end; + if GeneratorBox.Checked[7] then + begin + Generator:='MinGW Makefiles' ; + exit; + end; + if GeneratorBox.Checked[8] then + begin + Generator:='Borland Makefiles' ; + exit; + end; + if GeneratorBox.Checked[9] then + begin + Generator:='MSYS Makefiles' ; + exit; + end; + if GeneratorBox.Checked[10] then + begin + Generator:='Watcom WMake' ; + exit; + end; +end; + + +function isError(ErrorCode: Integer): Boolean; +begin + if not (ErrorCode = 0) then + begin + MsgBox(CustomMessage('ErrorOccured') + ': [code='+ IntToStr(ErrorCode) + ']' , mbCriticalError, mb_Ok); + Result:= true; + end else begin + Result:= false; + end; +end; + + +function checkCMakeAvailable(): Integer; +var + ErrorCode: Integer; + FilePath: String; +begin + // Need the app path + FilePath := ExpandConstant('{app}'); + + // launch CMake for MOEO + ShellExec('open', 'cmake.exe','','', SW_SHOWNORMAL, ewWaitUntilTerminated, ErrorCode); + + Result:= ErrorCode; +end; + +function LaunchEOBuildProcess():Integer; +var + ErrorCode: Integer; + FilePath: String; +begin + // Need the app path + FilePath := ExpandConstant('{app}'); + + // launch CMake for EO + ShellExec('open', 'cmake.exe', ' ..\' + ' -G"' + Generator + '"', FilePath +'\paradiseo-eo\build', SW_SHOWNORMAL, ewWaitUntilTerminated, ErrorCode); + + Result:= ErrorCode; +end; + + +function LaunchMOBuildProcess(): Integer; +var + ErrorCode: Integer; + FilePath: String; +begin + // Need the app path + FilePath := ExpandConstant('{app}'); + + // launch CMake for MOEO + ShellExec('open', 'cmake.exe', ' ..\' + ' -G"' + Generator + '" -Dconfig="'+FilePath + '\install.cmake"', FilePath +'\paradiseo-mo\build', SW_SHOWNORMAL, ewWaitUntilTerminated, ErrorCode); + + Result:= ErrorCode; +end; + + +function LaunchMOEOBuildProcess(): Integer; +var + ErrorCode: Integer; + FilePath: String; +begin + // Need the app path + FilePath := ExpandConstant('{app}'); + + // launch CMake for MOEO + ShellExec('open', 'cmake.exe', ' ..\' + ' -G"' + Generator + '" -Dconfig="'+FilePath + '\install.cmake"', FilePath +'\paradiseo-moeo\build', SW_SHOWNORMAL, ewWaitUntilTerminated, ErrorCode); + + Result:= ErrorCode; +end; + + + +procedure updateProgressBar(StartFrom: Integer;ProgressPurcentage: Integer); +var + I: Integer; +begin + try + for I := StartFrom to ProgressPurcentage do begin + ProgressPage.SetProgress(I, 100); + Sleep(50); + end; + finally + end; +end; + + +procedure CurStepChanged(CurStep: TSetupStep); +begin + if CurStep = ssInstall then begin + if (isError(checkCMakeAvailable())) then begin + MsgBox(CustomMessage('CMakeMissing'), mbCriticalError, mb_Ok); + Abort; + end; + end; +end; + +function NextButtonClick(CurPageID: Integer): Boolean; +var + I: Integer; +begin + if (CurPageID = BuildProcessPage.ID) then begin + ProgressPage.SetText('',CustomMessage('LaunchingBuildProcess')); + updateProgressBar(0,0); + ProgressPage.Show; + + SetCmakeGenerator(); + updateProgressBar(0,5); + + if (isError(launchEOBuildProcess())) then + begin + ProgressPage.SetText(CustomMessage('Error'), CustomMessage('ErrorAbort')); + MsgBox(CustomMessage('CannotCompleteInstall')+' ParadisEO-EO' , mbCriticalError, mb_Ok); + ProgressPage.Hide; + Result := True; + exit; + end; + updateProgressBar(5,50); + + if IsComponentSelected('mo') then + begin + if (isError(launchMOBuildProcess())) then + begin + ProgressPage.SetText(CustomMessage('Error'), CustomMessage('ErrorAbort')); + MsgBox(CustomMessage('CannotCompleteInstall')+' ParadisEO-MO' , mbCriticalError, mb_Ok); + ProgressPage.Hide; + Result := True; + exit; + end; + end; + updateProgressBar(50,80); + + if IsComponentSelected('moeo') then + begin + if (isError(launchMOEOBuildProcess())) then + begin + ProgressPage.SetText(CustomMessage('Error'), CustomMessage('ErrorAbort')); + MsgBox(CustomMessage('CannotCompleteInstall')+' ParadisEO-MOEO' , mbCriticalError, mb_Ok); + ProgressPage.Hide; + Result := True; + exit; + end; + end; + updateProgressBar(80,100); + + ProgressPage.SetText(CustomMessage('BPFinished'), CustomMessage('BPSuccessfull')); + sleep(2000); + ProgressPage.Hide; + end; + Result := True; +end; + + + + +procedure CreateTheWizardPages; +var + Lbl: TLabel; +begin + GeneratorPage := CreateCustomPage({#generatorWizardPageIndex}, CustomMessage('ChooseGenerator'), ''); + GeneratorBox := TNewCheckListBox.Create(GeneratorPage); + GeneratorBox.Top := ScaleY(0); + GeneratorBox.Width := GeneratorPage.SurfaceWidth; + GeneratorBox.Height := ScaleY(250); + GeneratorBox.BorderStyle := bsNone; + GeneratorBox.ParentColor := True; + GeneratorBox.MinItemHeight := WizardForm.TasksList.MinItemHeight; + GeneratorBox.ShowLines := False; + GeneratorBox.WantTabs := True; + GeneratorBox.Parent := GeneratorPage.Surface; + GeneratorBox.AddGroup(CustomMessage('SelectCompiler'), '', 0, nil); + GeneratorBox.AddRadioButton('Visual Studio 8 2005', '', 0, True, True, nil); + GeneratorBox.AddRadioButton('Visual Studio 8 2005 Win64', '', 0, False, True, nil); + GeneratorBox.AddRadioButton('Visual Studio 7 .NET 2003', '', 0, False, True, nil); + GeneratorBox.AddRadioButton('Visual Studio 7', '', 0, False, True, nil); + GeneratorBox.AddRadioButton('Visual Studio 6', '', 0, False, True, nil); + GeneratorBox.AddRadioButton('NMake', '', 0, False, True, nil); + GeneratorBox.AddRadioButton('MinGW', '', 0, False, True, nil); + GeneratorBox.AddRadioButton('Borland', '', 0, False, True, nil); + GeneratorBox.AddRadioButton('MSYS', '', 0, False, True, nil); + GeneratorBox.AddRadioButton('Watcom WMake', '', 0, False, True, nil); + + BuildProcessPage := CreateCustomPage({#launchBuildWizardPageIndex},CustomMessage('GenCMakeFiles'),CustomMessage('BuildProcess')); + + Lbl := TLabel.Create(BuildProcessPage); + Lbl.Top := ScaleY(20); + Lbl.Caption :=CustomMessage('NextGenCaption'); + Lbl.AutoSize := True; + Lbl.Parent := BuildProcessPage.Surface; + + ProgressPage := CreateOutputProgressPage(CustomMessage('ProcessingCMake'),CustomMessage('BuildProcess')); +end; + +procedure AboutButtonOnClick(Sender: TObject); +begin + MsgBox(CustomMessage('DolphinMsg'), mbInformation, mb_Ok); +end; + + +procedure URLLabelOnClick(Sender: TObject); +var + ErrorCode: Integer; +begin + ShellExec('open', 'http://paradiseo.gforge.inria.fr', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode); +end; + + +procedure InitializeWizard(); +var + AboutButton, CancelButton: TButton; + URLLabel: TNewStaticText; + BackgroundBitmapImage: TBitmapImage; + BackgroundBitmapText: TNewStaticText; +begin + CreateTheWizardPages; + CancelButton := WizardForm.CancelButton; + + AboutButton := TButton.Create(WizardForm); + AboutButton.Left := WizardForm.ClientWidth - CancelButton.Left - CancelButton.Width - ScaleX(5); + AboutButton.Top := CancelButton.Top; + AboutButton.Width := CancelButton.Width; + AboutButton.Height := CancelButton.Height; + AboutButton.Caption := '&About...'; + AboutButton.OnClick := @AboutButtonOnClick; + AboutButton.Parent := WizardForm; + + URLLabel := TNewStaticText.Create(WizardForm); + URLLabel.Caption := 'http://paradiseo.gforge.inria.fr'; + URLLabel.Cursor := crHand; + URLLabel.OnClick := @URLLabelOnClick; + URLLabel.Parent := WizardForm; + URLLabel.Font.Style := URLLabel.Font.Style + [fsUnderline]; + URLLabel.Font.Color := clBlue; + URLLabel.Top := AboutButton.Top + AboutButton.Height - URLLabel.Height - 2; + URLLabel.Left := AboutButton.Left + AboutButton.Width + ScaleX(10); +end; + + +[UninstallDelete] +Type: files; Name: "{app}\*" +Type: filesandordirs; Name: "{app}\*" + +