greyhawk3 Posted June 19, 2013 Posted June 19, 2013 Folks: I've been stuck for weeks on the horns of the following dilemma: The x64 installation goes thru nearly the entire process, thru half of my GUIRunOnce script (which has existed for years), then stops at this point, never to be heard from again. I watch the script until Adobe Reader completes, supposed to be followed by Adobe AIR, but it never starts, in fact nothing else in the script launches.Let's say we break out of this hang-up, by restarting the PC. My GUIRunOnce script is over and the WinToolkit installer tries to complete but hangs also. Finally, another reboot and we arrive at the Windows desktop. If I restart the GUIRunOnce script, it runs to completion w/o incident.I've tried several things:Upgraded WinToolkit from .22 thru .27 Tried a Win7 x64 SP1 ISO I personally d/l'd from Digital River Tried a Win7 SP1 AIO that's been in my possession for at least three years Reduced INSTALL.WIM to just x64 Ultimate I tried filtering my slipstreamed updates using mooms Win7 Essential Updates listBut, no joy ! I probably wouldn't be posting if I had my own x64 testbed, but I poor little Core 2 Duo can't run a VMWare (or any other kind of) x64 guest. Maybe someone will take mercy on me and look at my setting file. In the meantime, I'm going to build another ISO, only this time w/o updates. Was considering launching the updates from my GUIRunOnce script. Will lengthen the install time, but at least it'll work. TIA.... My busted x64 settings file: *AIO#AddonsC:\Projects\WinToolkit.Extras\Reapers.HashCheck.2.1.11.1.Windows7.or.8.Addon.WAC:\Projects\WinToolkit.Extras\Reapers.ImgBurn.2.5.7.0.x64.Windows7.or.8.AddOn.WA#Silent InstallsIE9-Win7-x64::N/A (Not Needed);NO;34.39 MB;C:\Projects\WinToolkit.Extras\IE9-Win7-x64.msu;Always InstalledKB2506143::N/A (Not Needed);NO;15.79 MB;C:\Projects\wsusoffline\client\w61-x64\glb\Windows6.1-KB2506143-x64.msu;Always InstalledReapers.Dot.Net.Framework.4.5.AIO.x64::/y;NO;141.30 MB;C:\Projects\WinToolkit.Extras\Reapers.Dot.Net.Framework.4.5.AIO.x64.exe;Always Installed#Theme PacksC:\Projects\ThemePacks\Atmosphere.themepackC:\Projects\WinToolkit.Extras\GTGraphics.themepackC:\Projects\ThemePacks\Natural.themepackC:\Projects\New.Atmosphere.themepackC:\Projects\WinToolkit.Extras\Wolves.themepack#TweaksAdd 'Copy To Folder' to context-menuAdd 'Move To Folder' to context-menuAdd 'Open CMD here' to Folder Context-menuAdd 'Open Elevated CMD here' to Folder context-menuAdd 'Take Ownership' to context-menuAdd 'Register' and 'Unregister' to *.dll, *.ocx and *.ax Context MenuShow 'Computer' on DesktopShow User Folder on DesktopAlways Show Menu BarsAutomatically Expand to Current FolderControl Panel View::Large IconsRemove Shortcut SuffixShow Explorer StatusbarShow File ExtensionsShow Hidden Files & FoldersSpeed Up DesktopSpeed-up Access to AVI Media FilesEnable DVD in Media PlayerEnable SSL and TLSOpen NFO files with notepadShow Notepad StatusbarAlways Show Menu BarAlways Switch To New Tabs When They Are CreatedEnable 'Caret' BrowsingFaster Browsing in IEIE Homepage::http://news.google.com/Set Google as Search ProviderShow IE Statusbar::Show Status BarTurn On Clear TypeUnlimited Simultaneous DownloadsWhen a New tab Opens::'New Tab' PageWhen a pop-up is encountered::Let IE DecideRun::ShowEnable context menus and dragging and dropping::EnableOpen submenus when mouse hovers over item::EnableSearch other files and librariesEnable Boot DefragEnable MSI Service in Safe Mode#UpdatesC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB982018-v3-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2479943-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2506014-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2506928-v2-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2511455-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2541014-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2560656-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2563227-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2564958-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2570947-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2579686-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2604115-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2620704-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2621440-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2631813-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2640148-v2-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2645640-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2653956-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2654428-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2659262-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2660075-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2660649-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-kb2685811-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-kb2685813-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2690533-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2699779-v2-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2705219-v2-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2718704-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2719857-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2727528-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-kb2729452-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2732500-v2-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2736422-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2743555-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2757638-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2770660-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2790113-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2799926-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2820331-x64.msuC:\Projects\Updates\x64\McRip Windows 7 x64\Windows6.1-KB2830290-x64.msu#OptionsCompatibility CheckCreate BackupsEnable BeepEnable CMDPrepare DriversPrompt AddonsPrompt DriversPrompt SilentPrompt ThemesPrompt UpdatesRebuild ImageShow Browse DialogShow Duplicates Quote
greyhawk3 Posted July 28, 2013 Author Posted July 28, 2013 At long last, I figured out a solution ! Damn thing still dies in the right in the middle of my x64 RUNONCE script. However, last night I finally made a completely operational x64 disc ! I added an AUTOUNATTEND.XML to my x64 media and from a FirstLogon definition, my script added HKLM RunOnce registry entries for each of the items to be installed. It almost worked on the 1st try ! And to my surprise, my sister had several months ago given me her Compaq desktop for safe keeping and it just happened to have a x64 processor, so I was able to test this right away ! For those who might find it helpful, my FIRSTLOGON.CMD script:@ECHO OFFSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceREG ADD %KEY% /VE /D "Windows 7 x64 1st Logon Init" /fREG ADD %KEY% /V 101 /D "%WINDIR%\REGEDIT /S %SYSTEMDRIVE%\INSTALL\IE8.HKLM.REG" /fREG ADD %KEY% /V 102 /D "CMD /C START /WAIT %SYSTEMDRIVE%\INSTALL\FLASH-IE.MSI /qb" /fREG ADD %KEY% /V 103 /D "CMD /C START /WAIT %SYSTEMDRIVE%\INSTALL\FIREFOX.EXE -ms" /fREG ADD %KEY% /V 104 /D "CMD /C START /WAIT %SYSTEMDRIVE%\INSTALL\FLASH-M.MSI /qb" /fREG ADD %KEY% /V 105 /D "CMD /C START /WAIT MSIEXEC.EXE /qb /package %SYSTEMDRIVE%\INSTALL\GOOGLECHROME.MSI" /fREG ADD %KEY% /V 106 /D "CMD /C START /WAIT %SYSTEMDRIVE%\INSTALL\SHOCKWAVE.MSI /qb" /fREG ADD %KEY% /V 107 /D "CMD /C START /WAIT %SYSTEMDRIVE%\INSTALL\ADOBE.EXE /msi EULA_ACCEPT=YES /qb /norestart" /fREG ADD %KEY% /V 108 /D "CMD /C START /WAIT %SYSTEMDRIVE%\INSTALL\ADOBEAIR.EXE -silent -eulaAccepted" /fREG ADD %KEY% /V 109 /D "CMD /C START /WAIT %SYSTEMDRIVE%\INSTALL\SILVERLIGHT.CMD" /fREG ADD %KEY% /V 110 /D "CMD /C START /WAIT %SYSTEMDRIVE%\INSTALL\PDFCREATOR.EXE /VERYSILENT /NORESTART /LOADINF=%SYSTEMDRIVE%\INSTALL\PDFCREATOR.INF" /fREG ADD %KEY% /V 111 /D "CMD /C START /WAIT %SYSTEMDRIVE%\INSTALL\JRE.CMD" /fREG ADD %KEY% /V 112 /D "CMD /C START /WAIT %SYSTEMDRIVE%\INSTALL\KLCODECF.CMD" /fREG ADD %KEY% /V 113 /D "CMD /C START /WAIT %SYSTEMDRIVE%\INSTALL\7ZIP.CMD" /fREG ADD %KEY% /V 114 /D "CMD /C START /WAIT %SYSTEMDRIVE%\INSTALL\PKZ25 -EXTRACT -DIR=CURR -OVER=ALL %SYSTEMDRIVE%\INSTALL\WPAPER.ZIP "%PUBLIC%\PICTURES/" >NUL" /fREG ADD %KEY% /V 115 /D "CMD /C RD -Q -S %SYSTEMDRIVE%\INSTALL >%SYSTEMDRIVE%\INSTALL.COMPLETE.LOG" /fREG ADD %KEY% /V 117 /D "CMD /C %WINDIR%\SYSTEM32\SHUTDOWN -R -T 0" /fREG ADD HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment /V PROMPT /D "PROMPT"="$D $T - $P$_$G "%WINDIR%\SYSTEM32\SHUTDOWN -R -T 0For reasons that are unclear, entry 117 is necessary bec entry 115 fails according to Windows %SYSTEMDRIVE%\INSTALL is still in use <???> and CMD stops dead in its tracks. It doesn't crash, just drops to a prompt. So I have to clean that folder up manually, but what do I care ? Even if you're not trying to fix a busted script as I was, this is a perfectly valid means of injecting a series of std programs into a Windows installation. Hope this helps someone else... Quote
compstuff Posted July 28, 2013 Posted July 28, 2013 You actually did help me with some issues I am working on regarding runonce settings ... thanks very much greyhawk3 1 Quote
crashfly Posted July 29, 2013 Posted July 29, 2013 REG ADD %KEY% /V 115 /D "CMD /C RD -Q -S %SYSTEMDRIVE%\INSTALL >%SYSTEMDRIVE%\INSTALL.COMPLETE.LOG" /fFor reasons that are unclear, entry 117 is necessary bec entry 115 fails according to Windows %SYSTEMDRIVE%\INSTALL is still in use <???> and CMD stops dead in its tracks. It doesn't crash, just drops to a prompt. So I have to clean that folder up manually, but what do I care ? Even if you're not trying to fix a busted script as I was, this is a perfectly valid means of injecting a series of std programs into a Windows installation. Hope this helps someone else...It seems to me that the 115 entry fails at it appears you are trying to remove a directory in which all of the files may not be removable due to the previous installs. You might instead use that entry (115) to add another entry (to remove that directory) to be executed at the next reboot. I think that would resolve the issue of the 115 entry failing on you. Quote
23190_1451744135 Posted July 29, 2013 Posted July 29, 2013 Entry 115 would work with this: REG ADD %KEY% /V 115 /D "CMD /C del /f /q %SYSTEMDRIVE%\INSTALL.COMPLETE.LOG && RD -Q -S %SYSTEMDRIVE%\INSTALL" /f? I'm confused with this part (wich could be fixed):REG ADD %KEY% /V 115 /D "CMD /C RD -Q -S %SYSTEMDRIVE%\INSTALL >%SYSTEMDRIVE%\INSTALL\INSTALL.COMPLETE.LOG" /fWhile it seems like there is not included INSTALL\ before INSTALLCOMPLETE.LOG (and i include it but striked). Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.