Prechádzať zdrojové kódy

Add dedicated installer script to install only AssimpView and its dependencies.
Complete readme.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@679 67173fc5-114c-0410-ac8e-9d2fd5bffc1f

aramis_acg 15 rokov pred
rodič
commit
83f5612a4d

+ 32 - 2
packaging/windows-innosetup/readme_installer.txt

@@ -1,15 +1,45 @@
+
+------------------------------------------------------------------------------------
 Open Asset Import Library (Assimp) SDK Installer
 Release Notes
-
+------------------------------------------------------------------------------------
 
 
 Known Bugs & Limitations
 ========================
 
 
+Assimp
+
+- IRR, DXF, MOT, LWS support is limited 
+
+(the following issues are most likely to be addressed in a near bugfix update to 1.1)
+
+- COB is pretty new on the list, test coverage is bad. Please give feedback.
+- Ogre XML loader fails to load animations properly.
+- ColladaLoader handles instanced nodes not entirely correct.
+
+
+Viewer
+
+- If you toggle all UI components quickly, the app gets confused.
+- For files more than one embedded texture, only the first is loaded.
+- Normals appear flipped from time to time when either of the normals-related menu items was hit.
+- Alpha-sorting is implemented, but still causes artifacts when models are moved quickly.
+- Several important texture file formats (such as GIF) are not supported.
+- HUD is blurred on the right side. ATI/AMD hardware only.
 
 Troubleshooting
 ===============
 
 1. Missing d3dx9_42.dll? 
