1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
AppName=wxWidgets 3.0.1
AppVerName=wxWidgets 3.0.1
AppPublisherURL=http://codelite.org
AppSupportURL=http://codelite.org
AppUpdatesURL=http://codelite.org
DefaultDirName={sd}\wxWidgets-3.0.1
DefaultGroupName=wxWidgets-3.0.1
OutputDir=.
OutputBaseFilename=wxwidgets-3.0.1-tdm-gcc-481-32-devel
ChangesEnvironment=yes
FlatComponentsList=yes
SetupIconFile=box_software.ico
Compression=lzma/ultra
SolidCompression=true
InternalCompressLevel=ultra
PrivilegesRequired=none
DirExistsWarning=no
DisableDirPage=no
ChangesAssociations=yes
[Tasks]
Name: modifypath; Description: Add wxWidgets directory to your PATH environment variable;
[Languages]
Name: "eng"; MessagesFile: "compiler:Default.isl"
[Components]
Name: "wxWidgets"; Description: "wxWidgets, Cross-Platform GUI Library (v3.0.1)"; Types: full; Flags: fixed
[Files]
Source: "..\Runtime\wxWidgets-3.0.1\*"; DestDir: "{app}"; Flags: recursesubdirs ignoreversion ; Components: wxWidgets
Source: "..\sdk\wxconfig\wx-config.exe"; DestDir: "{app}\lib\gcc_dll"; Flags: ignoreversion; Components: wxWidgets
[Icons]
Name: "{group}\{cm:UninstallProgram, wxWidgets}"; Filename: "{uninstallexe}"
[Registry]
; set WXWIN
Root: HKCU; Subkey: "Environment"; ValueType:string; ValueName:"WXWIN"; ValueData: "{app}"; Flags: preservestringtype
Root: HKCU; Subkey: "Environment"; ValueType:string; ValueName:"WXCFG"; ValueData: "gcc_dll\mswu"; Flags: preservestringtype
[code]
const
ModPathName = 'modifypath';
ModPathType = 'user';
function ModPathDir(): TArrayOfString;
begin
setArrayLength(Result, 1)
Result[0] := ExpandConstant('{app}\lib\gcc_dll');
end;
#include "modpath.iss"
|