harryhoudini66 Posted December 11, 2005 Share Posted December 11, 2005 (edited) Hello everyone,I just need to fix one thing before I call this project complete. I have spent about 5 days working on making an unattended CD. Need a bit of a rest. I want to thank everyone for your help and for having this awesome site. I learned quite a bit.Anyways, the issue a PC will reboot after installing .NET 1.1 through RunOnceEx. I used the version with the fix incorporated from RyanVM.cmdow @ /HID@Echo OffSET PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%\000 /VE /D "Ad-Aware SE Pro" /fREG ADD %KEY%\000 /V 1 /D "%PP%aa.exe /S" /fREG ADD %KEY%\000 /V 2 /D "taskkill /IM Adaware.exe /F" /fREG ADD %KEY%\000 /V 3 /D "taskkill /IM hh.exe /F" /fREG ADD %KEY%\000 /V 4 /D "taskkill /IM Ad-Aware.exe /F" /fREG ADD %KEY%\001 /VE /D "Adobe Reader" /fREG ADD %KEY%\001 /V 1 /D "%PP%ar.exe /qn" /fREG ADD %KEY%\002 /VE /D "DVDShrink" /fREG ADD %KEY%\002 /V 1 /D "%PP%DS.exe /VERYSILENT" /fREG ADD %KEY%\004 /VE /D "Google Toolbar" /fREG ADD %KEY%\004 /V 1 /D "%PP%gt.exe /s /qn" /fREG ADD %KEY%\005 /VE /D "Microsoft Office XP" /fREG ADD %KEY%\005 /V 1 /D "%PP%SETUPPLS.EXE TRANSFORMS=office11.MST /qb-" /fREG ADD %KEY%\006 /VE /D "Mozilla FireFox" /fREG ADD %KEY%\006 /V 1 /D "%PP%ff.exe" /fREG ADD %KEY%\007 /VE /D "MSN Messenger" /fREG ADD %KEY%\007 /V 1 /D "%PP%mm.msi /qn" /fREG ADD %KEY%\008 /VE /D ".NET Framework v1.1" /fREG ADD %KEY%\008 /V 1 /D "%PP%dn1.exe" /fREG ADD %KEY%\009 /VE /D ".NET Framework v2" /fREG ADD %KEY%\009 /V 1 /D "%PP%dn2.exe" /fREG ADD %KEY%\010 /VE /D "Nero Ultra" /fREG ADD %KEY%\010 /V 1 /D "%PP%nu.exe /SILENT /NOREBOOT /SN=xxxx-3072-8045-xxxx-9605-6424 /WRITE_SN" /fREG ADD %KEY%\011 /VE /D "NOD32" /fREG ADD %KEY%\011 /V 1 /D "%PP%no.exe" /fREG ADD %KEY%\011 /V 2 /D "%PP%fix.exe /VERYSILENT /NORESTART" /fREG ADD %KEY%\012 /VE /D "QuickTime Alternative" /fREG ADD %KEY%\012 /V 1 /D "%PP%qa.exe /VERYSILENT /SP-" /fREG ADD %KEY%\013 /VE /D "Real Alternative" /fREG ADD %KEY%\013 /V 1 /D "%PP%ra.exe /VERYSILENT /SP-" /fREG ADD %KEY%\014 /VE /D "Windows Media Player 10" /fREG ADD %KEY%\014 /V 1 /D "%PP%wm10.exe /Q:A /R:N" /fREG ADD %KEY%\015 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXIT Edited December 11, 2005 by harryhoudini66 Link to comment Share on other sites More sharing options...
maxXPsoft Posted December 11, 2005 Share Posted December 11, 2005 (edited) Anyways, the issue a PC will reboot after installing .NET 1.1 through RunOnceEx. I used the version with the fix incorporated from RyanVM.REG ADD %KEY%\008 /VE /D ".NET Framework v1.1" /fREG ADD %KEY%\008 /V 1 /D "%PP%dn1.exe" /fis that dn1.exe a SFX?I use the same from Ryanvm and it don't reboot but I have thisREG ADD %KEY%\iAdd /VE /D ".NET Framework v1.1 SP1" /fREG ADD %KEY%\iAdd /V Inum /D "%SystemDrive%\Install\_NET_1.1_SP1\netfxsp1.exe" /f Edited December 11, 2005 by maxXPsoft Link to comment Share on other sites More sharing options...
harryhoudini66 Posted December 12, 2005 Author Share Posted December 12, 2005 Okay, I see now what happened. I get an error refrencing 7 Zip when the silent installer of .NET SP1 is being processed. Any ideas? Link to comment Share on other sites More sharing options...
maxXPsoft Posted December 12, 2005 Share Posted December 12, 2005 (edited) No cause I don't even see 7-Zip in your listPerhaps a Cmd /C Start /Wait is needed on something there to make it wait till it's done before the next item. You'll learn that some things bypass and it starts something else even while the last is running. Thats where you need the wait.I typically do about 50 - 60 apps and I've learned that some require the /wait. Its trial and error on your part Edited December 12, 2005 by maxXPsoft Link to comment Share on other sites More sharing options...
harryhoudini66 Posted December 12, 2005 Author Share Posted December 12, 2005 Okay, it is the .NET2 which does the restart. Link to comment Share on other sites More sharing options...
maxXPsoft Posted December 12, 2005 Share Posted December 12, 2005 (edited) Ok same thing http://ryanvm.msfn.org/REM http://ryanvm.msfn.org/REG ADD %KEY%\iAdd /VE /D ".NET Framework v2.0" /fREG ADD %KEY%\iAdd /V Inum /D "CMD /C Start /Wait %SystemDrive%\Install\_Net2.0\dotnet2.exe" /fI do the /wait there Edited December 12, 2005 by maxXPsoft Link to comment Share on other sites More sharing options...
harryhoudini66 Posted December 12, 2005 Author Share Posted December 12, 2005 Okay, it is the .NET2 which does the restart.What is the switch to prevent it from rebooting? After the reboot the rest of the apps install fine. It is just annoying.I got the .NET2 installer from the Switchless Silent Installers thread. Link to comment Share on other sites More sharing options...
harryhoudini66 Posted December 12, 2005 Author Share Posted December 12, 2005 (edited) So I use the wait command on the RunOnceEx? I thought that was for batches only.Here is what I have so far. Let me know of any suggestions you have. I dont recall the reboot issue before. I think it started when I added the .NET V1.1 install. I only added it because I read you needed to. I also found it annoying I was prompted for it on Windows Update.REG ADD %KEY%\003 /VE /D "HMTCD Wizard" /fREG ADD %KEY%\003 /V 1 /D "%PP%HMTCDWizard.exe /qn" /fREG ADD %KEY%\004 /VE /D "Microsoft Office XP" /fREG ADD %KEY%\004 /V 1 /D "%PP%SETUPPLS.EXE TRANSFORMS=office11.MST /qb-" /fREG ADD %KEY%\005 /VE /D "Mozilla FireFox" /fREG ADD %KEY%\005 /V 1 /D "%PP%ff.exe" /fREG ADD %KEY%\006 /VE /D "MSN Messenger" /fREG ADD %KEY%\006 /V 1 /D "%PP%mm.msi /qn" /fREG ADD %KEY%\007 /VE /D ".NET Framework v1.1" /fREG ADD %KEY%\007 /V 1 /D "%PP%dotNET11SP1.exe" /fREG ADD %KEY%\008 /VE /D ".NET Framework v2" /fREG ADD %KEY%\008 /V 1 /D "%PP%dotNET20.exe" /f Edited December 12, 2005 by harryhoudini66 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