Ok,
I figured out a work-around for this problem. I modified todo.pl so that
instead of writing to the registry to start itself on a reboot, it copies a
batch file to C:\Documents and Settings\All Users\Start
Menu\Programs\Startup. The batch file simply calls c:\netinst\mapZnrun.bat
z:\bin\todo.pl --go. Putting this batch file there seems to be more
reliable than using the registry to autorun things. Any chance this could
get incorporated into Unattended?
Mike
===============================================================================
I"m using Unattended v4.6 to install Windows 2000 Server SP4 and some other things. Here"s the problem. Windows installs without a problem. Perl installs fine. Base.bat kicks in and starts running Win2ksp4-updates. The first update which requires a reboot comes (I believe it is IE6). Windows reboots, but when it boots up, todo.pl doesn"t keep installing things. I checked the c-drive and there are still lots of items in the todo.txt. I checked the registry and Windows is set to run "mapznrun.bat todo.pl --go" but for some reason it doesn"t run it. The computer auto logged in correctly. If I reboot the computer or log off and back on, it takes off again without any further problems (even rebooting correctly). I thought maybe it had something to do with an update that it was trying to install, so I commented out the Win2kSP4-updates in the base.bat. The same thing happened - after the first reboot, windows doesn"t run the command to kick things off again. I"ve tried it on a different computer and the same thing happens. Has anyone had this happen? I don"t want to have to tell the users that they have to manually reboot after Windows is installed in order to finish installing the software. Mike
