wxwidgets.iss 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. ; Script generated by the Inno Setup Script Wizard.
  2. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
  3. #if GetEnv("INNO") != ""
  4. #define WXW_DIR GetEnv("INNO")
  5. #else
  6. #define WXW_DIR "..\.."
  7. #endif
  8. #if GetEnv("WXW_VER") == "SVN"
  9. #define INFOFILE WXW_DIR + "\BuildSVN.txt"
  10. #define WX_VERSION "SVN"
  11. #elif GetEnv("WXW_VER") != ""
  12. #define INFOFILE WXW_DIR + "\docs\msw\install.txt"
  13. #define WX_VERSION GetEnv("WXW_VER")
  14. #else
  15. #error "WXW_VER environment variable must be defined."
  16. #endif
  17. #define SETUPFILENAME "wxMSW-" + GetEnv("WXW_VER") + "-Setup"
  18. [Setup]
  19. AppName=wxWidgets
  20. AppVerName=wxWidgets {#WX_VERSION}
  21. AppPublisher=wxWidgets
  22. AppPublisherURL=http://www.wxwidgets.org
  23. AppSupportURL=http://www.wxwidgets.org
  24. AppUpdatesURL=http://www.wxwidgets.org
  25. DefaultDirName={sd}\wxWidgets-{#WX_VERSION}
  26. DefaultGroupName=wxWidgets {#WX_VERSION}
  27. UsePreviousAppDir=no
  28. DisableProgramGroupPage=yes
  29. LicenseFile={#WXW_DIR}\docs\licence.txt
  30. InfoBeforeFile={#WXW_DIR}\docs\readme.txt
  31. InfoAfterFile={#INFOFILE}
  32. OutputDir={#WXW_DIR}\..
  33. OutputBaseFilename={#SETUPFILENAME}
  34. PrivilegesRequired=none
  35. SetupIconFile={#WXW_DIR}\art\wxwin.ico
  36. Compression=lzma
  37. SolidCompression=yes
  38. [Files]
  39. ; source files
  40. Source: "{#WXW_DIR}\*"; DestDir: "{app}"; Excludes: "cocoa,dfb,gtk,gtk1,motif,msdos,os2,osx,wxWindows.xcod*,x11,distrib"; Flags: ignoreversion recursesubdirs createallsubdirs
  41. [INI]
  42. Filename: "{app}\wx.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.wxwidgets.org"
  43. [Icons]
  44. Name: "{group}\{cm:ProgramOnTheWeb,wxWidgets}"; Filename: "{app}\wx.url"
  45. Name: {group}\wxWidgets Manual; Filename: {app}\docs\htmlhelp\wx.chm; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
  46. Name: {group}\Changes; Filename: {app}\docs\changes.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
  47. Name: {group}\Readme; Filename: {app}\docs\readme.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
  48. Name: {group}\Compiling wxWidgets; Filename: {app}\docs\msw\install.txt; WorkingDir: {app}; IconIndex: 0; Flags: useapppaths
  49. Name: "{group}\Uninstall wxWidgets {#WX_VERSION}"; Filename: "{uninstallexe}"
  50. [UninstallDelete]
  51. Type: files; Name: "{app}\wx.url"