Jump to content

Recommended Posts

Posted

Hello,

Does anyone know how I can make a rule in svcpack.inf that starts a *.cmd or .bat?

I want to make a *.cmd that copy's setup-files to the system directory...

I dont use the oem maps because I use many raid drivers etc for different computers...

So please help :huh:


Posted

U already provided the answer... $OEM$. U can still have as many raid drivers u want as long as u dont exceed the 2000 charchters limit of the OEMPnPDriverPath entry. But to answer ur question, no I dont know how to do that..

GL

Posted

Thanxx I will try it now,

But my setups needs to copy svcpack.dll

I have delete that file :unsure:

I can replace it but where does the svcpack.inf need to standing ?

Can you tell me that? And can you tell me how youre svcpack.inf is look like??

Greettzz

Posted (edited)

svcpack.inf goes in the I386 directory as well as svcpack.dll

Here is the original svcpack.inf from a SP2 cd.

[Version]Signature="$Windows NT$"

[setupData]

CatalogSubDir="i386\hotfixes"

[ProductCatalogsToInstall]

[setupHotfixesToRun]

Once you create a self extracting file,

place it under the section like this:

[setupHotfixesToRun]

selfextract.exe

of course, you need to place the actual file 'selfextract.exe'

into a folder called svcpack which is also in the I386 directory

Hope this helps.

shark

Edited by Shark007
Posted

I have done what you said but the *.exe file is not working ir my svcpack.inf is not working ? Kan je attach a little exe file ?

Posted (edited)

I uploaded it here:

This Sample is 186kb contains a single 0 byte file.

This file will extract its contents to the system32 directory.

shark

Edited by Shark007
Posted

I have used youre file but it didnt work :(

This is my svcpack.inf:

[Version]Signature="$Windows NT$"

[setupData]

CatalogSubDir="i386\hotfixes"

[ProductCatalogsToInstall]

[setupHotfixesToRun]

system32.exe

I have placed the file in the svcpack directory

I have 2 files in the I386 directory

svcpack.inf ( my one created file )

svcpack.dll ( The originel file )

What do I wrong ?

Posted (edited)

change

[setupData]

CatalogSubDir="i386\hotfixes"

to

[setupData]

CatalogSubDir="i386\svcpack"

or

[setupData]

CatalogSubDir="amd64\svcpack"

if youre using xp64

Edited by eirogge
Posted

Just to confirm your directory structure...

CD_ROOT --- the entire CDrom

CD_ROOT\I386 --- the main installation files (svcpack.inf etc.)

CD_ROOT\I386\SVCPACK --- folder where you placed system32.exe

If you right click on the system32.exe and choose 'Open with WinRAR'

you can drag files into the window and ADD them.

In your I386 directory, is there svcpack.in_ ?

If this file exists, its a compressed svcpack.inf which you should delete

so that windows installation uses the new one you placed there.

Your svcpack.inf structure looks fine.

shark

Posted

I have done what you said... But it didnt work

I dont have svcpack.in_ anymore.. I has already delete it...

Maybe is my svcpack.dl_ rong ??

Other solution ?

I'm desperet :blink:

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...