mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-24 14:36:39 +00:00
75 lines
3.8 KiB
Plaintext
75 lines
3.8 KiB
Plaintext
; Script generated by the Inno Setup Script Wizard.
|
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
|
|
|
#define MyAppName "lollms-with-petals"
|
|
#define MyAppVersion "6.5"
|
|
#define MyAppPublisher "ParisNeo"
|
|
#define MyAppURL "https://www.lollms.com/"
|
|
#define MyAppExeName "lollms_petals_runner.bat"
|
|
#define MyAppAssocName MyAppName + " File"
|
|
#define MyAppAssocExt ".myp"
|
|
#define MyAppAssocKey StringChange(MyAppAssocName, " ", "") + MyAppAssocExt
|
|
|
|
[Setup]
|
|
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
|
|
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
|
AppId={{9B72D9BA-A2B5-472F-9FF3-A2481897E814}
|
|
AppName={#MyAppName}
|
|
AppVersion={#MyAppVersion}
|
|
;AppVerName={#MyAppName} {#MyAppVersion}
|
|
AppPublisher={#MyAppPublisher}
|
|
AppPublisherURL={#MyAppURL}
|
|
AppSupportURL={#MyAppURL}
|
|
AppUpdatesURL={#MyAppURL}
|
|
DefaultDirName={userappdata}\{#MyAppName}
|
|
ChangesAssociations=yes
|
|
DisableProgramGroupPage=yes
|
|
LicenseFile=../../LICENSE
|
|
InfoBeforeFile=../../CODE_OF_CONDUCT.md
|
|
InfoAfterFile=./README.md
|
|
; Remove the following line to run in administrative install mode (install for all users.)
|
|
PrivilegesRequired=lowest
|
|
OutputBaseFilename=lollms-with-petals
|
|
SetupIconFile=../../assets\logo.ico
|
|
Compression=lzma
|
|
SolidCompression=yes
|
|
WizardStyle=modern
|
|
|
|
[Languages]
|
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
|
|
|
[Tasks]
|
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
|
|
|
[Files]
|
|
Source: "{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
|
Source: "install_script.sh"; DestDir: "{app}"; Flags: ignoreversion
|
|
Source: "lollms_petals_installer.bat"; DestDir: "{app}"; Flags: ignoreversion
|
|
Source: "lollms_petals_runner.bat"; DestDir: "{app}"; Flags: ignoreversion
|
|
Source: "run_script.sh"; DestDir: "{app}"; Flags: ignoreversion
|
|
Source: "ubuntu.bat"; DestDir: "{app}"; Flags: ignoreversion
|
|
Source: "petals_server.bat"; DestDir: "{app}"; Flags: ignoreversion
|
|
Source: "petals_server.sh"; DestDir: "{app}"; Flags: ignoreversion
|
|
Source: "../../assets\logo.ico"; DestDir: "{app}"; Flags: ignoreversion
|
|
Source: "../../assets\ubuntu.ico"; DestDir: "{app}"; Flags: ignoreversion
|
|
Source: "../../assets\petals.ico"; DestDir: "{app}"; Flags: ignoreversion
|
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
|
|
|
[Registry]
|
|
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocExt}\OpenWithProgids"; ValueType: string; ValueName: "{#MyAppAssocKey}"; ValueData: ""; Flags: uninsdeletevalue
|
|
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}"; ValueType: string; ValueName: ""; ValueData: "{#MyAppAssocName}"; Flags: uninsdeletekey
|
|
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#MyAppExeName},0"
|
|
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""
|
|
Root: HKA; Subkey: "Software\Classes\Applications\{#MyAppExeName}\SupportedTypes"; ValueType: string; ValueName: ".myp"; ValueData: ""
|
|
|
|
[Icons]
|
|
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\logo.ico"
|
|
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon; IconFilename: "{app}\logo.ico"
|
|
Name: "{autodesktop}\ubuntu.bat"; Filename: "{app}\ubuntu.bat"; Tasks: desktopicon; IconFilename: "{app}\ubuntu.ico"
|
|
Name: "{autodesktop}\petals_server.bat"; Filename: "{app}\petals_server.bat"; Tasks: desktopicon; IconFilename: "{app}\petals.ico"
|
|
|
|
[Run]
|
|
Filename: "{app}\lollms_petals_installer.bat"; Flags: shellexec
|
|
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: shellexec postinstall skipifsilent
|
|
|