namreeb Posted February 27, 2009 Share Posted February 27, 2009 I have three bat files set to be run in the nLite RunOnce section. All three are present in %SYSTEMROOT%\System32\nLite.cmd, but only the first one runs.Any idea why this might be?The three batch files, in order, are as follows:dotnet.bat:@ECHO OFFCD /D %SOURCE%OMEGACPUECHO .NET Framework 1.1..START /WAIT dotnet11.exe /Q:A /C:"INSTALL.EXE /Q"ECHO .NET Framework 1.1 Service Pack 1..START /WAIT dotnet11sp1.exe /QECHO .NET Framework 3.5..START /WAIT dotnet35.exe /PASSIVE /NORESTARTECHO DONE!MKDIR C:\DOTNET_RANflash.bat:@ECHO OFFCD /D %SOURCE%OMEGACPUECHO Adobe Flash Player..ECHO For Firefox..START /WAIT MSIEXEC /I "install_flash_player_10_plugin.msi" ALLUSERS=TRUE REBOOT=SUPPRESS /QBEcho For Internet Explorer..START /WAIT MSIEXEC /I "install_flash_player_10_active_x.msi" ALLUSERS=TRUE REBOOT=SUPPRESS /QBECHO DONE!MKDIR C:\FLASH_RANmisc.bat:@ECHO OFFCD /D %SOURCE%OMEGACPUECHO Windows Malicious Software Removal Tool..START /WAIT WINDOWS-KB890830-V2.7.exe /QECHO Done.DEL "%ALLUSERSPROFILE%\Desktop\Acrobat.com.lnk"DEL "%ALLUSERSPROFILE%\Desktop\Adobe Reader 9.lnk"MKDIR C:\MISC_RANthe nLite.cmd file is as follows:for /f "tokens=3" %%i IN ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v "SourcePath" ^| findstr "REG_SZ"') do set SOURCE=%%i%SOURCE%OMEGACPU\dotnet.bat%SOURCE%OMEGACPU\flash.bat%SOURCE%OMEGACPU\misc.batEXIT Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted February 27, 2009 Share Posted February 27, 2009 ECHO .NET Framework 1.1..START /WAIT dotnet11.exe /Q:A /C:"INSTALL.EXE /Q"ECHO .NET Framework 1.1 Service Pack 1..START /WAIT dotnet11sp1.exe /QECHO .NET Framework 3.5..START /WAIT dotnet35.exe /PASSIVE /NORESTARTThe .net installs are choking each other and killing your runonce process would be my best guess.I would swing over to ryanvm's forum and grab one of the couple switchless installers for .net.... (There is a couple of all-in-ones over there) Link to comment Share on other sites More sharing options...
g-force Posted February 27, 2009 Share Posted February 27, 2009 Sounds curious, but you maybe give it a try:Change the order of .NET-Installs, so that .NET 1.1 and SP is installed after .NET 3.5. Link to comment Share on other sites More sharing options...
namreeb Posted February 27, 2009 Author Share Posted February 27, 2009 The .net installs are choking each other and killing your runonce process would be my best guess.I would swing over to ryanvm's forum and grab one of the couple switchless installers for .net.... (There is a couple of all-in-ones over there)What do you mean by choking? They each wait for the previous install to complete before continuing...?I'll try the switchless installer listed here: http://www.ryanvm.net/forum/viewtopic.php?t=6431 anyways.I think I will also kludge my problem by combining all three bat files into one. I'm not trying to make a career out of making these CDs or anything! Link to comment Share on other sites More sharing options...
johnhc Posted February 28, 2009 Share Posted February 28, 2009 (edited) namreeb, I am curious about a couple of things. The name on the .NET 3.5 is dotnetfx35.exe on the MS DL Center. You have dotnet35.exe. Is this correct? Do you really need 1.1 when you have 3.5 installed? Have fun, John. Edited February 28, 2009 by johnhc Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted February 28, 2009 Share Posted February 28, 2009 What I mean by chocking each-other is the fact that there is really a VERY needed reboot between the 2.Plus .net any version is a messy install. (Just use any reg cleaner after .net is installed) Link to comment Share on other sites More sharing options...
johnhc Posted February 28, 2009 Share Posted February 28, 2009 namreeb, iamtheky reports in a number of posts (do a search) here that a 'net stop msiserver' needs to be place after installing .NET 1.1 to free up the installer. Good luck, John. Link to comment Share on other sites More sharing options...
namreeb Posted March 1, 2009 Author Share Posted March 1, 2009 Just an update.I tried one of the switchless comprehensive installers available on the ryanvm page. It caused an endless cycle of rebooting. At that point I went back to g-force's suggestion of reversing the order. That seemed to work well. I also condensed my three .bat files into one, so I'm not sure if I would still be having my original problem or not, but it's working now anyway.Thank you all. Link to comment Share on other sites More sharing options...
iamtheky Posted March 1, 2009 Share Posted March 1, 2009 Do you do 1.1 prior to 3.5? is there 10 minutes or a reboot between the installs?just trying to double check what I believed to be true about the issue.I got the idea for killing the installer service from stebners bloghttp://blogs.msdn.com/astebner/archive/200.../26/474254.aspx Link to comment Share on other sites More sharing options...
namreeb Posted March 2, 2009 Author Share Posted March 2, 2009 Yes I do 3.5 prior to 1.1, but there is no 10 minute pause or reboot between the two. I do reboot after both, however. Seems to work just fine. Link to comment Share on other sites More sharing options...
iamtheky Posted March 2, 2009 Share Posted March 2, 2009 indeed because 1.1's installer is the culprit. I have 1.1 apps that drive my install otherwise flipping the order would be keen. Thanks for the feedback. Link to comment Share on other sites More sharing options...
Angelico_Payne Posted March 4, 2009 Share Posted March 4, 2009 Sounds curious, but you maybe give it a try:Change the order of .NET-Installs, so that .NET 1.1 and SP is installed after .NET 3.5.I do .NET 1.1 before .NET 3.5 via GuiRunOnce and it is installed properly, not a single error in over 100 runs. However, you cannot install SP1 for .NET 1.1 and subsequent SP1 hotfix just after installation of .NET 1.1. A restart is needed before applying SP1. That is also the last problem left to me, so ryan sillent addon .NET installer is not such a bad idea to try. Or if it could be done to install .NET 1.1 and 3.5 on some T-stage before restart and then after restart when GuiRunOnce stage is run apply .NET 1.1 SP1 + SP1 hotfix & .NET 3.5 hotfix. But dont know how to achive the 1st part prior to restart.... perhaps via svcpack install method? (is it possible?)Do you really need 1.1 when you have 3.5 installed?For some programs it is requirement, e.g. MS transliteration utility, and probably some other software of older date.Here is my install script :@ECHO Installing .NET Framework 1.1-3.5... CD %DVDROM%\OSUPDATE\DOTNET COPY /Y netfx*.* "%SYSTEMROOT%\TEMP\" %SYSTEMDRIVE% CD "%SYSTEMROOT%\TEMP\" netfx.msi /quiet[b] netfxsp.exe /quiet netfxfx.exe /quiet[/b] %DVDROM% CD %DVDROM%\OSUPDATE\DOTNET dotNetFx35setup.exe /quiet /norestart[Where bold part is "installed", but actually it is not being installed properly due to reboot needed, also let the COPY part not confuse you, since it is extracted from main package due to size, for some reason if it is not installed from %systemdrive% it gives error that path to install source cannot be found]Also does anyone know how to pick apart dotNetFX20,dotNetFX30,dotNetFX35,dotNetMSP directories and dotNetFx35setup.exe from residual files not needed for x86 XPSP3 PRO English local based system,so everything is installed correctly (2.0-3.5), so I can reduce size of the .NET 3.5 installation package in all? Link to comment Share on other sites More sharing options...
iamtheky Posted March 4, 2009 Share Posted March 4, 2009 i do 1.1 from cmdlines.cmd @ T -13with its corresponding hotfixes and 'net stop msiserver' between every command because it cant hurt.then install 3.5 from runonce.cmd. I dont think you are going to reduce 3.5 much since its pretty much 2.0 SP3 and the family update might as well be SP4, thats a beast as well. Link to comment Share on other sites More sharing options...
Angelico_Payne Posted March 16, 2009 Share Posted March 16, 2009 Will try installing all in one .NET pack from ryan forums @ T-13 and see if it works. 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