Jump to content

Automatic File upload during windows installation


Recommended Posts

Posted

Ok so I work a for a small computer refurbishing center (not for profit, MAR program) and Im trying to make a custom build of windows XP for our use. Using nlite and driverpacks I was able to slipstream all the updates and driver packs onto our source files. However there is one thing Id like to be able to do that Im not sure how to approach. There is one file that all of our systems must have on the desktop, is there anyway to put the file on the Windows XP setup disk and have it copied to the administrator's desktop during the windows install? It seems like this could be done with a batch file, but ive never written one before so your suggestions would be very appreciated. Thanks in advance.


Posted

Sorry but nLite is NOT for corp or buisness use.

Thats not what I said or asked, and Im not even trying to use nlite for this necessarily. I don't get paid to do what I do nor does anyone else there. Im a student intern, we take in donated machines fix them up an donate them to people who need them. We just happen to get our keys through microsoft's MAR program at a discounted cost. I want to make a batch file (or use some other method) to take a file ive copied onto the XP disc and download it to the administrator's desktop (as in the first user created on the machine, not our administrator's actual desktop).

Posted

I'm not sure, but I think that is probably OK under the licensing terms as long as the user getting the machine is given a copy of the CD you used in case they needed to use it again. I personally would not be doing it (because you're already voiding the EULA) and would be using MDT for this enterprise, but I don't see anything against the nLite license for this if the user is informed and is given the copy of the disc used to build his or her machine (because if the user calls MS for assistance with that install, they're going to be told to reinstall with a clean XP disc and repro the problem before MS will help them, for starters).

Posted

also to answer any further concerns, yes we include a copy of the disc used with each machine, the licenses are 100% legit and im using our retail XP with sp3 disc as a base. Also we put a sticker on each machine letting the user know to contact us personally for support. We support all the machines we donate in house.

Posted (edited)

so if I made the following folder structure in the XP install source, $OEM$ > $Docs > Administrator > Desktop and put the file in the "Desktop" folder it would be copied to the Administrator's desktop during install?

Edited by kingweaver88
Posted

hmm, i got one more question. How exactly does the runonce feature of nlite work? Is there anyway I could write a runonce command to automatically open the aforementioned file on the first login?

Posted (edited)

Yes you could

Just add the path to the runonce section:

Kinda like this "%allusersprofile%\Desktop\Blah.txt" (Untested by me but should work fine)

ok, i actually decided to just have the file put in the C: directory so I put it in the $OEM$ > $1 folder. Then I used %systemdrive%\file.exe in the runonce command box in nlite and added it. I tested the disk in virtual box and the unattended setup worked, and the file was put in the C: directory, but the runonce command did not run, I'm thinking its a syntax problem. Do I actually need the quotation marks around it? Is %systemdrive%\ the proper thing to use? Thanks again for your help

Edited by kingweaver88

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...