; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Fracatux"
#define MyAppVersion "1.5.2"
#define MyAppPublisher "Arnaud Champollion"
#define MyAppURL "https://forge.apps.education.fr/educajou/fracatux"
#define MyAppExeName "fracatux.exe"

[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={{5D4087F4-E697-42DF-9D89-C7603FC2B9E6}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={autopf}\{#MyAppName}
DisableProgramGroupPage=yes
LicenseFile=Z:\home\arnaud\fracatux\LICENCE.txt
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
OutputBaseFilename=Fracatux_installeur_v_1-5-2
SetupIconFile=C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\assets\images\icone.ico
Compression=lzma
SolidCompression=yes
WizardStyle=modern

[Languages]
Name: "french"; MessagesFile: "compiler:Languages\French.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"

[Files]
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\_bz2.pyd"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\_decimal.pyd"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\_hashlib.pyd"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\_lzma.pyd"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\_socket.pyd"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\_ssl.pyd"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\_tkinter.pyd"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\base_library.zip"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\libcrypto-1_1.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\libssl-1_1.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\python311.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\select.pyd"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\tcl86t.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\tk86t.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\unicodedata.pyd"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\VCRUNTIME140.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\assets\*"; DestDir: "{app}\assets"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\tcl\*"; DestDir: "{app}\tcl"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\tcl8\*"; DestDir: "{app}\tcl8"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\tk\*"; DestDir: "{app}\tk"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\users\arnaud\Local Settings\Application Data\Programs\Python\Python311\Scripts\dist\fracatux\tkinter_tooltip-2.1.0.dist-info\*"; DestDir: "{app}\tkinter_tooltip-2.1.0.dist-info"; Flags: ignoreversion recursesubdirs createallsubdirs

; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent

