Jump to content

Recommended Posts

Posted (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 off
start /wait "" firefox.msi /passive
start /wait "" adobereader.exe /sPB /msi /norestart ALLUSERS=1 EULA_ACCEPT=YES
start /wait "" office.exe
start /wait "" chrome.exe
start /wait "" fileformatconverter.exe /quiet
exit

 

Thanks.

Edited by techsup1983

Posted (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 by techsup1983
Posted

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?

Posted

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.

:thumbup 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...