11; Script generated by the Inno Setup Script Wizard.
22; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33
4+ #define AppName "CodeLite"
5+ #define AppAuthor "Eran Ifrah"
6+ #define CurrentYear GetDateTimeString('yyyy','','')
7+ #define SupportURL "https://codelite.org"
8+
9+ ; external file with language and custom message definitions
10+ #include "@CL_SRC_ROOT@/InnoSetup/codelite64_mingw.localization.iss.in"
11+
412[Setup]
5- WizardStyle=modern
6- AppName=CodeLite
7- AppVerName=CodeLite
8- AppPublisher=Eran Ifrah
13+ AppName={#AppName}
914AppVersion=@CODELITE_VERSION@
10- AppPublisherURL=http://codelite.org
11- AppSupportURL=http://codelite.org
12- AppUpdatesURL=http://codelite.org
13- DefaultDirName={commonpf64}\CodeLite
14- DefaultGroupName=CodeLite
15- LicenseFile=@CL_SRC_ROOT@/LICENSE
15+ AppVerName={#AppName} @CODELITE_VERSION@
16+
17+ AppPublisherURL={#SupportURL}
18+ AppSupportURL={#SupportURL}
19+ AppUpdatesURL={#SupportURL}
20+
21+ VersionInfoDescription={#AppName} installer
22+ VersionInfoProductName={#AppName}
23+ VersionInfoVersion=@CODELITE_VERSION@
24+ AppCopyright={#CurrentYear} {#AppAuthor}
25+
26+ UninstallDisplayName={#AppName}
27+ UninstallDisplayIcon={app}\bin\codelite.exe,0
28+ AppPublisher={#AppAuthor}
29+
30+ SetupIconFile=@CL_SRC_ROOT@/InnoSetup/box_software.ico
31+
32+ DefaultDirName={commonpf64}\{#AppName}
33+ DefaultGroupName={#AppName}
34+ LicenseFile=@CL_SRC_ROOT@/LICENSE.rtf
1635OutputDir=@BUILD_DIRECTORY@/installer
1736OutputBaseFilename=codelite-@CODELITE_ARCH@-@CODELITE_VERSION@
1837ChangesEnvironment=yes
1938FlatComponentsList=yes
20- SetupIconFile=@CL_SRC_ROOT@/InnoSetup/box_software.ico
2139Compression=lzma/ultra
2240SolidCompression=true
2341InternalCompressLevel=ultra
2442PrivilegesRequired=none
25- UninstallDisplayIcon={app}\bin\codelite.exe,0
43+
44+ WizardStyle=modern
45+
46+ ShowLanguageDialog=yes
47+ UsePreviousLanguage=no
48+ LanguageDetectionMethod=uilanguage
2649
2750;;==================================
2851;; 64 bit setup
2952;;==================================
3053#define INSTALL_DIR "@CMAKE_INSTALL_PREFIX@"
3154
32- [Languages]
33- Name: "eng"; MessagesFile: "compiler:Default.isl"
34-
3555[Tasks]
3656Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
3757Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
@@ -41,7 +61,7 @@ Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescrip
4161Source: "{#INSTALL_DIR}\*"; Excludes: "*.a"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs;
4262
4363[Icons]
44- Name: "{group}\CodeLite "; Filename: "{app}\bin\codelite.exe"; WorkingDir: "{app}"
64+ Name: "{group}\{#AppName} "; Filename: "{app}\bin\codelite.exe"; WorkingDir: "{app}"
4565Name: "{group}\{cm:UninstallProgram, CodeLite}"; Filename: "{uninstallexe}"
4666Name: "{userdesktop}\CodeLite "; Filename: "{app}\bin\codelite.exe"; WorkingDir: "{app}" ;Tasks: desktopicon
4767Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\CodeLite"; WorkingDir: "{app}"; Filename: "{app}\bin\codelite.exe"; Tasks: quicklaunchicon
83103 RegDeleteKeyIncludingSubkeys(HKCR, '*\shell\Open With CodeLite');
84104 if IsSilentInstall() = False then begin
85105 // Prompt the user to delete all his settings, default to "No"
86- if MsgBox('Would you like to keep your user settings?' , mbConfirmation, MB_YESNO or MB_DEFBUTTON1) = IDNO
106+ if MsgBox(ExpandConstant('{cm:KeepUserSettings}') , mbConfirmation, MB_YESNO or MB_DEFBUTTON1) = IDNO
87107 then begin
88108 DelTree(ExpandConstant('{userappdata}') + '\codelite', True, True, True);
89109 end;
@@ -178,7 +198,7 @@ begin
178198 DelTree(sCodeLitePath + '\*.dat', False, True, False)
179199
180200 if IsSilentInstall() = False then
181- if MsgBox('Would you like to keep your local settings?' , mbConfirmation, MB_YESNO or MB_DEFBUTTON1) = IDNO
201+ if MsgBox(ExpandConstant('{cm:KeepLocalSettings}') , mbConfirmation, MB_YESNO or MB_DEFBUTTON1) = IDNO
182202 then
183203 BEGIN
184204 DelTree(ExpandConstant('{userappdata}') + '\codelite', True, True, True)
0 commit comments