vaneeshs Posted May 25, 2004 Share Posted May 25, 2004 hi,ive follwed the guide on the unattended installs everything works fine but for the runonceex.cmd. I've tried running it to test bt nothing is added in the registry and the messages i get is that cmdow is not a recognisible command this also happens with the REG command.All the files are in the right place. I have a unattend.txt file do i place the [runonceex] command in there or in the cmdlines.txt file? Cheers for any help on this, it is beginning to drive me round the bend!Here's my runonceec.cmd file cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /fREG ADD %KEY%\005 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AR6\AR6.exe -p"-s /v\"/qn\"""REG ADD %KEY%\010 /VE /D "CRT 3.3" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\CRT33\setup.exe /qn" /fREG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\install\CRT33\register.reg" /fREG ADD %KEY%\015 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXIT Link to comment Share on other sites More sharing options...
maxXPsoft Posted May 25, 2004 Share Posted May 25, 2004 If you want to just test it remove the cmdow @ /HID lineOtherwise that tells you that the cmdow.exe is not present in Windows\system32 folder. Go back to the guide and download that and place in system32, it also has to be copied on setup. Do that by placing in the XPCD\$OEM$\$$\System32\ folder Link to comment Share on other sites More sharing options...
maxXPsoft Posted May 25, 2004 Share Posted May 25, 2004 http://unattended.msfn.org/xp/downloads.htmcmdow download there Link to comment Share on other sites More sharing options...
vaneeshs Posted May 25, 2004 Author Share Posted May 25, 2004 cheers for the reply, i did try that but still there are no entries in the registry. im am installing winxp, does that make a difference? Link to comment Share on other sites More sharing options...
Alanoll Posted May 25, 2004 Share Posted May 25, 2004 is yoru test Machine not XP? Maybe you have Home Edition? Link to comment Share on other sites More sharing options...
sleepnmojo Posted May 25, 2004 Share Posted May 25, 2004 turn echo on, and post what it says. You may not have REG, which would stop the cmd from adding to the registry. Link to comment Share on other sites More sharing options...
vaneeshs Posted May 26, 2004 Author Share Posted May 26, 2004 no i am installing Microsoft XP Prof edition. One thing different i have is to put the $Oem$ folder under the i386 and not alongside it. This was because my drivers were not picked up when i put it alongside.How would i add REG? Link to comment Share on other sites More sharing options...
MCT Posted May 26, 2004 Share Posted May 26, 2004 no i am installing Microsoft XP Prof edition. One thing different i have is to put the $Oem$ folder under the i386 and not alongside it. This was because my drivers were not picked up when i put it alongside.im not an expert on this (ive only just started myself)but, adding the $oem$ folder in the i386 dir. wouldnt copy 2 the correct destination would itbut 2 add a reg file is REGEDIT /S <path>\filename.reg Link to comment Share on other sites More sharing options...
tarquel Posted May 26, 2004 Share Posted May 26, 2004 On a customised XP CD, $OEM$ goes at the root of the CD.......it would only go inside if you were doing a network install of XP.no i am installing Microsoft XP Prof edition. One thing different i have is to put the $Oem$ folder under the i386 and not alongside it. This was because my drivers were not picked up when i put it alongside.The drivers may have not been picked up for many reasons - one would be that you can't simply put the driver file(s) there and expect it to automatically install them, you need to add entries in the winnt.sif file I don't think they would be picked up at all by any other means but I could well be wrong regarding that but the $OEM$ folder shouldn't reside in the i386 folder definately (unless its a network install)Regards,N. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now