2010-07-21 09:56:24 -04:00
|
|
|
; Script generated by the Inno Setup Script Wizard.
|
|
|
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
|
|
|
|
2013-07-17 08:57:23 -04:00
|
|
|
#if GetEnv("INNO") != ""
|
|
|
|
#define WXW_DIR GetEnv("INNO")
|
|
|
|
#else
|
|
|
|
#define WXW_DIR "..\.."
|
|
|
|
#endif
|
2010-07-21 09:56:24 -04:00
|
|
|
|
2015-10-31 16:45:00 -04:00
|
|
|
#if GetEnv("WXW_VER") == "Snapshot"
|
|
|
|
#define INFOFILE WXW_DIR + "\BuildGit.txt"
|
|
|
|
#define WX_VERSION "Snapshot"
|
2013-07-17 08:57:23 -04:00
|
|
|
#elif GetEnv("WXW_VER") != ""
|
|
|
|
#define INFOFILE WXW_DIR + "\docs\msw\install.txt"
|
|
|
|
#define WX_VERSION GetEnv("WXW_VER")
|
2010-07-21 09:56:24 -04:00
|
|
|
#else
|
2013-07-17 08:57:23 -04:00
|
|
|
#error "WXW_VER environment variable must be defined."
|
2010-07-21 09:56:24 -04:00
|
|
|
#endif
|
|
|
|
|
2013-07-17 08:57:23 -04:00
|
|
|
#define SETUPFILENAME "wxMSW-" + GetEnv("WXW_VER") + "-Setup"
|
2010-07-21 09:56:24 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Setup]
|
|
|
|
AppName=wxWidgets
|
|
|
|
AppVerName=wxWidgets {#WX_VERSION}
|
|
|
|
AppPublisher=wxWidgets
|
2015-10-30 22:06:09 -04:00
|
|
|
AppPublisherURL=https://www.wxwidgets.org
|
|
|
|
AppSupportURL=https://www.wxwidgets.org
|
|
|
|
AppUpdatesURL=https://www.wxwidgets.org
|
2010-07-21 09:56:24 -04:00
|
|
|
DefaultDirName={sd}\wxWidgets-{#WX_VERSION}
|
|
|
|
DefaultGroupName=wxWidgets {#WX_VERSION}
|
|
|
|
UsePreviousAppDir=no
|
|
|
|
DisableProgramGroupPage=yes
|
2013-07-17 08:57:23 -04:00
|
|
|
LicenseFile={#WXW_DIR}\docs\licence.txt
|
|
|
|
InfoBeforeFile={#WXW_DIR}\docs\readme.txt
|
2013-07-17 08:57:26 -04:00
|
|
|
InfoAfterFile={#INFOFILE}
|
|
|
|
OutputDir={#WXW_DIR}\..
|
|
|
|
OutputBaseFilename={#SETUPFILENAME}
|
|
|
|
PrivilegesRequired=none
|
2013-07-17 08:57:23 -04:00
|
|
|
SetupIconFile={#WXW_DIR}\art\wxwin.ico
|
2010-07-21 09:56:24 -04:00
|
|
|
Compression=lzma
|
|
|
|
SolidCompression=yes
|
2013-07-17 08:57:32 -04:00
|
|
|
|
|
|
|
[Files]
|
|
|
|
; source files
|
2016-06-04 20:24:43 -04:00
|
|
|
Source: "{#WXW_DIR}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
2013-07-17 08:57:32 -04:00
|
|
|
|
|
|
|
[INI]
|
2015-10-30 22:06:09 -04:00
|
|
|
Filename: "{app}\wx.url"; Section: "InternetShortcut"; Key: "URL"; String: "https://www.wxwidgets.org"
|
2010-07-21 09:56:24 -04:00
|
|
|
|
|
|
|
[Icons]
|
2011-12-14 13:42:11 -05:00
|
|
|
Name: "{group}\{cm:ProgramOnTheWeb,wxWidgets}"; Filename: "{app}\wx.url"
|
2010-07-21 09:56:24 -04:00
|
|
|
Name: {group}\wxWidgets Manual; Filename: {app}\docs\htmlhelp\wx.chm; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
|
|
|
|
Name: {group}\Changes; Filename: {app}\docs\changes.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
|
|
|
|
Name: {group}\Readme; Filename: {app}\docs\readme.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
|
|
|
|
Name: {group}\Compiling wxWidgets; Filename: {app}\docs\msw\install.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
|
|
|
|
Name: "{group}\Uninstall wxWidgets {#WX_VERSION}"; Filename: "{uninstallexe}"
|
|
|
|
|
|
|
|
|
|
|
|
[UninstallDelete]
|
|
|
|
Type: files; Name: "{app}\wx.url"
|