raffa Posted December 6, 2006 Share Posted December 6, 2006 (edited) In the Autounattend.xml<RunOnce> <!-- This section contains elements for allowing additional commands during setup--> <RunOnceCommand FilePath="C:\sample1.vbs" Attributes="/a /f /e" Flags="1" ErrorControl="1" Reboot="True" Timeout="100" Cloning="On"> <DisplayName Value="MSDE Setup" /> <Description Value="This RunOnce Command installs MSDE" /> </RunOnceCommand> <RunOnceCommand FilePath="C:\sample2.vbs" Attributes="/r /j /k" Flags="0" ErrorControl="0" Reboot="True" Timeout="0" Cloning="Off"> <DisplayName Value="MSDE Setup" /> <Description Value="This RunOnce Command installs MSDE" /> </RunOnceCommand> <RunOnceCommand FilePath="C:\sample3.vbs" Attributes="/d /n /m" Flags="0" ErrorControl="0" Reboot="True" Timeout="0" Cloning="On"> <DisplayName Value="MSDE Setup" /> <Description Value="This RunOnce Command installs MSDE" /> </RunOnceCommand> <RunOnceCommand FilePath="C:\sample4.vbs" Attributes="/s /f /l" Flags="1" ErrorControl="1" Reboot="True" Timeout="1000" Cloning="Off"> <DisplayName Value="MSDE Setup" /> <Description Value="This RunOnce Command installs MSDE" /> </RunOnceCommand> </RunOnce>as we can insert the RunOnce and start setup, where to copy RunOnce so that it comes executed?Thank ! Edited December 6, 2006 by raffa Link to comment Share on other sites More sharing options...
fizban2 Posted December 6, 2006 Share Posted December 6, 2006 In the Autounattend.xml<RunOnce> <!-- This section contains elements for allowing additional commands during setup--> <RunOnceCommand FilePath="C:\sample1.vbs" Attributes="/a /f /e" Flags="1" ErrorControl="1" Reboot="True" Timeout="100" Cloning="On"> <DisplayName Value="MSDE Setup" /> <Description Value="This RunOnce Command installs MSDE" /> </RunOnceCommand> <RunOnceCommand FilePath="C:\sample2.vbs" Attributes="/r /j /k" Flags="0" ErrorControl="0" Reboot="True" Timeout="0" Cloning="Off"> <DisplayName Value="MSDE Setup" /> <Description Value="This RunOnce Command installs MSDE" /> </RunOnceCommand> <RunOnceCommand FilePath="C:\sample3.vbs" Attributes="/d /n /m" Flags="0" ErrorControl="0" Reboot="True" Timeout="0" Cloning="On"> <DisplayName Value="MSDE Setup" /> <Description Value="This RunOnce Command installs MSDE" /> </RunOnceCommand> <RunOnceCommand FilePath="C:\sample4.vbs" Attributes="/s /f /l" Flags="1" ErrorControl="1" Reboot="True" Timeout="1000" Cloning="Off"> <DisplayName Value="MSDE Setup" /> <Description Value="This RunOnce Command installs MSDE" /> </RunOnceCommand> </RunOnce>as we can insert the RunOnce and start setup, where to copy RunOnce so that it comes executed?Thank !RunOnce can be executed at several locations in the Install proccess, you cannot use it to kick off Setup as the AutoUnattend file is not read till AFTER setup is launched. Link to comment Share on other sites More sharing options...
raffa Posted December 6, 2006 Author Share Posted December 6, 2006 Thank you, very much. Link to comment Share on other sites More sharing options...
maxXPsoft Posted December 7, 2006 Share Posted December 7, 2006 I see nowhere that runonce is used by VistaWindows XP EmbeddedMobile and Embedded Development Link to comment Share on other sites More sharing options...
raffa Posted December 7, 2006 Author Share Posted December 7, 2006 E' true, I must find other solution ....thank !! Link to comment Share on other sites More sharing options...
fizban2 Posted December 7, 2006 Share Posted December 7, 2006 correct, not called runonce anymore but synchronous commands, can be added in passes 1,4,6,7 these are like runonce commands as you can launch applicatopns or scripts or bat files to continue installation.from within the WAIK, on the menu bar at the top, choose insert => Synchromous Command=> Pass then enter the command you want to run <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <CommandLine>\\servername\path\file.exe</CommandLine> </SynchronousCommand></FirstLogonCommands>this can launch anything you need, somethings may have to launched from msiexec or something else but you can do alot from here Link to comment Share on other sites More sharing options...
maxXPsoft Posted December 8, 2006 Share Posted December 8, 2006 well i'm glad we got that starightened outsince i been using those Synchronous and ASynchronous since I discovered runonce or ex is no more Link to comment Share on other sites More sharing options...
Innocent Devil Posted December 8, 2006 Share Posted December 8, 2006 vista install is very different from XPOEMs doesnt need RunOnce at all they can create master install with all required apps,confs & OOBE conf they they can build a wim from it and deploy the wimNowhere a run once came in place,M$ proposed WIM based deployment and not with runonce Link to comment Share on other sites More sharing options...
maxXPsoft Posted December 9, 2006 Share Posted December 9, 2006 (edited) With Vista you have Runonce BTW but name change,Its called Firstlogon and you can do pratically anything during that Firstlogon command with very little or no popups by the UAC if you know how. Edited December 10, 2006 by maxXPsoft 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