Posted February 15, 201312 yr Which configuration pass or stage during Windows 7 Setup does WinToolkit (RunOnce) execute the integrated silent installers, before or after setupcomplete.cmd?
February 15, 201312 yr Its my understanding that the installers run 1st and the setupcomplete.cmd after
February 16, 201312 yr Hi, i can agree, i have sad2 integrated with setupcomplete.cmd and sad2 triggers after installer! Greetz X23
February 17, 201312 yr First install setupcomplete e.g. MRT, Silverlight, DirectX, Java, Flash, NET4.5 etc(100% system efficiency) after WinToolkit Silent Installers e.g. KB2533552 and programs third-party(errors occur). Better to install in the setupcomplete.
February 17, 201312 yr Author First install setupcomplete e.g. MRT, Silverlight, DirectX, Java, Flash, NET4.5 etc(100% system efficiency) after WinToolkit Silent Installers e.g. KB2533552 and programs third-party(errors occur). Better to install in the setupcomplete. Tested your scenerio and No errors. either way. Can you explain? Edited February 17, 201312 yr by dotfusion
February 17, 201312 yr Yes, repeatedly tested, 100% working. Exemplary setupcomplete.cmd @echo offSTART /WAIT %windir%\Setup\Scripts\dotNetFx45_Full_x86_x64_Rebuild /q /norestartSTART /WAIT %windir%\Setup\Scripts\DirectX.exeSTART /WAIT %windir%\Setup\Scripts\VBCFJRedist_AIO_x86_x64.exe /ySTART /WAIT %windir%\Setup\Scripts\Silverlight.exe /q /noupdateSTART /WAIT %windir%\Setup\Scripts\WindowsUpdateAgent30-x86.exe /quiet /norestartSTART /WAIT %windir%\Setup\Scripts\msxml4-KB2758694-enu.exe /q /norestartSTART /WAIT %windir%\Setup\Scripts\rvkroots.exe /q /r:nSTART /WAIT %windir%\Setup\Scripts\Windows-KB890830-V4.16.exe /quiet /norestartSTART /WAIT %windir%\Setup\Scripts\Reapers.Java.7.x86.exeSTART /WAIT %windir%\Setup\Scripts\Reapers.Adobe.Flash.Player.ActiveX.11.5.502.146.exeSTART /WAIT %windir%\Setup\Scripts\Reapers.Adobe.Flash.Player.Plugin.11.5.502.146.exeSTART /WAIT %windir%\Setup\Scripts\Reapers.Adobe.Shockwave.Player.11.6.8.638.exeexit In the folder Scripts put all the programs and setupcomplete.cmd You must mount the system image WinToolkit -WIM Manager and put folder Scripts in the Windows\Setup - save and unmount. Sorry for my english.
February 17, 201312 yr Author yes, yes, I know this, I use this method all the time. Never mind. I understand now. I install all these via Win Toolkit and other items via stupcomplete.cmd.
February 17, 201312 yr Currently I don't use setupcompete at all.. I install everything via SFX/Silent installers but I realize after seeing wiktorynka's method that I am basically doing the same thing just using "calls" from SFX and and install folder in my $OEM$ I'm not sure if there is a benefit doing it one way over the other.
February 17, 201312 yr The disadvantage to wiktorynka's method is that it requires mounting and unmounting the image. There are other methods, I'm not sure if your way is one of them compstuff, which allow the installation files to be updated, changed, deleted, etc just by dropping them into a folder, which you could even have on a different disk, making them much easier to update. The installation of those installers at OS install time should be virtually identical, however. An example of such a method which uses an external folder for your installation files is shown here - http://www.msfn.org/board/topic/156730-unattended-installation/page__p__1030189#entry1030189. Cheers and Regards Edited February 17, 201312 yr by bphlpt
February 17, 201312 yr Installing KB2533552 via setup complete.cmdworking for me,, no eror..start /wait %windir%\system32\wusa.exe %systemroot%\setup\scripts\Windows6.1-KB2533552-x86.msu /quiet /norestart
February 17, 201312 yr I integrate KB2533552x64 using the ToolKit and add it as an SFX and I have never had a problem:KB2533552x64::N/A (Not Needed);NO;9.23 MB;E:\!Slipstream\_7Tools\_Step-2\01-02-Offline\01-KB
February 17, 201312 yr I integrate KB2533552x64 using the ToolKit and add it as an SFX and I have never had a problem:KB2533552x64::N/A (Not Needed);NO;9.23 MB;E:\!Slipstream\_7Tools\_Step-2\01-02-Offline\01-KB Agree! (i install it as first one 1. position in list) Edited February 17, 201312 yr by x23piracy
February 25, 201312 yr Author @Compstuff Can you confirm that installers run first and then setup complete. I just saw a post by etz that claims the oposite. Setupcomplete.cmd first then the installers. Post by etz Its my understanding that the installers run 1st and the setupcomplete.cmd after
February 25, 201312 yr Hi, i have a reboot in my setupcomplete.cmd and the machine makes this reboot before installer appears. Greetz X23
February 25, 201312 yr I am running a test now@Compstuff Can you confirm that installers run first and then setup complete. I just saw a post by etz that claims the oposite. Setupcomplete.cmd first then the installers. Post by etz
February 25, 201312 yr I just tested it and etz is 100% accurate... I used some time stamping to determine what runs first and sure enough... now I have to figure what if any impact this has on my process Here is some basic info about the timing: 1049 setup is starting copying windows files1058 1st reboot starting windows, updating registry1059 starting services, flashes, completing 1st part gui install1104 setup will continue after restart1104 2nd reboot starting windows1105 preparing 1st use, video check,1105 SETUPCOMPLETE.CMD 1106 welcome, preparing desktop1108 sfx #4 of 481132 kommclean1133 personalize settings screen DoneI am running a test now Edited February 25, 201312 yr by compstuff
February 25, 201312 yr Author Thanks compstuff for taking the time to confirm.Knowing this will change a few things that i normally during the Win Toolkit phase.
February 25, 201312 yr Thanks for the info compstuff, this should be noted on WinToolkit guide and/or stickied somewhere.
February 26, 201312 yr Author Considering the amount of useful info in the forum, I would be more than happy to put together some sort of FAQ.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.