Po wybraniu nowego projektu w Inno Setup pojawia się kreator który umożliwia ustawienie wszystkich najważniejszych elementów instalatora, m.in. wspomnianego przez ciebie katalogu docelowego, licencji. Nawet nie musisz nic “kodować”. Język polski jest dostępny w tym programie. Ikonki i bitmapy robi się tak jak pokazał binary00101. Pokaż co zrobiłeś dotychczas.
Popatrz sobie tutaj, ten instalator który zrobiłem kilka dni temu dla mojego programu ma elementy które cię interesują.
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define Version "1.4.0"
#define MyAppName "WinMech"
#define MyAppVerName "WinMech 1.4.0"
#define MyAppPublisher "Instytut Geofizyki Polskiej Akademii Nauk"
#define MyAppURL "http://www.sejsmologia-gornicza.pl"
#define MyAppExeName "Mech2.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={{E206EE95-606F-4389-9B79-20B0778F1C66}
AppName={#MyAppName}
AppVerName={#MyAppVerName}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
AllowNoIcons=yes
LicenseFile=D:\mech\doc\licencja.txt
InfoBeforeFile=D:\mech\doc\readme.txt
InfoAfterFile=D:\mech\doc\historia.txt
OutputDir=D:\mech\installer
OutputBaseFilename=WinMech-{#Version}
SetupIconFile=D:\mech\gfx\fileicons\ico_all.ico
Compression=lzma
SolidCompression=yes
WizardImageFile=D:\mech\gfx\iss_left.bmp
WizardSmallImageFile=D:\mech\gfx\iss_top.bmp
[Dirs]
Name: "{app}\repository"; Permissions: users-modify;
[Languages]
Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "D:\mech\main\Mech2.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\mech\installer\shared\cc3270mt.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\mech\installer\shared\borlndmm.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\mech\main\mbi2vcl2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\mech\installer\shared\vcldb100.bpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\mech\installer\shared\dbrtl100.bpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\mech\installer\shared\vcl100.bpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\mech\installer\shared\repository\fppa.exe"; DestDir: "{app}\repository"; Flags: ignoreversion
Source: "D:\mech\doc\Help\help.pdf"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\mech\doc\Help\help.hlp"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\mech\doc\Help\help.cnt"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\mech\gfx\fileicons\ico_all.ico"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\lib\bpl\tricmdlg2006.bpl"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\System Pomocy (PDF)}"; Filename: "{app}\help.pdf"
Name: "{group}\System Pomocy (HLP)}"; Filename: "{app}\help.hlp"
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#MyAppName}}"; Flags: nowait postinstall skipifsilent