July 18, 201511 yr Hello.With windows 7 there is there SetupComplete.bat which will run at first logon and only run one time.What's the Windows XP equivalent? What I am trying to achieve is creating a c:\install folder and then having all the applications auto install. So far I have this.Add the install folder in the OEM's dir. \$OEM$\$1\Install so then this would become C:\Install\ Somehow have a .bat file execute during or after first logon to kick off the program install from C:\Install @echo offstart /wait "" firefox.msi /passivestart /wait "" adobereader.exe /sPB /msi /norestart ALLUSERS=1 EULA_ACCEPT=YESstart /wait "" office.exestart /wait "" chrome.exestart /wait "" fileformatconverter.exe /quietexit Thanks. Edited July 18, 201511 yr by techsup1983
July 18, 201511 yr Author I've just had a thought, I can run a script using nLite in Unattended\RunOnce, and instead of the .bat to install the apps i could use Add-On Maker and add the files as nLite addons.I'm still curious about the w7 setupcomplete.bat in xp is tho.What happens to $OEM$ does it disappear after the first reboot?Thanks. Edited July 18, 201511 yr by techsup1983
July 19, 201511 yr Author Hello. I just tried this and the script runs before windows logon and says that it can't find the software I think if the script ran after windows logged it it would work better, anyone know how I make the script run after the first logon?
July 19, 201511 yr Try adding: pushd C:\Install just below @echo off and then: popd just above exit. It should then work.
July 19, 201511 yr Author Many thanks dencorso. That worked brilliantly! My script ran through with no errors.That gets me around having to use Windows Post-Install Wizard WPI.
July 19, 201511 yr Author Thanks for the information Yzowl. I'm still learning XP deployments and those guides answer a few questions.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now