Computing.Net > Forums > Windows XP > Unattended Install

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Unattended Install

Reply to Message Icon

Original Message
Name: oldglory
Date: July 5, 2006 at 08:54:18 Pacific
Subject: Unattended Install
OS: XP Pro SP2
CPU/Ram: 2GHz
Comment:

All,

I'm doing a unattended install and I'd like the [GuiRunOnce] option in my winnt.sif to run the "%SystemRoot%\System32\infinst_autol\setup.exe" command. I'd then like to remove the "%SystemRoot%\System32\infinst_autol" directory once it has finished. Unfortunately, I've attempted to do this with a combination of batch files but the "%SystemRoot%\System32\infinst_autol" directory is removed before the setup.exe is executed or the setup.exe is executed and the "%SystemRoot%\System32\infinst_autol" directory isn't removed. Your help is greatly appreciated.

Thanks

The key is to have this automated so I can give the install disk to a student to run in a 40 PC lab.


Report Offensive Message For Removal


Response Number 1
Name: Lucid
Date: July 6, 2006 at 12:09:36 Pacific
Reply: (edit)

Put the batch file somewhere else. Have it execute your .EXE file and wait for it to finish (use the START command with the /WAIT switch), then delete your directory, then as the last command in the batch file delete the file itself (batch files can be self-deleting - use Google for examples). You'll want to test the commands prior to using it in your automated process, but that should work for you...


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home








Do you own an iPhone?

Yes
No, but soon
No


View Results

Poll Finishes In 7 Days.
Discuss in The Lounge
Poll History




Data Recovery Software