*Reaper* Posted July 13, 2008 Posted July 13, 2008 Is there any way of using multiple cab files....Reason I ask...I am currently working on a addon that has more than 2000 files in it.....Alot of files will have to be renamed....Was wondering if I could use multiple cab files so I wouldn't have to rename tons and tons of files.....Sort of like....file1.cab would have like 20-30 files in it that would goto This.Dirfile2.cab would have like 20-30 files in it that would goto That.Diretc....Hope this explains it well enough.... Quote
Kelsenellenelvian Posted July 13, 2008 Posted July 13, 2008 YES YOU CAN!!!Yannow the sourcedisksnames section? where it say =1?add another one ringht below it and say =2then on all of those files you put =2 instead of =1...[sourceDisksNames.x86]1="UberPack Files","UberPack.cab",,"i386"2="UberPack Files","extracrap.cab",,"i386" Quote
*Reaper* Posted July 13, 2008 Author Posted July 13, 2008 (edited) [sourceDisksNames.x86]1="UberPack Files","UberPack.cab",,"i386"2="UberPack Files","extracrap.cab",,"i386"[sourceDisksFiles]Microsoft.VC80.CRT.manifest=1msvcm80.dll=1msvcp80.dll=1msvcr80.dll=1Microsoft.VC80.CRT.manifest=2msvcm80.dll=2msvcp80.dll=2msvcr80.dll=2So would the above be correct?But then how would I get them to go to the correct directories... Like below...[MVC.Dir]Microsoft.VC80.CRT.manifestmsvcm80.dllmsvcp80.dllmsvcr80.dll[MVC1.Dir]Microsoft.VC80.CRT.manifestmsvcm80.dllmsvcp80.dllmsvcr80.dllSo in other words how would I get it to put the 4 files out of UberPack.cab into the [MVC.Dir]and the files out of extracrap.cab into the [MVC1.Dir]...Don't see how it would be able to tell the difference between the two... Edited July 13, 2008 by *Reaper* Quote
Jonnyboy Posted July 13, 2008 Posted July 13, 2008 (edited) [sourceDisksNames.x86]1="UberPack Files","UberPack.cab",,"i386"2="UberPack Files","extracrap.cab",,"i386"[sourceDisksFiles]Microsoft.VC80.CRT.manifest=1msvcm80.dll=1msvcp80.dll=1msvcr80.dll=1Microsoft.VC80.CRT.manifest=2msvcm80.dll=2msvcp80.dll=2msvcr80.dll=2So would the above be correct?But then how would I get them to go to the correct directories... Like below...[MVC.Dir]Microsoft.VC80.CRT.manifestmsvcm80.dllmsvcp80.dllmsvcr80.dll[MVC1.Dir]Microsoft.VC80.CRT.manifestmsvcm80.dllmsvcp80.dllmsvcr80.dllSo in other words how would I get it to put the 4 files out of UberPack.cab into the [MVC.Dir]and the files out of extracrap.cab into the [MVC1.Dir]...Don't see how it would be able to tell the difference between the two... The SourceDiskNames directive tells the system where each file is located based on the diskid......What that means is that you can put your files just about anywhere so long as the inf can properly point to it in the SourceDiskNames section.Read through this page and get a better understanding.Link Edited July 13, 2008 by Jonnyboy Quote
ricktendo Posted July 13, 2008 Posted July 13, 2008 Thats so n00bish...IMO putting them all in one cab is best Quote
*Reaper* Posted July 13, 2008 Author Posted July 13, 2008 Oh well... Still don't get it anyways. Quote
*Reaper* Posted July 18, 2008 Author Posted July 18, 2008 [sourceDisksNames.x86]1="UberPack Files","UberPack.cab",,"i386"2="UberPack Files","extracrap.cab",,"i386"[sourceDisksFiles]Microsoft.VC80.CRT.manifest=1msvcm80.dll=1msvcp80.dll=1msvcr80.dll=1Microsoft.VC80.CRT.manifest=2msvcm80.dll=2msvcp80.dll=2msvcr80.dll=2So would the above be correct?But then how would I get them to go to the correct directories... Like below...[MVC.Dir]Microsoft.VC80.CRT.manifestmsvcm80.dllmsvcp80.dllmsvcr80.dll[MVC1.Dir]Microsoft.VC80.CRT.manifestmsvcm80.dllmsvcp80.dllmsvcr80.dllSo in other words how would I get it to put the 4 files out of UberPack.cab into the [MVC.Dir]and the files out of extracrap.cab into the [MVC1.Dir]...Don't see how it would be able to tell the difference between the two... Could someone use the above example and show me how it would be able to tellthe difference on which files to put in the MVC.Dir & MVC1.Dir...I see how it would know where the files are using the "1" & "2" but I don'tunderstand how it knows which files out of either of the 2 cabs wouldgo to the first dir. or the second... Since all the files are the same name.... Quote
Kelsenellenelvian Posted July 18, 2008 Posted July 18, 2008 Actually sice they are runtimes you could theoretically use the asms folder.But the crux of it all is you'll Hafta rename some of them if your doing it inf style.See my runtimes addon for the asms folder layout.Plus rick seems to have figured out more about the asms folders so he can post some info here too. Quote
ricktendo Posted July 18, 2008 Posted July 18, 2008 The asms folders are really tricky to figure out, you can star by looking on your windows cd for the correct layout...you also have to make sure you include the man and cat filesAbout not understanding the 1 & 2 = its pretty simple, but I dont think it will work if the files have the exact same name, because they will cancell each other out[sourceDisksFiles]Microsoft.VC80.CRT.manifest=1msvcm80.dll=1msvcp80.dll=1msvcr80.dll=1Microsoft.VC80.CRT.manifest=2msvcm80.dll=2msvcp80.dll=2msvcr80.dll=2 Quote
*Reaper* Posted July 20, 2008 Author Posted July 20, 2008 (edited) Ok.... This brings up another question.....Is there any way to have like a 7z file in the SouceDiskFiles section like below:[sourceDisksFiles]thisfile.7z=1So it would copy the file to say a temp directory... BUT after the file is copied, then get it to extract the contents of the 7z file to a destination directory?In other words, the 7z file would have like 20 files, 2 sub directories within it and the sub dir, would have filesin them also.....So when all was done, the 7z file would be deleted, and you would have your 20 files and sub dir in thedestination you chose to extract them to...So now the question is.... Is this possible using a inf file???? Edited July 20, 2008 by *Reaper* Quote
ricktendo Posted July 20, 2008 Posted July 20, 2008 Yes you could do it but this is way too tricky, best use a regular 7zip sfx not everything is best done by INF Quote
*Reaper* Posted July 20, 2008 Author Posted July 20, 2008 Could you please explain how....or point me to a place to find out...Trying to learn.....I understand that its more complicated.... I'm just wondering how you would do it....Thanks for your time Rick.... Quote
*Reaper* Posted July 27, 2008 Author Posted July 27, 2008 Any info on how to do this would be appreciated. Quote
Kelsenellenelvian Posted July 27, 2008 Posted July 27, 2008 http://www.wincert.net/forum/index.php?showtopic=1978 Quote
*Reaper* Posted July 28, 2008 Author Posted July 28, 2008 Thanks Kel....But I'm hoping to learn how to do it using a inf filelike Rick mentioned...Even though it may be "too tricky" and even more work. I would still like to know how its done.... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.