script/batch file to run on first boot help how do you display a text file on inital boot after installation
#1
Posted 12 January 2011 - 09:32 PM
ps sorry if this has been answered before i couldnt find anyhting on the subject on here and on google for the past 5 hours
thanks
#2
Posted 13 January 2011 - 02:08 AM
- 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.cmd
- Create 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
This post has been edited by 5eraph: 13 January 2011 - 02:48 AM
#3
Posted 13 January 2011 - 02:53 PM
#4
Posted 13 January 2011 - 04:26 PM
#5
Posted 13 January 2011 - 05:41 PM
This post has been edited by ir0nd4gg3r: 13 January 2011 - 05:43 PM
#6
Posted 13 January 2011 - 07:11 PM
- 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).
This post has been edited by 5eraph: 13 January 2011 - 07:12 PM
#7
Posted 14 January 2011 - 05:24 PM
#8
Posted 14 January 2011 - 05:25 PM
This post has been edited by ir0nd4gg3r: 14 January 2011 - 05:43 PM
#9
Posted 14 January 2011 - 08:25 PM



Help
Back to top








