Mortagen Posted January 27, 2010 Posted January 27, 2010 Hi,I'd like to run a batch file during the installation of Windows, silently if possible. I've looked into GUIRUNONCE but this doesn't help me in case the user has taken out the CD by this point. So instead, i'd like to call a batch file somewhere during the Windows (2000/XP) installation, so i know the disc is still in the drive, so the files can be read from the disc.I can't use OEM Folder distribution to bypass having the files on the CD in this scenario/situation either. Can anybody help?Thanks.Regards, Ben
Mortagen Posted January 27, 2010 Author Posted January 27, 2010 (edited) Wait... does GUIRUNONCE run after setup, but before the reboot which starts Windows for the first time? So the disc is still in, and GUIRUNONCE just adds an extra stage to the end of the installation?Regards, BenEDIT: Ok i guess it's importing guirunonce instructions to the registry, so it does do everything on first boot *sigh* Edited January 27, 2010 by Mortagen
Martin H Posted January 27, 2010 Posted January 27, 2010 Yes it runs at first-logon, before the desktop shows(why take the disc out before that point?)...You have several alternatives however, as per the MSFN unattended guide, then you can use e.g. cmdlines.txt or svcpack.inf...
cluberti Posted January 27, 2010 Posted January 27, 2010 Running cmd files during setup requires careful planning, as the whole system isn't fully installed yet at places where you can accomplish this. It would be better to use $OEM$ folders and cmdlines or svcpack (again, as per the unattended guide) if you're worried about disc removal.
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