Using FirstLogonCommands in my xml
<settings pass="oobeSystem"> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>%systemdrive%\Install\FirstLogon.cmd</CommandLine> <Order>1</Order> <Description>FirstLogon</Description> </SynchronousCommand> </FirstLogonCommands>
Part of FirstLogon.cmd in sources\$oem$\$1\Install
REM SETTING WALLPAPER REG ADD "HKCU\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d %systemroot%\Web\Wallpaper\BlissfullSunset.jpg /f REG ADD "HKCU\Software\Microsoft\Internet Explorer\Desktop\General" /v Wallpaper /t REG_EXPAND_SZ /d %%systemroot%%\Web\Wallpaper\BlissfullSunset.jpg /f REG ADD "HKCU\Software\Microsoft\Internet Explorer\Desktop\General" /v BackupWallpaper /t REG_EXPAND_SZ /d %%systemroot%%\Web\Wallpaper\BlissfullSunset.jpg /f
Theres other ways to do this I'm sure but this is so simple.
Before someone says it don't work last step is mount and add my Wallpaper folder into my install.wim in Windows\Web\Wallpaper
This post has been edited by maxXPsoft: 04 July 2007 - 10:22 AM



Help
Back to top










