script_x86.iss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. ; Setup script for use with Inno Setup.
  2. [Setup]
  3. AppName=Open Asset Import Library - SDK
  4. AppVerName=Open Asset Import Library - SDK (v5.4.3)
  5. DefaultDirName={pf}\Assimp
  6. DefaultGroupName=Assimp
  7. UninstallDisplayIcon={app}\bin\x86\assimp.exe
  8. OutputDir=out
  9. AppCopyright=Assimp Development Team
  10. SetupIconFile=..\..\tools\shared\assimp_tools_icon.ico
  11. WizardImageFile=..\..\tools\shared\assimp_tools_icon.bmp
  12. WizardSmallImageFile=..\..\tools\shared\assimp_tools_icon.bmp
  13. LicenseFile=License.rtf
  14. OutputBaseFileName=assimp-sdk-5.4.3-setup
  15. VersionInfoVersion=5.4.3.
  16. VersionInfoTextVersion=5.4.3
  17. VersionInfoCompany=Assimp Development Team
  18. ;ArchitecturesInstallIn64BitMode=x64
  19. [Types]
  20. Name: "full"; Description: "Full installation"
  21. Name: "compact"; Description: "Compact installation, no test models or language bindings"
  22. Name: "custom"; Description: "Custom installation"; Flags: iscustom
  23. [Components]
  24. Name: "main"; Description: "Main Files (32 and 64 Bit)"; Types: full compact custom; Flags: fixed
  25. Name: "tools"; Description: "Asset Viewer & Command Line Tools (32 and 64 Bit)"; Types: full compact
  26. Name: "help"; Description: "Help Files"; Types: full compact
  27. Name: "samples"; Description: "Samples"; Types: full
  28. Name: "test"; Description: "Test Models (BSD-licensed)"; Types: full
  29. Name: "test_nonbsd"; Description: "Test Models (other (free) licenses)"; Types: full
  30. [Run]
  31. Filename: "{app}\stub\vc_redist.x86.exe"; Parameters: "/qb /passive /quiet"; StatusMsg: "Installing VS2017 redistributable package (32 Bit)"; Check: not IsWin64
  32. [Files]
  33. Source: "readme_installer.txt"; DestDir: "{app}"; Flags: isreadme
  34. ; Installer stub
  35. Source: "vc_redist.x86.exe"; DestDir: "{app}\stub\"; Check: not IsWin64
  36. ; Common stuff
  37. Source: "..\..\CREDITS"; DestDir: "{app}"
  38. Source: "..\..\LICENSE"; DestDir: "{app}"
  39. Source: "..\..\Readme.md"; DestDir: "{app}"
  40. Source: "WEB"; DestDir: "{app}"
  41. Source: "..\..\scripts\*"; DestDir: "{app}\scripts"; Flags: recursesubdirs
  42. ; x86 binaries
  43. Source: "..\..\bin\release\assimp-vc143-mt.dll"; DestDir: "{app}\bin\x86"
  44. Source: "..\..\bin\release\assimp_viewer.exe"; DestDir: "{app}\bin\x86"; Components: tools
  45. Source: "C:\Windows\SysWOW64\D3DCompiler_42.dll"; DestDir: "{app}\bin\x86"; Components: tools
  46. Source: "C:\Windows\SysWOW64\D3DX9_42.dll"; DestDir: "{app}\bin\x86"; Components: tools
  47. Source: "..\..\bin\release\assimp.exe"; DestDir: "{app}\bin\x86"; Components: tools
  48. ; Import libraries
  49. Source: "..\..\lib\release\assimp-vc143-mt.lib"; DestDir: "{app}\lib\x86"
  50. ; Samples
  51. Source: "..\..\samples\*"; DestDir: "{app}\samples"; Flags: recursesubdirs; Components: samples
  52. ; Include files
  53. Source: "..\..\include\*"; DestDir: "{app}\include"; Flags: recursesubdirs
  54. ; CMake files
  55. Source: "..\..\cmake-modules\*"; DestDir: "{app}\cmake-modules"; Flags: recursesubdirs
  56. [Icons]
  57. ; Name: "{group}\Assimp Manual"; Filename: "{app}\doc\AssimpDoc.chm" ; Components: help
  58. ; Name: "{group}\Assimp Command Line Manual"; Filename: "{app}\doc\AssimpCmdDoc.chm"; Components: help
  59. ; Name: "{group}\AssimpView"; Filename: "{app}\bin\x64\assimp_view.exe"; Components: tools; Check: IsWin64
  60. ; Name: "{group}\AssimpView"; Filename: "{app}\bin\x86\assimp_view.exe"; Components: tools; Check: not IsWin64