January 13, 201115 yr ok so what im trying to do is have a text file popup on the screen the first time i login after installing my xp cdps sorry if this has been answered before i couldnt find anyhting on the subject on here and on google for the past 5 hoursthanks
January 13, 201115 yr Open your text file with Notepad using RunOnceEx. Follow the steps below. As written, your text file should be located in a directory specified in the PATH environment variable, such as the %SystemRoot% directory.Decompress SVCPACK.IN_ in the I386 directory of your Windows source files to get SVCPACK.INF. Place the SVCPACK.INF file in I386 and delete the file named SVCPACK.IN_ in I386.Verify that the CatalogSubDir value in the [setupData] section in SVCPACK.INF is set correctly. It should read as follows:[SetupData]CatalogSubDir="i386\svcpack"Add the following line to the [setupHotfixesToRun] section at the end of the SVCPACK.INF file:MyRegs.cmdCreate a file named MyRegs.cmd in the I386\svcpack directory of your Windows source files with the following single line of code:Reg.exe ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\OpenTextFile" /v "1" /d "Notepad.exe \"TextFileName.txt\"" /f Edited January 13, 201115 yr by 5eraph
January 13, 201115 yr Author only one question where do i locate the txt file i dont see from the code where it should be located on the cd unless i missed it
January 13, 201115 yr Sorry. It's difficult to know your current level of experience with only three posts to your credit. Are you familiar with the $OEM$ distribution folders and WINNT.SIF? Other methods exist to get your files installed, but the $OEM$ folders are the easiest once they're set up properly.
January 13, 201115 yr Author nope im a beginner at this i get everything else ok just not where to put my text Edited January 13, 201115 yr by ir0nd4gg3r
January 14, 201115 yr OK. Thorough explanations for the $OEM$ folders and WINNT.SIF are provided at the links in my previous reply. Here's a crash course to get your text file in:Create a file named WINNT.SIF in the I386 directory of your Windows source files that contains the following lines of code:[Unattended]OemPreinstall="Yes"At the root of your Windows source (outside I386) create the directory "$OEM$\$$" and place your text file in the $$ subdirectory. This will install your text file in $SystemRoot$ ("C:\WINDOWS" by default). Edited January 14, 201115 yr by 5eraph
January 14, 201115 yr Author one last question svcpack.inf do i leave it like that or makecab it back to svcpack.in_
January 15, 201115 yr You can MakeCab it if you'd like, but it's not necessary. Be advised that if both SVCPACK.INF and SVCPACK.IN_ exist in I386 then Windows will use the .IN_ file.
Create an account or sign in to comment