Jump to content

Almost Done Need A Last Fix


Recommended Posts

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 Off

SET PP=%SystemDrive%\Install\

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Programs" /f

REG ADD %KEY%\000 /VE /D "Ad-Aware SE Pro" /f

REG ADD %KEY%\000 /V 1 /D "%PP%aa.exe /S" /f

REG ADD %KEY%\000 /V 2 /D "taskkill /IM Adaware.exe /F" /f

REG ADD %KEY%\000 /V 3 /D "taskkill /IM hh.exe /F" /f

REG ADD %KEY%\000 /V 4 /D "taskkill /IM Ad-Aware.exe /F" /f

REG ADD %KEY%\001 /VE /D "Adobe Reader" /f

REG ADD %KEY%\001 /V 1 /D "%PP%ar.exe /qn" /f

REG ADD %KEY%\002 /VE /D "DVDShrink" /f

REG ADD %KEY%\002 /V 1 /D "%PP%DS.exe /VERYSILENT" /f

REG ADD %KEY%\004 /VE /D "Google Toolbar" /f

REG ADD %KEY%\004 /V 1 /D "%PP%gt.exe /s /qn" /f

REG ADD %KEY%\005 /VE /D "Microsoft Office XP" /f

REG ADD %KEY%\005 /V 1 /D "%PP%SETUPPLS.EXE TRANSFORMS=office11.MST /qb-" /f

REG ADD %KEY%\006 /VE /D "Mozilla FireFox" /f

REG ADD %KEY%\006 /V 1 /D "%PP%ff.exe" /f

REG ADD %KEY%\007 /VE /D "MSN Messenger" /f

REG ADD %KEY%\007 /V 1 /D "%PP%mm.msi /qn" /f

REG ADD %KEY%\008 /VE /D ".NET Framework v1.1" /f

REG ADD %KEY%\008 /V 1 /D "%PP%dn1.exe" /f

REG ADD %KEY%\009 /VE /D ".NET Framework v2" /f

REG ADD %KEY%\009 /V 1 /D "%PP%dn2.exe" /f

REG ADD %KEY%\010 /VE /D "Nero Ultra" /f

REG ADD %KEY%\010 /V 1 /D "%PP%nu.exe /SILENT /NOREBOOT /SN=xxxx-3072-8045-xxxx-9605-6424 /WRITE_SN" /f

REG ADD %KEY%\011 /VE /D "NOD32" /f

REG ADD %KEY%\011 /V 1 /D "%PP%no.exe" /f

REG ADD %KEY%\011 /V 2 /D "%PP%fix.exe /VERYSILENT /NORESTART" /f

REG ADD %KEY%\012 /VE /D "QuickTime Alternative" /f

REG ADD %KEY%\012 /V 1 /D "%PP%qa.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\013 /VE /D "Real Alternative" /f

REG ADD %KEY%\013 /V 1 /D "%PP%ra.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\014 /VE /D "Windows Media Player 10" /f

REG ADD %KEY%\014 /V 1 /D "%PP%wm10.exe /Q:A /R:N" /f

REG ADD %KEY%\015 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

Edited by harryhoudini66
Link to comment
Share on other sites


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" /f

REG ADD %KEY%\008 /V 1 /D "%PP%dn1.exe" /f

is that dn1.exe a SFX?

I use the same from Ryanvm and it don't reboot but I have this

REG ADD %KEY%\iAdd /VE /D ".NET Framework v1.1 SP1" /f

REG ADD %KEY%\iAdd /V Inum /D "%SystemDrive%\Install\_NET_1.1_SP1\netfxsp1.exe" /f

Edited by maxXPsoft
Link to comment
Share on other sites

No cause I don't even see 7-Zip in your list

Perhaps 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 by maxXPsoft
Link to comment
Share on other sites

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" /f

REG ADD %KEY%\003 /V 1 /D "%PP%HMTCDWizard.exe /qn" /f

REG ADD %KEY%\004 /VE /D "Microsoft Office XP" /f

REG ADD %KEY%\004 /V 1 /D "%PP%SETUPPLS.EXE TRANSFORMS=office11.MST /qb-" /f

REG ADD %KEY%\005 /VE /D "Mozilla FireFox" /f

REG ADD %KEY%\005 /V 1 /D "%PP%ff.exe" /f

REG ADD %KEY%\006 /VE /D "MSN Messenger" /f

REG ADD %KEY%\006 /V 1 /D "%PP%mm.msi /qn" /f

REG ADD %KEY%\007 /VE /D ".NET Framework v1.1" /f

REG ADD %KEY%\007 /V 1 /D "%PP%dotNET11SP1.exe" /f

REG ADD %KEY%\008 /VE /D ".NET Framework v2" /f

REG ADD %KEY%\008 /V 1 /D "%PP%dotNET20.exe" /f

Edited by harryhoudini66
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...