| 
 | 1 | +;     "Text Insertion Program (TIP)" is a software  | 
 | 2 | +;     for client management and generating unique images for each client.  | 
 | 3 | +;     Copyright (C) 2024  Pavel Remdenok  | 
 | 4 | +;  | 
 | 5 | +;     This program is free software: you can redistribute it and/or modify  | 
 | 6 | +;     it under the terms of the GNU General Public License as published by  | 
 | 7 | +;     the Free Software Foundation, either version 3 of the License, or  | 
 | 8 | +;     (at your option) any later version.  | 
 | 9 | +;  | 
 | 10 | +;     This program is distributed in the hope that it will be useful,  | 
 | 11 | +;     but WITHOUT ANY WARRANTY; without even the implied warranty of  | 
 | 12 | +;     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  | 
 | 13 | +;     GNU General Public License for more details.  | 
 | 14 | +;  | 
 | 15 | +;     You should have received a copy of the GNU General Public License  | 
 | 16 | +;     along with this program.  If not, see <https://www.gnu.org/licenses/>.  | 
 | 17 | + | 
 | 18 | +#define MyAppName "TIP"  | 
 | 19 | +#define MyAppVersion "8.0"  | 
 | 20 | +#define MyAppPublisher "Pavel Remdenok"  | 
 | 21 | +#define MyAppURL "https://github.com/pavel-cpp"  | 
 | 22 | +#define MyAppExeName "TIP.exe"  | 
 | 23 | + | 
 | 24 | +[Setup]  | 
 | 25 | +AppId={{FEE4A6CD-D4BE-4A0C-A7C7-2E64173A3160}  | 
 | 26 | +AppName={#MyAppName}  | 
 | 27 | +AppVersion={#MyAppVersion}  | 
 | 28 | +AppPublisher={#MyAppPublisher}  | 
 | 29 | +AppPublisherURL={#MyAppURL}  | 
 | 30 | +AppSupportURL={#MyAppURL}  | 
 | 31 | +AppUpdatesURL={#MyAppURL}  | 
 | 32 | +DefaultDirName={autopf}\{#MyAppName}  | 
 | 33 | +DefaultGroupName={#MyAppName}  | 
 | 34 | +AllowNoIcons=yes  | 
 | 35 | +;PrivilegesRequired=lowest  | 
 | 36 | +PrivilegesRequiredOverridesAllowed=commandline  | 
 | 37 | +OutputDir=..\..\installer  | 
 | 38 | +OutputBaseFilename=tip_setup_offline  | 
 | 39 | +SetupIconFile=..\..\source\resources\icon.ico  | 
 | 40 | +Compression=lzma  | 
 | 41 | +SolidCompression=yes  | 
 | 42 | +WizardStyle=modern  | 
 | 43 | + | 
 | 44 | +[Languages]  | 
 | 45 | +Name: "english"; MessagesFile: "compiler:Default.isl"  | 
 | 46 | +Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"  | 
 | 47 | + | 
 | 48 | +[Tasks]  | 
 | 49 | +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked  | 
 | 50 | + | 
 | 51 | +[Files]  | 
 | 52 | +Source: "..\..\build\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs  | 
 | 53 | + | 
 | 54 | +[Icons]  | 
 | 55 | +Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"  | 
 | 56 | +Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon  | 
 | 57 | + | 
 | 58 | +[Run]  | 
 | 59 | +; Filename: "{tmp}\vcredist_x86.exe"; Parameters: "/S"; StatusMsg: "Installing vcredist_x86..."; Flags: waituntilterminated  | 
 | 60 | +; Filename: "{tmp}\vcredist_x64.exe"; Parameters: "/S"; StatusMsg: "Installing vcredist_x64..."; Flags: waituntilterminated  | 
 | 61 | +; Filename: "{tmp}\Win64OpenSSL-1_1_1w.exe"; Parameters: "/S"; StatusMsg: "Installing OpenSSL..."; Flags: waituntilterminated  | 
 | 62 | +Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent  | 
 | 63 | + | 
 | 64 | +; [Code]  | 
 | 65 | +; procedure InitializeWizard();  | 
 | 66 | +; begin  | 
 | 67 | +;     idpAddFile('https://aka.ms/vs/17/release/vc_redist.x86.exe', ExpandConstant('{tmp}\vcredist_x86.exe'));  | 
 | 68 | +;     idpAddFile('https://aka.ms/vs/17/release/vc_redist.x64.exe', ExpandConstant('{tmp}\vcredist_x64.exe'));  | 
 | 69 | +;     idpAddFile('https://slproweb.com/download/Win64OpenSSL-1_1_1w.exe', ExpandConstant('{tmp}\Win64OpenSSL-1_1_1w.exe'));  | 
 | 70 | +;     idpDownloadAfter(wpReady);  | 
 | 71 | +; end;  | 
0 commit comments