Hi Ryan, Thank you very much for your contribution. The changes are already committed to svn trunk (revision 201). Can you verify everything is OK?
I have also copied your message to the Maya2OSG wiki, as it explains perfectly how to use it. I hope you don't mind. Regards, On Thu, May 26, 2011 at 12:46 AM, Ryan Pavlik <[email protected]> wrote: > All, > I've created an installer using InnoSetup (with the QuickStart Pack from > here [1]) for binary builds of the Maya2OSG plugin on Windows. > It is automatically kept up-to-date by the CMake script. When you generated > in CMake on Windows after applying this improvement, it generates a > maya2osg.iss file in the build directory. You can either compile that > directly, or, if Inno Setup was found when you ran CMake, you'll have a > target in visual studio called "create_installer" that will do the same > thing. (If you are using CMake 2.8.4, it will build an installer using > whatever configuration you're currently in: release, debug, etc. If you're > using an older version, or if you're running the maya2osg.iss file outside > of visual studio, it will build an installer using the Release build.) > The installer filename includes the maya version and bitness, and multiple > such variations can be installed simultaneously without a problem, > automatically detecting the appropriate directory to install into. It > bundles all the osg dll's and plugins, as well as the axes.osg file needed > for osgpreview. As much as possible (everything except the shelf) is > installed system-wide (admin rights needed). The shelf and a script to > install it per-user (which should work on all language editions of windows - > uses Windows Scripting Host to lookup shell special folder location) are > placed in a subdirectory, and a start menu shortcut for the shelf install > script is created. This script only needs standard user rights, so > multi-user systems should be no problem. > The only catch on the developer's side is that the installer\osgdeps.iss > file may need to be modified depending on what dependency DLLs need to be > bundled with the OSG dll's. I've kept these lines in a separate file from > the bulk of the installer so that they can be easily modified locally > without resulting in too many merge conflicts when updating from SVN. > I've attached a zip containing full versions of all files added or modified. > I've tested this with Maya 2012, 64-bit, on Windows 7. > Thanks! > Ryan > [1] http://www.jrsoftware.org/isdl.php > > -- > Ryan Pavlik > HCI Graduate Student > Virtual Reality Applications Center > Iowa State University > > [email protected] > http://academic.cleardefinition.com > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > -- Javier Taibo _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
