Urs Rau writes: > Dag Nummedal wrote: > > > Patrick J. LoPresti writes: > > > >> Urs Rau <[EMAIL PROTECTED]> writes: > >> > >> > > Thanks. I tried both ways using cmdlines.txt and/or GuiUnattended and > nothing happened. (meaning the regedit program did not run and the > registry didn't get updated), but I am still wondering if I am doing > something fundamentally wrong. > > As I am evidently not getting anything executed either by either doing > the cmdlines.txt way or the GuiUnattended way. > > here is the steps I took > > 1. I am creating the %z%\os\winxpsp1\i386\$OEM$ dir > > 2. creating %z%\os\winxpsp1\i386\$OEM$\$$ dir > > 3. creating %z%\os\winxpsp1\i386\$OEM$\$$\fixes > > 4. copying fixsamba.reg to %z%\os\winxpsp1\i386\$OEM$\$$\fixes > > 5. adding the following to %z%\site\unattend.txt > in the [GuiUnattended] section > DetachedProgram="%SystemRoot%\regedit.exe" > Arguments="/s %SystemRoot%\fixes\fixsamba.reg"
You could try removing the /S from the arguments, so you will se that regedit starts, and will get an error message if it can't find the file. > > 6. copying fixsamba.reg to %z%\os\winxpsp1\i386\$OEM$ > > 7. copying regedit.exe to %z%\os\winxpsp1\i386\$OEM$ > > 8. copying Cmdlines.txt to %z%\os\winxpsp1\i386\$OEM$ > > 9. have of course also double-checked that the %z%\site\unattend.txt > file does say OemPreinstall=yes in the [Unattended] section. > > Is it a "consequence" of the "UnattendMode=HideDefault" switch that the > cmdlines.txt does not get executed? I can't find any documentation that > would suggest that though. I use FullUnattended mode, without problems. You did check that you had a fixes subdir in your windows dir, with the registry file there? > ++++++++++++++ Cmdlines.txt +++++++++++++++++++++++++ > ".\regedit.exe /s fixsamba.reg" > +++++++++++++++++++++++++++++++++++++++++++++++++++++ Are you sure that regedit will have find it's file? Anyway, this will run after you've tried joining the domain, so it's no use. Try running it without /S here too. -- Dag Nummedal ([EMAIL PROTECTED]) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ unattended-info mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-info