Steffen Posted November 4, 2005 Posted November 4, 2005 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
Br4tt3 Posted November 4, 2005 Posted November 4, 2005 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
Steffen Posted November 4, 2005 Author Posted November 4, 2005 Does anyone know the awnser on my question ??
Shark007 Posted November 4, 2005 Posted November 4, 2005 (edited) Steffen, i answerred this SAME question over a week ago in This ThreadGet WinRAR, learn how to create self extracting files, and you're on your way.shark Edited November 4, 2005 by Shark007
Steffen Posted November 4, 2005 Author Posted November 4, 2005 Thanxx I will try it now,But my setups needs to copy svcpack.dll I have delete that file 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
Shark007 Posted November 5, 2005 Posted November 5, 2005 (edited) svcpack.inf goes in the I386 directory as well as svcpack.dllHere 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.exeof course, you need to place the actual file 'selfextract.exe'into a folder called svcpack which is also in the I386 directoryHope this helps.shark Edited November 5, 2005 by Shark007
Steffen Posted November 6, 2005 Author Posted November 6, 2005 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 ?
Shark007 Posted November 6, 2005 Posted November 6, 2005 (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 November 6, 2005 by Shark007
Steffen Posted November 7, 2005 Author Posted November 7, 2005 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.exeI have placed the file in the svcpack directoryI have 2 files in the I386 directorysvcpack.inf ( my one created file )svcpack.dll ( The originel file )What do I wrong ?
eirogge Posted November 7, 2005 Posted November 7, 2005 (edited) change[setupData]CatalogSubDir="i386\hotfixes"to[setupData]CatalogSubDir="i386\svcpack"or[setupData]CatalogSubDir="amd64\svcpack"if youre using xp64 Edited November 7, 2005 by eirogge
Shark007 Posted November 7, 2005 Posted November 7, 2005 Just to confirm your directory structure...CD_ROOT --- the entire CDromCD_ROOT\I386 --- the main installation files (svcpack.inf etc.)CD_ROOT\I386\SVCPACK --- folder where you placed system32.exeIf 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 deleteso that windows installation uses the new one you placed there.Your svcpack.inf structure looks fine.shark
Steffen Posted November 7, 2005 Author Posted November 7, 2005 I have done what you said... But it didnt workI dont have svcpack.in_ anymore.. I has already delete it... Maybe is my svcpack.dl_ rong ??Other solution ? I'm desperet
Shark007 Posted November 7, 2005 Posted November 7, 2005 Steffen. i'm sorry, but i've been as clear as possible.I dont have anymore to offer. shark
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now