ir0nd4gg3r Posted January 13, 2011 Share Posted January 13, 2011 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 Link to comment Share on other sites More sharing options...
Guest Posted January 13, 2011 Share Posted January 13, 2011 (edited) 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, 2011 by 5eraph Link to comment Share on other sites More sharing options...
ir0nd4gg3r Posted January 13, 2011 Author Share Posted January 13, 2011 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 Link to comment Share on other sites More sharing options...
Guest Posted January 13, 2011 Share Posted January 13, 2011 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. Link to comment Share on other sites More sharing options...
ir0nd4gg3r Posted January 13, 2011 Author Share Posted January 13, 2011 (edited) nope im a beginner at this i get everything else ok just not where to put my text Edited January 13, 2011 by ir0nd4gg3r Link to comment Share on other sites More sharing options...
Guest Posted January 14, 2011 Share Posted January 14, 2011 (edited) 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, 2011 by 5eraph Link to comment Share on other sites More sharing options...
ir0nd4gg3r Posted January 14, 2011 Author Share Posted January 14, 2011 one last question svcpack.inf do i leave it like that or makecab it back to svcpack.in_ Link to comment Share on other sites More sharing options...
ir0nd4gg3r Posted January 14, 2011 Author Share Posted January 14, 2011 (edited) just want to be sure Edited January 14, 2011 by ir0nd4gg3r Link to comment Share on other sites More sharing options...
Guest Posted January 15, 2011 Share Posted January 15, 2011 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now