Mondoedox Posted June 22, 2007 Posted June 22, 2007 Hi everybody!I was trying to make an unattended CD of Windows XP with Alanoll's guide (http://unattended.msfn.org/unattended.xp/), but when I tried to run the system from a virtual machine, I found out that RunOnceEx did not execute, although the registry keys of RunOnceEx had successfully been copied to the registry. I'm sure the problem is not linked to cmdlines.txt, because every command executes regularly.One thing I noticed is that the only registry key missing is the TITLE value for HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx... It seems it doesn't get copied into the registry...Why does this happen to me?Here's a copy of my RunOnceEx.cmd, in case you need... I've ran through it thousands of times! (Text inside the quotation marks is in Italian )RunOnceEx.cmdThank you everybody, the site and the guides are fantastic!
silacomalley Posted July 16, 2007 Posted July 16, 2007 I have the same problem. The title is missing and the reg entries just sit there and do nothing.I have added start /wait and still nothing. I have even copied the reg entries over to the HKCU and still nothing! This was working for me at one point, then it stopped working. I have even created a new .SIF file and even checked the effective hive permissions.Anyone got any ideas?
XPSlacker Posted July 19, 2007 Posted July 19, 2007 This also happened to me recently. I hadn't done an install for a while, but it was time again. This time I thought I would try RyanVM's update pack and nLite. So when I started troubleshooting, I started with the stock CD and added my OEM and unattended stuff and Runonceex worked. I used that as a base and created 2 new ISOs from it. One had only RyanVM's extra touch on it, the other had nLite's extra touch. The RyanVM version worked fine but the nLite version didn't. Not sure if it was something I did, but I didn't have any more time to troubleshoot it any further. So I only used the latest RyanVM's update pack and my unattended stuff as researched on this great site. Not sure if this will help in your case, maybe do some troubleshooting like I did if you have the time. Good Luck.XPSlacker
eirogge Posted July 19, 2007 Posted July 19, 2007 (edited) Have you slipstreamed IE7 and maybe some IE7 Hotfixes directly into the source?Since I did so, RunOnceEx did not work as it should any longer. I then wrote a small XML-driven installer that mimics the RunOnceEx-Style and use it without problems now. Edited July 19, 2007 by eirogge
wazer Posted August 12, 2007 Posted August 12, 2007 So wheres the share ? , mine runonce dosnt work either anymore, and i think that nobody in here has a "good" working solution, or mayb i have missed something?.
gunsmokingman Posted August 12, 2007 Posted August 12, 2007 If you have added IE7 to your install then that breaks the runonce function with this file iernonce.dllI just used the iernonce.dll that comes with IE6 to fix this problem.Here is a link to another thread where I posted a fix for this problem.Thread
wazer Posted August 12, 2007 Posted August 12, 2007 If you have added IE7 to your install then that breaks the runonce function with this file iernonce.dllI just used the iernonce.dll that comes with IE6 to fix this problem.Here is a link to another thread where I posted a fix for this problem.ThreadWhere can we add this? for it to fully work when you come into xp the first time.
Red Barchetta Posted August 14, 2007 Posted August 14, 2007 What I did was - don't slipstream IE7! - instead install it on the first login to the OS, but the hotfixes don't take until you restart the system after installing IE7, and RunOnceEx is broken at that point. RunOnce however seems to be fine, so at the end of the first set of RunOnceEx installs, I create an entry in the RunOnce processes to run a batch command file to install the IE7 hotfixes, and creates more RunOnceEx processes before it restarts the system.Works fine for me. But if somehow your RunOnce is broken to - why not place the script to install the IE7 fixes in %AllUsersProfile%\Start Menu\Programs\Startup - Just make sure it deletes itself after it has run!I Actually have two .cmd files involved, and use a tag file because otherwise the RunOnce starts before the system restarts, and they get compiled to .exe files for use on my install disk - but, my codes for both batch command files:RunOnce.cmd-----------------reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /v IE7 /D "%SystemDrive%\OS_UPDATES\IE7\install2.exe" /finstall2.cmd--------------@echo offcmdow @ /hidset tagfile=%SystemDrive%\IE7.P2if exist %tagfile% goto RunInstallREM tag file not foundREM Write the tag fileecho Go finsh Internet Explorer 7 install >> %tagfile%REM And put file back in the RunOnce processes%SystemDrive%\OS_UPDATES\IE7\RunOnce.exeREM Exit running this script.goto Done:RunInstallcmdow @ /ren "Finish Internet Explorer 7 install"cmdow @ /visREM Make IE7 install folder the default%SystemDrive%cd %SystemDrive%\OS_UPDATES\IE7REM Install IE7 HotFixesecho Installing HotFixes for Internet Explorer 7start /wait %SystemDrive%\OS_UPDATES\IE7\HotFix\IE7-WindowsXP-KB933566-x86-ENU.exe /passive /norestart /nobackupstart /wait %SystemDrive%\OS_UPDATES\IE7\HotFix\IE7-KB929969-WindowsXP-x86-enu.exe /passive /norestart /nobackupREM Move default out of the IE7 install folder.echo Setup next group of OS updates and applications to installstart /wait %SystemDrive%\OS_UPDATES\RunNextInstallSet.exe 3REM Restart the systemecho Restart systemstart %SystemDrive%\OS_UPDATES\restart.cmdREM Rmove IE7 filesecho Delete Internet Explorer 7 install filescd %SystemDrive%\RD /Q /S %SystemDrive%\OS_UPDATES\IE7REM Delete tag fileerase %tagfile%:DoneexitHope that helps......
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now