Jump to content

Recommended Posts

Posted

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.Dir

file2.cab would have like 20-30 files in it that would goto That.Dir

etc....

Hope this explains it well enough....

Posted

YES YOU CAN!!!

Yannow the sourcedisksnames section? where it say =1?

add another one ringht below it and say =2

then 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"

Posted (edited)

[sourceDisksNames.x86]

1="UberPack Files","UberPack.cab",,"i386"

2="UberPack Files","extracrap.cab",,"i386"

[sourceDisksFiles]

Microsoft.VC80.CRT.manifest=1

msvcm80.dll=1

msvcp80.dll=1

msvcr80.dll=1

Microsoft.VC80.CRT.manifest=2

msvcm80.dll=2

msvcp80.dll=2

msvcr80.dll=2

So 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.manifest

msvcm80.dll

msvcp80.dll

msvcr80.dll

[MVC1.Dir]

Microsoft.VC80.CRT.manifest

msvcm80.dll

msvcp80.dll

msvcr80.dll

So 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... :blink:

Edited by *Reaper*
Posted (edited)
[sourceDisksNames.x86]

1="UberPack Files","UberPack.cab",,"i386"

2="UberPack Files","extracrap.cab",,"i386"

[sourceDisksFiles]

Microsoft.VC80.CRT.manifest=1

msvcm80.dll=1

msvcp80.dll=1

msvcr80.dll=1

Microsoft.VC80.CRT.manifest=2

msvcm80.dll=2

msvcp80.dll=2

msvcr80.dll=2

So 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.manifest

msvcm80.dll

msvcp80.dll

msvcr80.dll

[MVC1.Dir]

Microsoft.VC80.CRT.manifest

msvcm80.dll

msvcp80.dll

msvcr80.dll

So 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... :blink:

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 by Jonnyboy
Posted
[sourceDisksNames.x86]

1="UberPack Files","UberPack.cab",,"i386"

2="UberPack Files","extracrap.cab",,"i386"

[sourceDisksFiles]

Microsoft.VC80.CRT.manifest=1

msvcm80.dll=1

msvcp80.dll=1

msvcr80.dll=1

Microsoft.VC80.CRT.manifest=2

msvcm80.dll=2

msvcp80.dll=2

msvcr80.dll=2

So 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.manifest

msvcm80.dll

msvcp80.dll

msvcr80.dll

[MVC1.Dir]

Microsoft.VC80.CRT.manifest

msvcm80.dll

msvcp80.dll

msvcr80.dll

So 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... :blink:

Could someone use the above example and show me how it would be able to tell

the 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't

understand how it knows which files out of either of the 2 cabs would

go to the first dir. or the second... Since all the files are the same name....

Posted

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.

Posted

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 files

About 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=1

msvcm80.dll=1

msvcp80.dll=1

msvcr80.dll=1

Microsoft.VC80.CRT.manifest=2

msvcm80.dll=2

msvcp80.dll=2

msvcr80.dll=2

Posted (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=1

So 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 files

in them also.....

So when all was done, the 7z file would be deleted, and you would have your 20 files and sub dir in the

destination you chose to extract them to...

So now the question is.... Is this possible using a inf file????

Edited by *Reaper*
Posted

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....

Posted

Thanks Kel....

But I'm hoping to learn how to do it using a inf file

like Rick mentioned...

Even though it may be "too tricky" and even more work.

I would still like to know how its done....

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...