November 4, 200520 yr 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
November 4, 200520 yr 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
November 4, 200520 yr 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, 200520 yr by Shark007
November 4, 200520 yr Author 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
November 5, 200520 yr 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, 200520 yr by Shark007
November 6, 200520 yr Author 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 ?
November 6, 200520 yr 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, 200520 yr by Shark007
November 7, 200520 yr Author 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 ?
November 7, 200520 yr change[setupData]CatalogSubDir="i386\hotfixes"to[setupData]CatalogSubDir="i386\svcpack"or[setupData]CatalogSubDir="amd64\svcpack"if youre using xp64 Edited November 7, 200520 yr by eirogge
November 7, 200520 yr 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
November 7, 200520 yr Author 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
November 7, 200520 yr Steffen. i'm sorry, but i've been as clear as possible.I dont have anymore to offer. shark
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now