c136209446
All Debian-based distributions use their own files for creating their packages, so get rid of our own "debian" subdirectory to avoid confusing people and to not have to maintain them any more. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
63 lines
2.2 KiB
Plaintext
63 lines
2.2 KiB
Plaintext
; Script generated by the Inno Setup Script Wizard.
|
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
|
|
|
#if GetEnv("INNO") != ""
|
|
#define WXW_DIR GetEnv("INNO")
|
|
#else
|
|
#define WXW_DIR "..\.."
|
|
#endif
|
|
|
|
#if GetEnv("WXW_VER") == "SVN"
|
|
#define INFOFILE WXW_DIR + "\BuildSVN.txt"
|
|
#define WX_VERSION "SVN"
|
|
#elif GetEnv("WXW_VER") != ""
|
|
#define INFOFILE WXW_DIR + "\docs\msw\install.txt"
|
|
#define WX_VERSION GetEnv("WXW_VER")
|
|
#else
|
|
#error "WXW_VER environment variable must be defined."
|
|
#endif
|
|
|
|
#define SETUPFILENAME "wxMSW-" + GetEnv("WXW_VER") + "-Setup"
|
|
|
|
|
|
|
|
[Setup]
|
|
AppName=wxWidgets
|
|
AppVerName=wxWidgets {#WX_VERSION}
|
|
AppPublisher=wxWidgets
|
|
AppPublisherURL=http://www.wxwidgets.org
|
|
AppSupportURL=http://www.wxwidgets.org
|
|
AppUpdatesURL=http://www.wxwidgets.org
|
|
DefaultDirName={sd}\wxWidgets-{#WX_VERSION}
|
|
DefaultGroupName=wxWidgets {#WX_VERSION}
|
|
UsePreviousAppDir=no
|
|
DisableProgramGroupPage=yes
|
|
LicenseFile={#WXW_DIR}\docs\licence.txt
|
|
InfoBeforeFile={#WXW_DIR}\docs\readme.txt
|
|
InfoAfterFile={#INFOFILE}
|
|
OutputDir={#WXW_DIR}\..
|
|
OutputBaseFilename={#SETUPFILENAME}
|
|
PrivilegesRequired=none
|
|
SetupIconFile={#WXW_DIR}\art\wxwin.ico
|
|
Compression=lzma
|
|
SolidCompression=yes
|
|
|
|
[Files]
|
|
; source files
|
|
Source: "{#WXW_DIR}\*"; DestDir: "{app}"; Excludes: "cocoa,dfb,gtk,gtk1,motif,msdos,os2,osx,wxWindows.xcod*,x11,distrib"; Flags: ignoreversion recursesubdirs createallsubdirs
|
|
|
|
[INI]
|
|
Filename: "{app}\wx.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.wxwidgets.org"
|
|
|
|
[Icons]
|
|
Name: "{group}\{cm:ProgramOnTheWeb,wxWidgets}"; Filename: "{app}\wx.url"
|
|
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"
|