{"id":225,"date":"2007-05-24T16:49:14","date_gmt":"2007-05-24T20:49:14","guid":{"rendered":"http:\/\/www.rakkar.org\/blog\/?p=225"},"modified":"2007-05-24T16:49:14","modified_gmt":"2007-05-24T20:49:14","slug":"manifest-hell","status":"publish","type":"post","link":"https:\/\/rakkar.org\/blog\/index.php\/2007\/05\/24\/manifest-hell\/","title":{"rendered":"Manifest hell"},"content":{"rendered":"<p>\t\t\t\tWhoever thought of manifest files for VS2005 should be shot.  Right now my artist&#8217;s can&#8217;t run the game due to this crap.  Already wasted 4 hours trying to figure this out, and am getting nowhere.<\/p>\n<p>No longer can you include the necessary DLLs.  Now they have dependencies embedded into the assembly, and it checks in weird system paths using the registry.  Unless the person trying to run the game has these dependencies already (or Visual Studio 2005 installed) they can&#8217;t run it.  I can&#8217;t actually test since I do have VS2005, so I have to grab people to help me try installing the game.<\/p>\n<p>Your choices: Either (maybe??) use the HORRIBLE installer included with Visual Studio 2005, or &#8230; um I don&#8217;t know.  The reason their installer is horrible is that it&#8217;s hard as hell to use, and I have to go through every single file in my game, one by one, and add it to the installer.  No way am I going to do that.  It also can&#8217;t find dependencies by 3rd party DLLs.  It also doesn&#8217;t generate a single file for the installer, but 2 files (???).  So there&#8217;s not one download but 2.  Forget about it.<\/p>\n<p>I tried copying a .manifest file from another program, along the DLLs.  that should work I think, except that I&#8217;m using a whole bunch of libraries.  Do I need to somehow find the source for those other DLLs and turn off manifest generation there too, and rebuild everything?  I&#8217;m not sure that&#8217;s even possible, and if it were it would take me days to hunt down the source.  Anyway, it doesn&#8217;t work.<\/p>\n<p>I tried having my testers install the VS redistributable runtime but it also didn&#8217;t work.<\/p>\n<p>I&#8217;m sort of running out of options here aside from installing VC6, getting things to build there, and using that instead.<\/p>\n<p>Goddamn it.  I just want to get this freaking game done and it&#8217;s always something to waste my time.<\/p>\n<p>* EDIT *<\/p>\n<p>I finally figured it out.  I didn&#8217;t know there was a VS2005 redistributable for versions both with and without SP1.  I didn&#8217;t see the SP1 version on my prior google search, and had my artists install the one without.  I had one user install it with the SP1 version and it worked.<\/p>\n<p>I&#8217;m also going to distribute the .manifest and dlls alongside the application.  This was actually one of the first things I tried, and it didn&#8217;t work, so I think it&#8217;s more for versions of Windows that don&#8217;t have side by side assemblies at all.  I saw that FMOD designer and most other installed applications did this, so in all probability it will work.\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Whoever thought of manifest files for VS2005 should be shot. Right now my artist&#8217;s can&#8217;t run the game due to this crap. Already wasted 4 hours trying to figure this out, and am getting nowhere. No longer can you include the necessary DLLs. Now they have dependencies embedded into the assembly, and it checks in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/225"}],"collection":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=225"}],"version-history":[{"count":0,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/225\/revisions"}],"wp:attachment":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}