top of page
Search
parismannon975jwy

Bootstrapper Manifest Generator for Visual Studio 2008 18: A Tool for Creating and Managing Redistri



I figured out how to add Custom Prerequisites to the Visual Studio prerequisites dialog box.MSDN as a good article on creating the prerequisite. Basically you just have to create a product manifest and a package manifest, copy them along with your distributable file to : \Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages. Visual studio will automatically pick it up.




bootstrapper manifest generator for visual studio 2008 18




Keep this between us, but you actually can install a new font. It just requires a small workaround. In order to do this, you have to make your new font a pre-requisite of the ClickOnce app you are installing, and create a bootstrapper for it. You can do this by creating a setup project in Visual Studio that only adds your font, and then run the Bootstrapper Manifest Generator found in the MSDN Code Gallery, here: Once you have created this, you can drop it in the bootstrappers folder. Which, depending on whether you are running VS2005 or VS2008, respectively, looks like one of these:


My procedure so far has been as follows (using variables for x86 vs i64 &release vs. debug):1) Build Boost (I think this builds everything):set BOOST_INC=%Out%\boostset BOOST_LIB=%Out%\boost\libset BOOST_BUILD=%Out%\boost\buildpushd %BOOST_SRC%call bootstrap# this step must be done in 32-bit modecall bjam install --layout=versioned link=static threading=multi--prefix=%BOOST_INC% --libdir=%BOOST_LIB% --build-dir=%BOOST_BUILD%2) build HDF5 (seems to build ok):set Generator="Visual Studio 9 2008 Win64"pushd %outDir%call %SRC%\hdf5-1.8.5-patch1\windows\copy_hdf.batcmake -G %Generator% -D HDF5_BUILD_HL_LIB:BOOL=ON%SRC%\hdf5-1.8.5-patch1vcbuild /nologo HDF5.sln "%config%%arch%"3) build IlmBase:vcbuild /nologo %SRC%\ilmbase-1.0.2\vc\vc8\IlmBase\IlmBase.sln"%config%%arch%"@if NOT exist "%deployDir%" goto donecopy /y %deployDir%\include\* %outDir%\include\OpenEXRcopy /y %deployDir%\lib\%arch%\%config%\* %outDir%\librd /s/q %deployDir%4) init the Alembic setup. I changed mk_cmake.py (attached) to (1) take a--generator=="Visual Studio 9 2008 Win64" arg, and (2) to take a --extra=arg so I can pass whatever extra adjustments I seemed to need to make.Currently these seem to be:set BOOST_ROOT=%Out%\boostset ILMBASE_ROOT=%Out%\IlmBaseset OPENEXR_ROOT=%Src%\openexr-1.6.1set HDF5_ROOT=%Src%\hdf5-1.8.5-patch1\srcset cmake_extra_args=%cmake_extra_args% -DZLIB_INCLUDE_DIR=%out%/zlib125set cmake_extra_args=%cmake_extra_args% -DZLIB_LIBRARY:FILEPATH=%Out%\zlibset cmake_extra_args=%cmake_extra_args% -DHDF5_USE_STATIC_LIBRARIES:BOOL=ONset cmake_extra_args=%cmake_extra_args% -DHDF5_hdf5_LIBRARY_RELEASE:FILEPATH=%Out%\hdf5\bin\Releaseset cmake_extra_args=%cmake_extra_args% -DHDF5_hdf5_LIBRARY_DEBUG:FILEPATH=%Out%\hdf5\bin\Debugset cmake_extra_args=%cmake_extra_args% -DHDF5_hdf5_hl_LIBRARY_RELEASE:FILEPATH=%Out%\hdf5\bin\Releaseset cmake_extra_args=%cmake_extra_args% -DHDF5_hdf5_hl_LIBRARY_DEBUG:FILEPATH=%Out%\hdf5\bin\Debugmk_cmake.py --disable-prman --disable-maya--with-ilmbase=%ILMBASE_ROOT% --with-exr=%OPENEXR_ROOT% --with-hdf5=%HDF5_ROOT% --with-boost=%BOOST_ROOT%--boost_librarydir=%Out%/boost/lib --generator=%Generator% --extra="%cmake_extra_args%"This seems to finally get me to where cmake sets up without errors (otherthan warnings about links to directories). The "fun" begins when I try tobuild Alembic.sln. AlembicAbcCoreAbstract builds fine, but the troublebegins in AlembicAsset. If HDF5_ROOT is set tocontrib\hdf5-1.8.5-patch1\src, every file generates repeated errors in:Lib\Alembic/MD5Hash/Process.h(70) : error C2146: syntax error :missing ';' before identifier 'm_count'Because ssize_t is not defined (it is defined in boost). If I set HDF5_ROOTto %Src%\lib\Alembic\HDF5 instead, then all hell breaks loose starint with:lib\Alembic/HDF5/BaseObject.h(48) : error C2065: 'hsize_t' :undeclared identifierand a whole lot more...Since I'm sure I'm not the first to run into this (even though none of thethreads seem to mention it), anyone have any ideas what basic, mindless,trivial piece I've foolishly missed? I'm running out of hair...Thanks,Pete 2ff7e9595c


1 view0 comments

Recent Posts

See All

Comentários


bottom of page