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

[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={{9052599F-B5C1-4617-AF81-C6E2F9AB8E8C}
AppName=chicken-iup
AppVersion=0.2
;AppVerName=chicken-iup 0.1
AppPublisher=Call/Cc
AppPublisherURL=http://www.call-cc.org
AppSupportURL=http://www.call-cc.org
AppUpdatesURL=http://www.call-cc.org
DefaultDirName=\chicken
DefaultGroupName=chicken-iup
LicenseFile=C:\mylibs\src\chicken-4.6.3\LICENSE
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

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

[Files]
Source: "C:\chicken\bin\csi.exe"; DestDir: "{app}\bin"; Flags: ignoreversion
Source: "C:\chicken\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
;Source: "C:\chicken\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "C:\mylibs\iup\*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs createallsubdirs
;Source: "C:\mylibs\ffcall\*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Source: "C:\MinGW\bin\libgcc_s_dw2-1.dll"; DestDir: "{app}\bin";

[Icons]
Name: "{group}\chicken-iup"; Filename: "{app}\bin\csi.exe"
Name: "{commondesktop}\chicken-iup"; Filename: "{app}\bin\csi.exe"; Tasks: desktopicon

[Run]
Filename: "{app}\bin\csi.exe"; Description: "{cm:LaunchProgram,chicken-iup}"; Flags: nowait postinstall skipifsilent

