techsup1983 Posted July 18, 2015 Share Posted July 18, 2015 (edited) 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, 2015 by techsup1983 Link to comment Share on other sites More sharing options...
techsup1983 Posted July 18, 2015 Author Share Posted July 18, 2015 (edited) 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, 2015 by techsup1983 Link to comment Share on other sites More sharing options...
techsup1983 Posted July 19, 2015 Author Share Posted July 19, 2015 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? Link to comment Share on other sites More sharing options...
dencorso Posted July 19, 2015 Share Posted July 19, 2015 Try adding: pushd C:\Install just below @echo off and then: popd just above exit. It should then work. Link to comment Share on other sites More sharing options...
techsup1983 Posted July 19, 2015 Author Share Posted July 19, 2015 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. Link to comment Share on other sites More sharing options...
Yzöwl Posted July 19, 2015 Share Posted July 19, 2015 …also remember the guides. Link to comment Share on other sites More sharing options...
techsup1983 Posted July 19, 2015 Author Share Posted July 19, 2015 Thanks for the information Yzowl. I'm still learning XP deployments and those guides answer a few questions. 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