maxXPsoft Posted June 30, 2007 Posted June 30, 2007 (edited) Windows6.0-KB929327-x86.msu has to be injected into the install.wimI call a .cmd file and set my DREAMSCENE this way. Its first thing in this .cmd so when Vista loads desktop the DREAMSCENE is playing.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>First Part of FirstLogon.cmd in sources\$oem$\$1\InstallREM SETTING DREAMSCENEREG ADD "HKCU\Control Panel\Desktop" /v TileWallpaper /t REG_SZ /d 1 /fREG ADD "HKCU\Control Panel\Desktop" /v WallpaperStyle /t REG_SZ /d 0 /fREG ADD "HKCU\Control Panel\Desktop" /v WallPaper /t REG_SZ /d "%userprofile%\AppData\Roaming\Microsoft\Windows DreamScene\DreamScene.jpg" /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\MotionDesktop" /v FilePath /t REG_SZ /d "%systemroot%\Web\Windows DreamScene\Bliss_Sunset.WMV" /fEDIT:To Stop a black background from appearing at first add this to your cmd file:CMD /C Move "%SystemRoot%\Web\Windows DreamScene\DreamScene.jpg" "%APPDATA%\Microsoft\Windows DreamScene" /YCMD /C Move "%SystemRoot%\Web\Windows DreamScene\Img001.jpg" "%APPDATA%\Microsoft\Windows DreamScene" /YCMD /C Attrib +H "%APPDATA%\Microsoft\Windows DreamScene\Img001.jpg"Don't know why that 1 file is set to Hidden, it just is.You must mount and copy your DreamScene files including the 2 .jpgs to the DVD\Windows\Web\Windows DreamScene Folder. Folder has to be created in the Install.wim. The 2 images are simply a still shot at correct resolution.Thats it, perfect startup on first load of desktopEDIT 11 April 2008: as added by amit_talkinWith Vista SP1 you need to add this key and then it works on load of desktop.Just add into your Firstlogoncommands above all 1 lineREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\DreamScene" /v FilePath /t REG_SZ /d "%systemroot%\Web\Windows DreamScene\Bliss_Sunset.WMV" /fthats Blissfull Sunset playing there Edited April 11, 2008 by maxXPsoft
amit_talkin Posted June 30, 2007 Posted June 30, 2007 (edited) very nice max. i was just wondering abt it. btw..explain us how to do it.P.S. can u help me with this?http://www.msfn.org/board/index.php?showtopic=100351AMIT Edited June 30, 2007 by amit_talkin
maxXPsoft Posted July 1, 2007 Author Posted July 1, 2007 (edited) it works but i have to figure out how to do something first so its better and saferIf you have a value in the registry say its 15.its a DWORDHow would I increment that in dos cmdline and the registry to be 16?I can do a query and I get <NO NAME> REG_DWORD 0x15I think I can use a For and get last 2 characters into a variable but i'm not good with ForNo clue amit. I've not been playing with 64 Edited July 1, 2007 by maxXPsoft
maxXPsoft Posted July 3, 2007 Author Posted July 3, 2007 ok amitfirst post is the way I'm doing it, I found I could make it work without incrementing that 1 key.
amit_talkin Posted July 3, 2007 Posted July 3, 2007 good work bro. i am sure it is working fine now caz u have tested it . saving this webpage for offline use now . thnx for it. AMIT
maxXPsoft Posted July 6, 2007 Author Posted July 6, 2007 Ok the black background I've figured out is because when you start a dreamscene within vista it creates a image.jpg of 1 scene from that file and stores it. When you reboot with dreamscene on and come back to desktop you will see this image for a few seconds, motionless like a wallpaper. I think its giving time for the dreamscene to kick inIf you needed to you can create a still shot and store it in this reg key location and it will start like any other. I tried it with another image till i figured out you can pause the dreamscene and get your shot.
maxXPsoft Posted July 7, 2007 Author Posted July 7, 2007 updateBy setting a wallpaper in my <FirstLogonCommands> cmd file it loads first and then the Dreamscene kewl
maxXPsoft Posted July 9, 2007 Author Posted July 9, 2007 (edited) Edited first post on this. Edited July 10, 2007 by maxXPsoft
amit_talkin Posted July 11, 2007 Posted July 11, 2007 (edited) Good work max. appreciated !! btw..can u post hotfixes required for dreamscene to be enabled @ 1st logon? Edited July 11, 2007 by amit_talkin
maxXPsoft Posted July 11, 2007 Author Posted July 11, 2007 KB929327 not available at WU so look around
amit_talkin Posted July 11, 2007 Posted July 11, 2007 KB929327 not available at WU so look around np...i have got it already .
amit_talkin Posted August 4, 2007 Posted August 4, 2007 (edited) Hi max,i just tested your method today, unfortunately it didnt work for me. i mean i m doing something wrong?here is my DreamScene command file which i m using @ 1st logon commands.REM SETTING DREAMSCENEREG ADD "HKCU\Control Panel\Desktop" /v TileWallpaper /t REG_SZ /d 1 /fREG ADD "HKCU\Control Panel\Desktop" /v WallpaperStyle /t REG_SZ /d 0 /fREG ADD "HKCU\Control Panel\Desktop" /v WallPaper /t REG_SZ /d %userprofile%\AppData\Roaming\Microsoft\Windows DreamScene\DreamScene.jpg /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\MotionDesktop" /v FilePath /t REG_SZ /d "%systemroot%\Web\Windows DreamScene\vid1337.mpg" /fi dont care this time about that black background u have told. caz this time i m only testing it 1st. and can u plz explain what is "DreamScene.jpg" ? is it screenshot of dreamscene video? i have tried to capture ss of it. but Screenshots only showing blackscreen after saving it as jpg file!P.S. i have integrated all updates required for dreamscenes to be enabled.RegardsAMIT Edited August 4, 2007 by amit_talkin
maxXPsoft Posted August 5, 2007 Author Posted August 5, 2007 (edited) you need quotes around them paths will be long nameREG ADD "HKCU\Control Panel\Desktop" /v WallPaper /t REG_SZ /d "%userprofile%\AppData\Roaming\Microsoft\Windows DreamScene\DreamScene.jpg" /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\MotionDesktop" /v FilePath /t REG_SZ /d "%systemroot%\Web\Windows DreamScene\rockystream.mpg" /fnotice that Windows DreamScene has a space in itEdited my first post.explain what is "DreamScene.jpg" ? is it screenshot of dreamscene video? i have tried to capture ss of it. but Screenshots only showing blackscreen after saving it as jpg file!The DreamScene.jpg and the Img001.jpg are just still shots of the dream.You can pause it to grab screenshot.EDIT: Just right click the Desktop and a Pause Dream Scene will be in that Context menuI just got through doing complete Install and Dream was playing and seen it. Edited August 5, 2007 by maxXPsoft
amit_talkin Posted April 10, 2008 Posted April 10, 2008 Hi,just want to inform u tht in vista sp1, reg entry to enable dreamscene at 1st logon is changed.as far i have tested it i can say new keys are as below.Windows Registry Editor Version 5.00[HKEY_USERS\S-1-5-21-111066163-3857612836-1258876716-500\Software\Microsoft\Windows\CurrentVersion\DreamScene]"FilePath"="G:\\Windows\\Web\\Windows DreamScene\\BlissfulSunset.mpg"i have tried this new entry and dreamscene worked fine for me now the main question is that how to add this entry in registry?because SID changes often, if u will run this reg. in ur pc thn dreamscene wont be enabled as ur SID is diff. right?so is there any variable to set reg. key ?i meanHKU\%SID%\Software\Microsoft\Windows\CurrentVersion\DreamScene\"something like that!AMIT
maxXPsoft Posted April 11, 2008 Author Posted April 11, 2008 HKU\%SID% is only a temporary location for some keys. That key is mirrored inHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\DreamSceneWhat I'm saying is you should be able to add it there and should work.I don't have SP1 integrated at this time cause I was waiting on a final.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now