chrisoborski Posted March 19, 2010 Posted March 19, 2010 (edited) Im Working on a new unattended cd and its been about 6 years since the last one and this is like starting all over again. I never used [GuiRunOnce] last time. I used cmdline.txt for my registry tweaks and those didnt get imported. I think by using [GuiRunOnce] my registry tweaks will get imported since some of those contain HKEY_CURRENT_USERS registry keys. I read that [GuiRunOnce] will run those when the first user is logged on.I've got two files right now that i want to run The first is WALLPAPER.EXE which is a sfx archive containing really nice wallpaper that will self extract into C:\WINDOWS\Web\Wallpaper directory. So anytime you want to change the wallpaper there already there in the menu of wallpapers to choose from.So My question is when i create a batch file to run WALLPAPER.EXE and REGTWEAKS.REG what location does [GuiRunOnce] call my batch file from? What location does it need to be on the cd?So i guess all in all Where does my batch file need to be on the cd? ... Where does my two files WALLPAPER.EXE and REGTWEAKS.REG need to be on my cd?Will i need to put that location in the batch file that is called from [GUIRUNONCE]?I wasnt sure if these three files get copied from $OEM$ folder or if i should even place anything in that folder so i figured id ask..Thanks Again AS MSFN has been a HUGE resource in the past .. Except i didnt ask any questions last time.Thanks AgainChris.. Edited March 19, 2010 by chrisoborski
Yzöwl Posted March 19, 2010 Posted March 19, 2010 You don't need to add those commands to a batch file, just add them to the winnt.sif file section. [GuiRunOnce] "regedit /s %systemdrive%\install\regtweaks.reg" "%systemdrive%\install\wallpaper.exe"Your two files would go into the X:\$OEM$\$1\Install folder.For a refresher see here.
shashi Posted March 19, 2010 Posted March 19, 2010 How to install windows 2003 server on a SATA hard disk from CD.? Will there be any one to help me on this regard!!!!!!!!!!
Kelsenellenelvian Posted March 19, 2010 Posted March 19, 2010 How to install windows 2003 server on a SATA hard disk from CD.? Will there be any one to help me on this regard!!!!!!!!!!Sure! As soon as you ask in the right area and DON'T hijack someone else's thread like this!
chrisoborski Posted March 19, 2010 Author Posted March 19, 2010 (edited) Hey Thanks YzöwlI got it Just add my commands to [GuiRunOnce] section of Winnt.sifSo from what i can tell the $OEM$\$1\ gets copied to the c:\ <----windows xp installationThis would get renamed to oem\install if im right or no ?Thanks Again - Im bookmarking that page! - ThanksChrisEDIT:>>>>Nevermind I found this --> http://unattended.msfn.org/unattended.xp/view/web/18/That explains it all..Thanks Again. Edited March 19, 2010 by chrisoborski
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