cmdlines.txt not executing

D

Doug Glenn

I have tried to research the use of cmdlines.txt during an
unattended network install / upgrade. I am placing the
file in the /i386/$OEM$ as outlined in the resource
documentation. However nothing is executing. I even
added a short WISE script to create a log in its currently
executing dir, %TEMP% and c:\ so I can verify that it is
being executed (cmdlines.txt).

After the final boot and subsequent login, I can see the
files are being copied to the local hdd properly so they
are there. I can run the commands manually after the
install and they work.

Here is my cmdlines.txt:

[Commands]
".\test.exe"
".\regedit /s .\test.reg"
".\client.cmd"

The files referenced above are in the \i386\$OEM$ dir.

The first is my script to merely create a single line
log. The second is just a single registry entry as a test
of inserting the registry keys and the third doesn't
matter because the 1st two are not executing anyway :(

Last of all, this is with the MS XP SP2 full release from
our most recent shipment from MS. I wanted to check here
before opening a ticket.
 
J

Johan Arwidmark

Try using the commands without the .\ path

I assume you have oempreinstall=yes in the unattended script since
you're saying the files are copied to the local drive during the
install.

regards
Johan Arwidmark

Windows User Group - Nordic
http://www.wug-nordic.net
 
D

Doug Glenn

I've done that as well. I also verified the files are
copied locally and one of them is in the %systemroot%
directory on completion so it should have caught it when I
did not explicitly define the path as in this example.

I wonder if it is a problem with the Slipstreamed SP2
Installation although it would be a stretch to think
something may have broken this basic functionality.
-----Original Message-----
Try using the commands without the .\ path

I assume you have oempreinstall=yes in the unattended script since
you're saying the files are copied to the local drive during the
install.
[Commands]
".\test.exe"
".\regedit /s .\test.reg"
".\client.cmd"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top