12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #define MyAppName "Rembg"
- #define MyAppVersion "STABLE"
- #define MyAppPublisher "danielgatis"
- #define MyAppURL "https://github.com/danielgatis/rembg"
- #define MyAppExeName "rembg.exe"
- #define MyAppId "49AB7484-212F-4B31-A49F-533A480F3FD4"
- [Setup]
- AppId={#MyAppId}
- AppName={#MyAppName}
- AppVersion={#MyAppVersion}
- AppPublisher={#MyAppPublisher}
- AppPublisherURL={#MyAppURL}
- AppSupportURL={#MyAppURL}
- AppUpdatesURL={#MyAppURL}
- DefaultDirName={autopf}\{#MyAppName}
- DefaultGroupName={#MyAppName}
- DisableProgramGroupPage=yes
- OutputBaseFilename=rembg-cli-installer
- Compression=lzma
- SolidCompression=yes
- WizardStyle=modern
- OutputDir=dist
- ChangesEnvironment=yes
- [Languages]
- Name: "english"; MessagesFile: "compiler:Default.isl"
- [Files]
- Source: "{#SourcePath}dist\rembg\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
- Source: "{#SourcePath}dist\rembg\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
- [Tasks]
- Name: modifypath; Description: "Add to PATH variable"
- [Icons]
- Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
- [Code]
- const
- ModPathName = 'modifypath';
- ModPathType = 'user';
- function ModPathDir(): TArrayOfString;
- begin
- setArrayLength(Result, 1)
- Result[0] := ExpandConstant('{app}');
- end;
- #include "_modpath.iss"
|