File ref/chicken-iup.iss.mw artifact 5333dd2c2a part of check-in 2318a30a94


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

;; SEE  http://stackoverflow.com/questions/3304463/how-do-i-modify-the-path-environment-variable-when-running-an-inno-setup-install
;; For information on how to cleanly tweak the path.
;; Actual relevant sources are here: http://legroom.net/software/modpath

[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.3
;AppVerName=chicken-iup 0.2
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:\MinGW\msys\1.0\home\build-chicken-iup\chicken-4.8.0.5\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:\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";
Source: "C:\MinGW\bin\libstdc++-6.dll"; DestDir: "{app}\bin";
Source: "C:\MinGW\msys\1.0\home\build-chicken-iup\examples\*"; DestDir: "{app}\examples"; Flags: ignoreversion recursesubdirs createallsubdirs

[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

[Registry]
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment";ValueType: expandsz; ValueName: "Path"; ValueData: "{olddata};C:\chicken\bin;C:\chicken\lib"
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment";ValueType: expandsz; ValueName: "CHICKEN_PREFIX"; ValueData: "C:\chicken"
Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\Control\Session Manager\Environment";ValueType: expandsz; ValueName: "CHICKEN_INSTALL_PREFIX"; ValueData: "C:\chicken\lib\chicken\6"