-Install the latest DirectX runtime or grab the file from somewhere (that's evil but mostly fine).
+Install the latest DirectX runtime or grab the file from somewhere (that's evil but mostly fine).
+
+2. Application configuration not correct?
+Reinstall Microsoft Visual C++ 2005 SP1 Redistributable (x86 or x64, depending on your system)
+
+3. assimp.exe not in PATH
+Add it to PATH. That's not a bug, the installer does not alter the PATH.
+
+4. Crashes immediately
+You CPU lacks SSE2 support. Build Assimp from scratch to suit your CPU, sorry.ut mostly fine).

+ 33 - 0
packaging/windows-innosetup/readme_installer_vieweronly.txt

@@ -0,0 +1,33 @@
+
+------------------------------------------------------------------------------------
+Open Asset Import Library (Assimp) Viewer Installer
+Release Notes
+------------------------------------------------------------------------------------
+
+
+Known Bugs & Limitations
+========================
+
+Viewer
+
+- If you toggle all UI components quickly, the app gets confused.
+- For files more than one embedded texture, only the first is loaded.
+- Normals appear flipped from time to time when either of the normals-related menu items was hit.
+- Alpha-sorting is implemented, but still causes artifacts when models are moved quickly.
+- Several important texture file formats (such as GIF) are not supported.
+- HUD is blurred on the right side. ATI/AMD hardware only.
+
+Troubleshooting
+===============
+
+1. Missing d3dx9_42.dll? 
+Install the latest DirectX runtime or grab the file from somewhere (that's evil but mostly fine).
+
+2. Application configuration not correct?
+Reinstall Microsoft Visual C++ 2005 SP1 Redistributable (x86 or x64, depending on your system)
+
+3. assimp.exe not in PATH
+Add it to PATH. That's not a bug, the installer does not alter the PATH.
+
+4. Crashes immediately
+You CPU lacks SSE2 support. Build Assimp from scratch to suit your CPU, sorry.

+ 2 - 2
packaging/windows-innosetup/script.iss

@@ -12,9 +12,9 @@ SetupIconFile=..\..\tools\shared\assimp_tools_icon.ico
 WizardImageFile=compiler:WizModernImage-IS.BMP
 WizardSmallImageFile=compiler:WizModernSmallImage-IS.BMP
 LicenseFile=License.rtf
-OutputBaseFileName=assimp-sdk-1.1rc-setup
+OutputBaseFileName=assimp-sdk-1.1-setup
 VersionInfoVersion=1.1.0.0
-VersionInfoTextVersion=1.1rc
+VersionInfoTextVersion=1.1
 VersionInfoCompany=Assimp Development Team
 ArchitecturesInstallIn64BitMode=x64
 

+ 60 - 0
packaging/windows-innosetup/script_vieweronly.iss

@@ -0,0 +1,60 @@
+; Setup script for use with Inno Setup.
+
+[Setup]
+AppName=Open Asset Import Library - Viewer
+AppVerName=Open Asset Import Library - Viewer (v1.1)
+DefaultDirName={pf}\AssimpView
+DefaultGroupName=AssimpView
+UninstallDisplayIcon={app}\bin\x86\assimp.exe
+OutputDir=out_vieweronly
+AppCopyright=Assimp Development Team
+SetupIconFile=..\..\tools\shared\assimp_tools_icon.ico
+WizardImageFile=compiler:WizModernImage-IS.BMP
+WizardSmallImageFile=compiler:WizModernSmallImage-IS.BMP
+LicenseFile=License.rtf
+OutputBaseFileName=assimp-view-1.1-setup
+VersionInfoVersion=1.1.0.0
+VersionInfoTextVersion=1.1
+VersionInfoCompany=Assimp Development Team
+ArchitecturesInstallIn64BitMode=x64
+
+
+[Run]
+Filename: "{app}\stub\vcredist_x86.exe"; StatusMsg: "Installing VS2005 SP1 redistributable package (32 Bit)"; Check: not IsWin64
+Filename: "{app}\stub\vcredist_x64.exe"; StatusMsg: "Installing VS2005 SP1 redistributable package (64 Bit)"; Check: IsWin64
+
+[Files]
+
+Source: "readme_installer_vieweronly.txt"; DestDir: "{app}"; Flags: isreadme
+
+; Installer stub
+Source: "vcredist_x86.exe"; DestDir: "{app}\stub\"; Check: not IsWin64
+Source: "vcredist_x64.exe"; DestDir: "{app}\stub\"; Check: IsWin64
+
+; Common stuff
+Source: "..\..\CREDITS"; DestDir: "{app}"
+Source: "..\..\LICENSE"; DestDir: "{app}"
+Source: "..\..\README"; DestDir: "{app}"
+Source: "WEB"; DestDir: "{app}"
+
+; x86 binaries
+Source: "..\..\bin\assimp_release-dll_Win32\Assimp32.dll"; DestDir: "{app}\bin\x86"
+Source: "..\..\bin\assimpview_release-dll_Win32\assimp_view.exe"; DestDir: "{app}\bin\x86"
+Source: "D3DCompiler_42.dll"; DestDir: "{app}\bin\x86"
+Source: "D3DX9_42.dll"; DestDir: "{app}\bin\x86"
+Source: "..\..\bin\assimpcmd_release-dll_Win32\assimp.exe"; DestDir: "{app}\bin\x86"
+
+; x64 binaries
+Source: "..\..\bin\assimp_release-dll_x64\Assimp64.dll"; DestDir: "{app}\bin\x64"
+Source: "..\..\bin\assimpview_release-dll_x64\assimp_view.exe"; DestDir: "{app}\bin\x64"
+Source: "D3DCompiler_42_x64.dll"; DestDir: "{app}\bin\x64"; DestName: "D3DCompiler_42.dll"
+Source: "D3DX9_42_x64.dll"; DestDir: "{app}\bin\x64"; DestName: "D3DX9_42.dll"
+Source: "..\..\bin\assimpcmd_release-dll_x64\assimp.exe"; DestDir: "{app}\bin\x64"
+
+; Documentation
+Source: "..\..\doc\AssimpCmdDoc_Html\AssimpCmdDoc.chm"; DestDir: "{app}\doc"
+
+[Icons]
+Name: "{group}\Assimp Command Line Manual"; Filename: "{app}\doc\AssimpCmdDoc.chm"
+Name: "{group}\AssimpView"; Filename: "{app}\bin\x64\assimp_view.exe"; Check: IsWin64
+Name: "{group}\AssimpView"; Filename: "{app}\bin\x86\assimp_view.exe"; Check: not IsWin64